|
PmWiki /
Questions<< FAQ Candidate | Documentation Index | Troubleshooting >> This is a page where you can ask questions about PmWiki. You will need to count on someone coming along and answering your question, so please be patient. A quicker, more effective way to ask a question is to join the pmwiki-users mailing list and send your question to the list. Unfortunately answers to the list do not always get posted here, perhaps you can help keep PmWiki up to date by making sure your answer is added here or elsewhere in the documentation. Is this the right place to post my question? It might be. Posting to the mailing list would work better, but adding it here may get you an answer. Make sure your question doesn't appear on the PmWiki FAQ page first. You might also try searching pmwiki.org to find an answer. If you still can't find what you need to know and you don't want to use the pmwiki-users mailing list, then post your question on this page. Once your question has been answered, it may be moved to the FAQ Candidate page or even the PmWiki FAQ page, so if it disappears look for it on those two pages. 080527 -- 1. (:variable01:value:) If you place this within a table cell the value does not show in the table but at the place that are calling the variable. As expected. 2. (:variable01 :value:) with a space after the variable render the value as "(:variable01 :value:)" in the table cell and as "value" in the place calling the variable. I haven't found a way to render the above as "value" in the source table cell. Apr 8, 2008 I would like to disable the buttons at the top of my pmwiki page, but i don't know where to do. I hope someone could help me! Also i would like to disable the "text" on the top of my wiki, there's always posted the name of my wiki and the directory the user actually is. Thanks a lot! A: This is possible by changing the SkinTemplates. (Note that by merely editing out the buttons, the actions they command will still be available for users who know how to operate PmWiki by typing the request URL manually.) --Henning April 10, 2008, at 06:59 AM Apr 4, 2008 I'm trying to use pmwiki with access restricted by WebAuth at my university (Stanford). When restricting access with WebAuth (https://webauth.duke.edu/(approve links)), I am able to view the wiki, but am not able to make edits to pages--kind of defeating the purpose of the wiki! I think it's a sessions-related problem, but am not sure. Mar 22, 2008 I just looked in the PmWiki folder on my site (I've been using PmWiki for a few months, but I only have about 50 articles in it) and I found these files that I never noticed before: What's up with these (especially the 14-meg one)? Are they essential to the functionality of PmWiki or just some error-dumps I can safely delete? Merçi. Mar 16, 2008 Ideally, this means getting the database to import the Pmwiki page source, extract the visible text from all the formatting, let us translate it, and then export Pmwiki page source again with all the formatting intact but the translations inserted in place of the original text. The main problem here is that no TMS (to my knowledge) understands Pmwiki syntax, and the project does not justify programming a custom filter for this purpose. A feasible workaround would be to export the page source from Pmwiki as XML and write a filter for that TMS' usually have pretty good XML support which would only need to be configured right. Therefore my question: Do XML filters for Pmwiki exist that preserve all the formatting? Or are there other filters that may be useful (e.g., Word), i.e., that export all formatting so that it can be imported again with the translation? Or are there even more direct TMS interfaces? Searching on this site and the wide interwebs has failed to turn up anything, so any hints would be welcome. Thanks Jan Feb 14, 2008
I can't get my pmwiki site to ask me for a password. I put:
Tyler, making your question bold-face isn't going to increase the likelihood of getting an answer on this page. Your situation has too many possible explanations for this to be an adequate venue for solving it. You need to address your Q to the mailing list. I'm sure someone(s) there will be able to help you. Do include what version of the software you're using, and whether you've added any other recipes (add-ins). Best of luck! single quotes don't seem to work for me, every time I try to use quotes to bold, italic etc, it saves multiple quotes and it doesn't change the formatting it just keeps inserting quotes over and over again... Jan 27, 2008 Question: I'd like to track how often are files with certain extensions (pdf,zip,...) downloaded in PmWiki. On another site I maintain, I use a TCL script to postprocess HTML and insert <a href="file.pdf" onClick="javascript:urchinTracker ('/downloads/file.pdf');"> pdf </a> calls to urchinTracker. Is there any way to do something similar in PmWiki? Thanks. Is there anyway to use Javascript, PHP, or some other language in a .tmpl file? Im trying to hide the sidebar when a page is being edited (?action=edit is at the end of the url). I wrote some code to do this in javascript, but I think its disabled. Is there anyway do this with some kind of code?
Your could use the Is it correct that there is a Site/PageNotFound, but no Group/PageNotFound? --Henning November 30, 2007, at 11:22 AM That is correct. Site/PageNotFound takes care of any instance in which a page is not found anywhere in the wiki, so there isn't really a need for a Group/PageNotFound since that would be taken care of by Site/PageNotFound for any group. --Ian MacGregor How can I define what PageNotFound page to use? My wiki does not use my Site/PageNotFound page, but instead displays "Describe FooBar here.", and I have no idea where it gets that message from or how I could change it. Your problem is caused by the MarkupExtensions recipe which defines the default text for a page that is not found. Comment out the line ...
in extendmarkup.php to restore normal Site/PageNotFound behaviour. --Henning November 30, 2007, at 12:07 PM Is it possible to run PmWiki on a server that does not run on port 80, but on port 8080 for example? I could not find any configuration setting for the port number. Simply set $ScriptUrl = 'http://www.example.com:8080/pmwiki/pmwiki.php';
--Pm Thanks a lot! Great piece of software. Your support is even better than a lot of commercial companies are going to achieve ;-) -- Markus I added some users and passwords via AuthUser. I also added ++include_once(" Although I am able to login, my name is not preset in the author field, and in All Recent Changes there is a question mark. I can type in a name in the author field, then this one is shown in All Recent Changes. But I want to have just the login name. Ok, I think the problem is, that the It doesn't work :( I log in with the username and password, and in allrecentchanges it shows a "?" instead of my username. Marvin November 25, 2007, at 08:23 AM How can I get PmWiki to support links that include special characters, such as in Notepad++ ? At the moment the ++ just gets stripped. Maybe using special Characters will give you a work-around. 16 Oct 2007 How do I remove a space from the value of a variable? It's not a page name.... need a trimleft (trimspace?) type function. I have a lot of personnel records that have their names embedded {FirstnameLastname(dollarsign):Blah1} and a form where a name is entered "Firstname Lastname" into say {thisPerson}. So I would like to be able to do something like {{thisPerson}$:Blah1} and have it point to whichever variable I was looking for at the time. When I try it now I end up close but no cigar... just need to lose the space and I'm there. Any help? Thanks! mk Non-answer: This is getting into fairly advanced material. You really would do well to refer it to the mailing lists! Non-Answer-Ack: Thanks! Hey, I managed to install, and its running pmwiki off my root with a index wrapper, but when i click on InitialSetupTasks it just returns with "No input file specified" - what did i do wrong!? Thanks, Chris A bit juvenile to ask but can I directly show html code through the cms. e.g. I have like a 10 page (i.e. 10 html files) document connected together with an index.htm , can I directly show it one of the frames? Secondly, Is there any applect which can go through a complete folder and sub folder to generate a page with links to these index files (each connecting to a different document and thus sub folders)? I believe the recipe IncludeUrl might be useful to display html directly. --Henning October 05, 2007, at 06:50 AM How do you link to a category without the referring page being entered into the category? I have a People category. When I link to it from the Homepage, it lists Homepage under People. In your example, since you probably don't want to see any HomePage (from any group), you could simply exclude pages with the name HomePage in the pagelist that you use in the header or footer of your Category group, like this: You can't. PmWiki unfortunately does not distinguish between tagging a page with a category, eg I am unable to upload files with the upload password enabled. If I attach the file as usual while editing, save the page, click the link to add the file, enter my password, browse to the file, press the upload button, enter password again, enter password a third time, then I receive the error no file uploaded and I am back at the browse for file screen. I can upload files fine when the upload password is disabled. The edit and read page passwords seem to work no problem just not the upload password. Admin password does not work either for upload. I am running wiki on a stick cookbook recipe with the abyss webserver. How do I limit the page width or word wrap independently of spaces? I have a very long piece of text with very few spaces. I want to show the text on the page without having it increase the page width. I also want the user to be able to copy the text as is, which is the reason I don't want to use the forced linebreaks. When they copy the text, I need it still to be copied as a single line. I've tried putting the text into a cell in a table and setting the width to 100% but this seems to have no effect. Is it possible to enforce word wrapping at 100% of the window, without regards for space characters? How can someone insert Project Wonderful ads into their wiki? I've seen them used here before, but I can't find any information on how they can be added. I'm trying to configure some custom markup. It's basically a markup word and a path+filename. Example Related question: How could I add a 2nd argument? Example: August 14th 2007 Why when I save a page and the browser timesout? We have been working with no problems for a few weeks now with version 2.2.0-beta55 without a problem. Today, on certain pages, when we edit them and try and save them the browser timesout (PHP timesout on the server). I cannot edit the page from then on. I manually delete the page from the command line, create a new page through pmwiki, paste the old text into the new page and save it. But it hangs again. I upgraded to beta63 with no change. Can we rebuild an index file somewhere to fix the problem? We ran into a similar problem. Our problem was that a page was being included by itself (recursive). A footer was including itself. Once we eliminated that, the timeouts went away. "action=edit" and Searching doesn't respond anymore. I used pmwiki since about 1 year without any trouble, but since 6.8.07 whenever I try to edit a page, the browser starts "loading" but absolutely nothing happens. It's the same, when i try to search something using the search-field - no response, and a timeout after waiting a while. I updated to the newest beta-release but this changed nothing. How can i solve this? How do I enable searching? Whenever I use the search box, site/search or ?action=search&q=... I do not see any results. Do I have to enable search, or make an index, or something? I have a pageindex file, it has some stuff in it. Have you got a URL we can look at? Does the Search documentation provide you with any assistance? No, sorry, no URL, its for a private intranet site... The documentation doesn't provide any help, but i did get the search results to display, kind of. It now just displays: Does PmWiki need a special index file? what should I do? Another possibility: I had a similar problem with a locally hosted copy of PmWiki. Eventually I tracked it down to line 154 of scripts/pagelist.php. If I removed "@$_REQUEST" from array_merge function call, my search worked fine. Because the $_REQUEST array includes all cookies for the server, including cookies for unrelated projects, I think some cookies for other testing sites were conflicting with PmWiki's search. I removed some unneeded cookies, restored pagelist.php to its original form, and search has worked fine. To recap:
Can I preempt the edit password prompt on links that don't yet have pages? The nature of my wiki requires edit passwords. When I started my wiki, I encouraged editors to insert what I call "pre-links" in articles. For example, an editor creating an article about "Bob" will go ahead and link references to "Mary" or "Joe" even if no articles exist on Mary or Joe. My reasoning was that other editors would notice these links and future articles would be encouraged as a result. This is very confusing to a common non-editor/reader, though, whose only interest is browsing the site. They click one of the links with the ? mark beside it, and can't understand why they're getting a prompt for a password. I would like to insert a message, "This article has not been written yet. Please check back later" and also have a way for editors to click from THAT page, submit their password, and proceed to create the new page. For the moment, I've asked editors to stop inserting pre-links until this can be sorted out. The page that is displayed when you are prompted for a password is Site.AuthForm. You could take the contents of the AuthForm page and place them in a new page, are change the AuthForm page to have the message you require, and a link to the new page (and a link to where you came from). How can I limit the pages users can see? When I browse to my pmwiki on (for example) Putting index.html in these directories is a good solution. The approach PmWiki uses is to add a .htaccess file to its directories. You can copy this into all the directories you wish to restrict the contents to, but additionally you could enable the access to index.html (which could redirect to, say, your homepage). When I browse to Which default page is this and can I change it? If people type a wrong URL I would want them to see nothing. (would this interfere with creating new wiki's from non-existing links?) The default page is Site.PageNotFound. What do you mean by nothing - do you mean you don't want to navigate away from the page you are at? After you are making a request, something has to be displayed? Ideally I would likie to show a 404-not-found when a user types a URL that doesn't exist. When I delete the Site.PageNotFound file I still get some empty page that contains my sidebar and tabmenu (simpletab skin). Thankyou! August 6th 2007 I keep on getting a error message when use IE7 to view my website (http://wiki.lovedaywetlands.org) can you guys and gals check it out for me and send me a email via the website. NB:: I have tried the site in Safari Mac & Windows, Firefox Mac & Windows it all works fine on them but not on IE7. HELP Cheers PmWiki seems to be unable to read the config.php file. Should I change permissions to "/local" folder to 755? Should I change all permissions to all folders to 755? Is it safe? Nikos Changing permissions to 755 didn't solve the problem. By the way the installation is in a free hosting service and they place ads in the pages (if it is of any importance). Nikos Problem solved: I should have deleted the "# " before an option. That is # Source page for Page Text Variables? If I use in a page many Page Text Variables from same source page, can I somehow set it as default for Page Text Variables? Taavetti Does this make sense? I added this rewrite-engine line to block bad urls in .htaccess The aim is to exclude all requests trying to attack the php-engine with special characters. Now calls like: kolibriethos.de/Ethos/Homepage%A7 kolibriethos.de/Ethos/Homepage(§ kolibriethos.de/Ethos/Home\@age but not http://www.kolibriethos.de/Ethos/Homepage?action=browse§ will be blocked. # Define the rewrite base. RewriteBase / #Allgemeine Regeln: Schutz vor Sonderzeichen RewriteRule [^a-zäüößA-ZÄÜÖ0-9?:#+.%_=\/\s]+ not_accepted_go_away.txt [L] To block request content with special characters (like ?action=browse§ ), Hans I am using the TraceTrail recipe on my wiki. It shows the trail in this structure: Category/Pagename. Is there a possibility that it only shows the Pagename, but still links to the right page? Thanks for answers, Marvin May 31, 2007, at 02:36 AM My Search-Field does not work anymore after I created a new Skin. I left the form action the same ("action='http://www.pmwiki.com/wiki'"), though. You can have a look at http://www.dasbrot.info/wiki/ . Everything else works fine, after I got a bit into the system. Best Greetings Roman Hallo Roman, I tried to realize the hr line with different colors. Is this the right way?
my pmwiki: http://www.kolibriethos.de more Examples: http://www.kolibriethos.de/Main/Design It works. Another solution might be to change the formatting of hr in your local.css[1] file. Many thanks! (It doesnt work in some older private Wikis. I will try to find out why and which configuration is necessary!) Our pmwiki sidebar has gotten longer over time and gets cut off at the bottom by pages with little content on them when we use the IE7 browser. How do I make the sidebar take precedence over the length of the main page content so that the sidebar does not get cut off at the bottom on IE7?; Thanks - CR If you are using the default template the sidebar is simply a cell in a table. Therefore neither should take precedence. Check to see if some CSS or change to the template has caused this behaviour. I want a gui button that adds the code " " . (Hah - figured it out by writing this question. Sorry.) $GUIButtons['nbsp'] = array(660,' ', , ,'$GUIButtonDirUrlFmt/nbs.gif"nbsp"'); Thanks - LFS I have a link in my SideBar for an FTP location, is there anyway I can carry my login credentials through from the initial Wiki Login to autopopulate the FTP login box so I can just go right through to the FTP site? When the box pops up to login to the FTP location, the credentials are the same as the credentials used to login to the Wiki site. Please help! -Brent How do I get a checkbox on wiki page? It is not defined in the special character section. Please help tami clark? Hi: have a look at Cookbook:Input, which describes PmWiki's built-in forms markup. Also look at Cookbook:Cookbook#FormTools for other, related information. Try also searching for box html entity, and you will find ☐ ☒ ☑ ✓ ✔ ✕ ✖ ✗ ✘ I've added a comment-button to my wiki which does this: pmwiki/pmwiki.php?n=Comments.Main-HomePage?action=view It shows the content of the group "Comment" that is made for the respective page (in the above case for Main-Homepage). Now if I use this comment-button for pages that do not have a comment yet it says something like "Page not found". Of course it does so because there isn't such a page yet. Is there a way if I am on the page "Main-Articles" which hasn't a respective comment-page yet for making such a comment page automatically by clicking on the Comment-Button? Also at the moment the small question mark with the dotted underline for non-existing comment-button's will not show. Thanks a lot. -- Torsten April 30, 2007, at 02:45 PM I figured out why I were having trouble installing. New question: Why all the different file-extensions instead of making them all something like .PmWiki and .Site files? Here's the thing: The browser based file manager I was using couldn't read all of your files because it didn't have the necessary fileextensions added. And who can blame it. You have a load of these weird fileextensions seemingly for no reason. Why is it that you have to have a load of different files like PmWiki.WikiWord, PmWiki.WikiPages and Site.AuthUser? Why couldn't you just make two new filetypes instead of 108!? You could just make .PmWiki and .Site files, making the files mentioned above become WikiWord.PmWiki, WikiPages.Pmwiki and AuthUser.Site. Or maybe they could even be textfiles?.. I guess I'm way too unexperienced in this area to know what I'm talking about, but it just seems like such a weird thing to do seeing as most other wikis do just fine without it, and maaany people out there prefer to make use of browserbased filemanagers. Isn't there some way to work around making hundreds of new fileextensions? Aray? April 17, 2007, at 23:44 They aren't extensions in the conventional way. The files are wiki pages, where the filename is each page's name in a GroupName.PageName format. I don't think there's a way around that. --Hagan Hi! Why is e.g. my local folder empty when I view it in the filemanager (www.110mb.com) and all I can see is a .htaccess file in there when I check it out on the comp? I am quite new in everything that has to do with web-developing. I have managed to establish this webpage, and now I wanted to give your wiki a try. I've installed other wikis with success, but this one is giving me some problems. All I can see in the zip is these .htaccess files, where I thought there should be various other files... Anyways, I upload the zip, I unzip the folder, I create the index.php, and the page kinda works. But on pretty much everything except the HomePage link, there are these questionmarks attached for some reason. Every link that's got a questionmark attached has no content. I just can't figure out what's wrong :( Will I get slapped for my extreme lack of knowledge now? :o Edit: Oh, I realized that those questionmarks might be supposed to be there, so I'll add this then: Editing doesn't work, it just reloads the page. The same thing happens if I try to access the recent changes, or the search for instance. In short: Nothing works! The question marks indicate a link to a wiki page that doesn't exist. You are correct that there should be various files in most of the directories, although the Edit2: That's the problem. The wikilib.d folder is just stuffed with files like .authform and .pageactions, and the browserbased filemanager I'm using can't seem to read these. Anywow, if I simply upload the whole zip (pmwiki-2.1.27), unzip it and run the pmwiki.php file, that page with the questionmarks is loaded. If I take a look at my filemanager after doing this, I see that a new folder called wiki.d is created, and it's got one visible file in it called ".flock". I still can't figure out what's causing this problem :( try reviewing and following carefully the installation instructions. Hello there! For controlling access, I decided to set an identity-based system, which works pretty well, but I would like to know if it would be possible to let each user change his/her own password. Thanks! yes, via "Site.AuthUser". It's explained there, how it works. But it's a little complicated and I am not sure if users can "destroy" other user's passwords when editing this page and deleting another username, so you should only use this option when your users are people you trust in. Hi, I tried more things to solve my skinchange-problem, perhaps now someone has an idea to solve it: I use some graphics in my SideBar (pictures for navigation). I would like to edit the content of the SideBar so that it uses different contents depending on the skin that is active. I tried sth. like (:if equal $Skin Skin1:)graphic with blue background(:ifend:) (:if equal $Skin Skin2:)graphic with green background (:ifend:) but that doesn't work. ( Marvin March 31, 2007, at 10:29 AM) I am trying to install PmWiki on the account given to me at school. The solaris server has php installed. When I follow the installation instructions and type the url (http://univname.edu/~usrname/pmwiki/pmwiki.php), I get the following error Warning: main(/home/(username)/public_html/pmwiki/scripts/stdconfig.php) [function.main]: failed to open stream: Permission denied in /home/(username)/public_html/pmwiki/pmwiki.php on line 305 Warning: main() [function.include]: Failed opening '/home/(username)/public_html/pmwiki/scripts/stdconfig.php' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/lib/smarty') in /home/(username)/public_html/pmwiki/pmwiki.php on line 305 Warning: Cannot modify header information - headers already sent by (output started at /home/(username)/public_html/pmwiki/pmwiki.php:305) in /home/(username)/public_html/pmwiki/pmwiki.php on line 885 (:groupheader:)(:include .PageNotFound:)(:groupfooter:) <:block> I substituted my username with (username) above.The permissions to pmwiki folder are set to 2777. Can somebody please help me solve the above problem?
I got it resolved. The problem was with the permissions that are set to the scripts folder and other folders. I changed them to 755 and now they work fine. 30.3.07: Hi there, I have a little problem, getting the Cookbook:SkinChange to work. I downloaded skinchange.php and added it to my cookbook. I added the two lines to the config.php. I created a folder named "sw" that contains sw.css, sw.tpl and sw.php. Adding ?setskin=sw or ?skin=sw doesn't show a reaction. The only difference to here that I see is, that my URL e.g. looks like pmwiki/index.php?n=Main.Intro and not like here with subfolders and pagenames (your URLs look like wiki/PmWiki/Questions so there is no .php etc.). So how can I make the skinchange work? Thanks, Marvin Is the folder sw in the pub/skins directory? yes; Back again: I did some tricks now. I uploaded my first skin into the pmwiki-folder and renamed all files pmwiki. Deleted the skin='monobook' in the config. Then my fake pmwikiskin became default and the skinchange now works. (Mon, 26 March 07) Hello. Can a timeout be enabled for when passwords are used, and the site is set with a READ password? (03/19/2007 '''Searching %comment% Is there a way to prevent the search from searching the %comment% markups? I only want the search results to include pages which match the 'visable' text on a page. (03/14/2007) paragraph rules not working in list item?
Is this expected behaviour? If yes, is there any switch that I can use to change it? Yes, this is expected. Within a list-item, a linebreak is reflected in the output. A workaround, allowing you to break lines but stay on the same line in the output, is to put a back-slash at the end of the line (being sure there are no spaces following the backslash):
Thank you for the answer (Romano_Giannetti). I had another answer on the list by Patrick, that I copy here, given that it adds information and maybe can promote this item to a FAQ candidate. If you want all of the text to be part of a single list item, then indent the second and subsequent lines to align with the first character of the first line. Thus:
This results in a single list item containing "But if I do the same in a list the result is quite different". This indentation can also be used to put paragraphs within list items, as in:
(03/16/2007) Getting PmWiki on CD Is there any possibility to copy/export/transfer/whatever PmWiki on CD? I would like to create a guide with the help of PmWiki and give it out to customers on CD so they can run it locally without the hassle of installing something. Is that possible, and if yes, how is it done? Try Cookbook:Standalone. --Henning March 16, 2007, at 10:35 AM (03/12/2007) Wanted Pages (missing pages). I understand how to use RefCount, but I'd like to provide my users a pagelist of all WantedPages without asking them to use the RefCount form. I've been searching but havent found a way. Ideas? (03/03/2007) I've included the authuser.php to activate user log in, but nothing appears. I need a log in in my page and I've added the line include_once(" (03/02/2007) I have implemented authuser with LDAP authentication. I password protected a page. When I edit the page it prompts me for my password and appears to work fine. The issue is when I click preview or save it prompts me again for my password before I can continue. It also prompts me for my password on every other page I try to edit within this session. Why does this occur? Am I missing a setting somewhere? I am running release (pmwiki-2.1.27). I did not have the problem on pmwiki-2.0.13 Thanks for any help! (02/03/2007) To convert all of MediaWiki pages into PmWiki besides copy-and-pasting each page into PmWiki. Hello, I ask to respond those who passed from MediaWiki on PmWiki - the script for this transition of MediaWiki database(SQL)is necessary. It is very necessary and is very urgent. Please, help. I can't get any dropdown menus to work, I am using pmwiki version 2.2.0-beta29... am I missing something or does this version have some kind of resistance?... (01/03/2007) Standalone use. Hello, I use pmwiki in standalone mode, if I make a link towards a local file (pdf or html) it can't be viewed, is there a solution ? Thank in advance. Christian A: Have you tried linking to "http://localhost/etc" or "file:///C:/etc/etc"? - Renato
I tried the two things here are the tests lines from Links Links to intranet files
You can link to a file system by including the prefix 'file:///' (for Internet Explorer at least). So file:///S:\ProjPlan.mpp and [[Shared S drive->file:///S:\]] are both valid links. On a Windows file system you may want to use network locations (eg \\server1\rootdirectory\subdirectory) rather than drive letters which may not be consistent across all users. - Renato
Yes I know, in the documentation it would work, but in standalone use it works just with external links, not with links to 'intranet files', it is the same thing with IE and with Firefox By the way, where do the links point to? (the links you got, not the links you want). Renato
for the pdf link , a new window is opened but is empty ( no error message in the window) for the html link a new window is opened with an error message : Unable to find /entretiens/grille-evaluation.htm on this server. for the files nothing occurs when i click on the link Have you tried with backslashes? Not G:/ but G:\ etc. (I'd try to replace all slashes with backslashes)? Because probably just the link is wrong... Marvin April 12, 2007, at 03:22 AM
(26/2/2007) Netware Issues. As per below I am trying to configure PmWiki on a Netware box. Got around the regular expression check on My GUI edit buttons have disappeared. I have reinstalled but to no avail. I have included the line (2/7/07) My wiki has to be moved onto a new server. Everything looks fine on the new system - only pages with special characters can not be linked properly. A page like http://www.pmwiki.org/wiki/Test/PageNäme (PägeName) would be linked as non-existing page http://www.pmwiki.org/wiki/Test/PageNMe?action=edit . Any solution for this problem? Thank you, Lars
No internationalizations installed on either version (as far as I can remember). Both machines are Apache. Php version is ok. I have two versions on the new machine: a plain installation of the latest stable version and the copied files of the old server. Same problem on both versions. The only difference was, that after uploading, the files in wiki.d on the new server were with UTF-8?, while the ones on the old server were with special characters. Any input welcome - maybe it's a server side problem. Thanks, Lars
Thank you that you took the time to look into it. Unfortunately, also installing of i18n didn't help. And the problem's much more basic as in that PITS entry. Maybe I'll post it again when the new server is live, so you can check it out. Lars (2/6/07) I recently noticed that my PmWiki installation responded quite a bit slower than it once used to. It's my impression that things improved after I cut down the AllRecentChanges page to about 100 lines. (It had been several thousand - the Wiki has 7600 pages, but not all of them show up in AllRecentPages). Does AllRecentChanges objectively have that kind of impact on performance, or am I imagining things? If the impact were confirmed, I'd make cutting down the length of the list part of my regular "wiki housekeeping" ... --Henning February 06, 2007, at 06:45 AM (1/31/07) We have a Netware system and want to use PmWiki. The "if (preg_match('/\\w\\w:/', (1/31/07) I feel like I'm familiar enough with PHP and CSS, but for the life of me, I can't figure out what generates the <SPAN> with the bacground-color of #ffffcc, containing the text: "administrators (basic)" in the top right hand corner of the page: http://www.ilikethings.net/pmwiki/pmwiki.php?n=PmWiki.InitialSetupTasks. Thanks. Try editing PmWiki.GroupHeader and adding a definition for the audience tag. I had problems with this, myself, so I know how lost you are. :) Take a look at the edit page of GroupHeader. - Renato (1/24/07) Currently on my site, whenever someone posts... their name does not show even if they put their name in the Author box. Is there a way to set it up that each time someone posts, their name will appear next to their posts? Thanks, Amy (1/13/07) (1/13/07) (2006-01-11) Found it myself: set can you create sub-menus for navigation, i.e I have sidehead = faculties, then under faculties I have facutly of vlogging, now I wish to have a submenu for vlogging, something like, history then cultural information. thanks in advance for any help Steve try lists and indentation - see basic editing Faculties Faculty of Vlogging
History
Cultural Information
(2006-01-06) is there a page or repository of PmWiki logos in difference sizes? I'd file to find a Powered by PmWiki or Get Pmwiki logo, in additional to the (Jan 3, 2007) I placed the enablehtml.php file into my cookbook directory in the hopes of allowing me to make new pages using HTML. Then I put (Dec 19, 2006) I have tried to define a custom markup for statcounter.com but it doesnt work. Can anybody help me, please? lots of thanks show use what you tried, eg on a Test page. (Dec 12, 2006) How do I remove pmwiki's search box from my site? (I'm using the beeblebrox skin, if it matters) Thanks! Try removing/commenting out: <form id="headerSearch" action='$ScriptUrl/$[$SiteGroup/Search]'>
<div>
<input type='hidden' name='pagename' value='$[$SiteGroup/Search]'/>
<label for='searchbox'>$[Search]</label>
<input id='searchbox' class='searchbox' type='text' name='q' value='' />
<input class='searchbutton' type='submit' value='»' />
</div>
</form>
from the tmpl file. - Renato Worked wonderfully, thanks! (Dec 10, 2006) I'm using AuthUserDBase so I can relate my pmwiki to the phpbb we use online. Integration has been working fine until the moment one user named 'Paulo Arruzzo' had to go through authorization in the Wiki. It seems that the space in the nickname made PmWiki go crazy and say he's not allowed to edit the Wiki. Any ideas on how to solve this? I know it's only a matter to find where I should put the "", but I'm not too familiarized with PmWiki code. Thanks for helping. :) - Renato (Dec 6, 2006) I have installed cookbook "HtpasswdForm". When i try it (create user), it doesn't work and all my user are deleted. Someone have the same problem? Thanks for your help in advance. (Dec 3, 2006) I want my wiki to understand carriage returns, that would make it easier for my users to edit pages. anyway for me to do that? Thanks for your help in advance (Nov 29, 2006) While experimenting with adding my own cookbook recipe, I may have accidentally changed something somewhere else. Now, I cannot get cookbook recipes to work. I include_once() the recipe .php file, but I just see the markup being displayed rather than the recipes intended result. Placing the code directly into local/config.php gives the expected and correct result, but not if the code is located in cookbook/myrecipe.php. Then its just the markup that gets displayed. Any suggestions for what I might try next? (Nov 15, 2006) The topbar on each page of our website is in a different place. Have no idea as to why or how to fix it. Anyone? Thanks! (www.epiphanychicago.com just FYI) yv- If "place" refers to the graphical output, try a different browser to see if an HTML interpretation peculiarity (or bug) is responsible for this. If you use a custom skin (or just a custom CSS), try the default skin/CSS combination to see if the problem perhaps is caused by your skin. Another idea would be to check the logo graphics (or any graphics file you might use) for correct dimensions. Just some ideas to narrow down the problem ... --Henning November 17, 2006, at 03:53 AM (Nov 12, 2006) In using the pagelist formats in a sidebar menu, how do I get the menu link to the currently viewed page to stop disappearing from the pagelist? The group links don't seem to have this problem, only the article links. Thanks! -jibegod Check the PageLists#pagelistlist information, also are you using Cookbook:MarkupExtensions? (Nov 11, 2006) I found it not possible to create a wiki trail by including a part of the sidebar in a trail index page. Is there nevertheless a way to do this? Thanks for answers! (Nov 9, 2006) How to I get a longer editing session length without changing php config? FixShortSessions suggests increasing session.gc_maxlifetime. But is there another alternative? Can I set a cookie when I login, which then allows unlimited editing until I logout? (November 6, 2006) How do I save just the page text to a file with a link for the user to "download page text"? Profiles November 6, 2006, at 17:55PM See Uploads or try action=source (November, 2006) When i try and save a change to any page, the change disappears and reverts back to the previous format. There is no error message and I created the wiki.d directory with access 777. I have just installed PMWiki. Profiles november 2, 2006, at 14:37AM (October 28, 2006) How do I make a link to a file (in order user to download it) if the file is in the same server but not in the web tree (not in public_html, and so on) ? Thanks Profiles October 28, 2006, at 03:44 AM Simply use the complete URL of the file. You don't need to have the files in the wiki-files, not even on the same server. Just add Marvin October 28, 2006, at 01:33 PM
(October 24, 2006) And once again, I really searched like maniac but couldn't find anything. Is it possible to edit the AllRecentChanges so that it lists page titles instead of filenames? I tried to edit pmwiki.php (in RecentChangesFmt I added |{$titlespaced} to the links, but with only the effect that editing the recent-changes file didn't work anymore... which happend every time I changed ANYTHING there... e.g. I tried to remove the ":" after the author's name with the same bad result. Where can I change this? When I edit the Site.AllRecentChanges all I can do is remove entries, but there is no :pagelist: variable or sth. I'd be wary of making any changes to pmwiki.php In general, you should be able to make most changes by adding entries to your config.php. In this case, I think what you are looking for is the LAYOUT VARIABLES! *bangs head on table* I really searched the whole wiki here!! Thanks, Pico, I will have a try (and bookmark the page!). (2) :( doesn't work.. it doesn't overwrite but add after the normal lines. And there are no links, but everything looks like when you post it with (2) Yup, I tried it and see what you meant. Looking at the code, it makes no sense that the format markup ends with a pair of escapes, and in reversed order too (" On a related note, if you are using the beta series of PmWiki the (3) Wheee! I think I had deleted a ' when I first tried to delete the [= , because the whole page was broken then.. but now it works (nearly) fine: [=$RecentChangesFmt['$SiteGroup.AllRecentChanges'] = '* [[$Group.$Name|$Title]] - $CurrentTime $[by] $AuthorLink ([=$ChangeSummary=])'; $RecentChangesFmt['$Group.RecentChanges'] = '* [[$Group/$Name|$Title]] - $CurrentTime $[by] $AuthorLink ([=$ChangeSummary=])';=] Just one tiny thing: The changes are sorted by date, but the older entries stay on top and the newer ones are added BELOW. Is there a possibility to change this, so that the newest changes are always on top? I am using pmwiki 2.2.0beta14 at the moment. (October 22, 2006) Hi, I host a MediaWiki for somebody on my webspace, but I need to move their wiki to another service which does not work with MediaWiki but does work with PmWiki. Is there an easy way to convert all of her MediaWiki pages into PmWiki besides copy-and-pasting each page into PmWiki? --Dr. Doog Sorry for a very unqualified answer, but perhaps it helps at least a little: PmWiki stores pages to the wikilib.d directory. The pages are named Category.Pagename. I don't know MediaWiki, but if they also have a file for every page, then it would do to simply rename the files (isnt't that easily possible with a program like irfanview?) Marvin October 22, 2006, at 02:30 PM (October 14, 2006) Hi again. Now I have got a question about the search - I'd like the search to find only pages with the searched word in the TITLE and if no title is set, in the pagename. So that the content is not included. If I type in "marvin" I want it to find the page "Vells Marvin" and "Marvins wife", but not a page named "Children" and the content "These are Marvins children". And if no result is found, I'd like to have a link to a page with the "normal" search as it is now, where all pages are included. Like "no result for Marvin found, would you like to search page contents as well, then enter your Search here". Is this possible? I thought of putting fmt=#title in the search-code, but didn't know where... and I don't have any clues of php. You don't need to know php. You can do this easily for searching page names. You should be able to enter "name=*Marvin*" into a searchbox to return all pages where the string "Marvin" appears anywhere in the title. (Try it on this site with, say "name=*Page*" which should return pages with the string "page" anywhere within the page name. Now, to take this further and setup specialized searchboxes, or results, you can create serachboxes, or searchresults, that supply some parameters, such as "name=*Marvin*" Take a look at the (non-distrubted) search page that I added at Search. For more information, look at the distributed documentation at PageLists. Now, if you want to do this for page "titles," I'm not sure what the answer is right now. Pagelists support specifying pages using the "name" parameter, and support wildcards within that parameter, but I do not think that titles are supported parameters and, if they were, the question remains whether they would support wildcards. But lots of changes are being introduced with the new beta versions of PmWiki 2.2.0-beta# with respect to pagelist and support for more flexible page text variables that can supplement the existing page variables (such as name and title). sorry, but I still can't find a solution for what I want... I want the search to find the titles automatically... or pagenames.. that is not so much the problem. But I don't like it that my users have to write name=*sth*, because everyone usually uses a search by simply typing in the word you are searching for (seems to be the google-generation ;o) ) Marvin, first of all, please be careful when you write about wiki markup because when you spell it out it PmWiki will try to interpret it unless you are careful to "escape" the markup (with [@ and @]). The content and ordering of this page got pretty strange and eventually I tracked it down to your references to As for the underlying question, there is no really easy answer, but it can be done. Maybe the easiest thing to do right now is to refer you to the thread on the mailing list where we discussed it and you should just follow that thread and decide what you want to do (and, in the meantime, maybe someone else has come up with another idea). The starting post for the thread is here As for other options, (1) You could have your searchbox prepopulated with an example query, like "name=*Marvin*" and hope that your visitors would see that they could replace Marvin with something else. Not very good, but if you are interested, the way to prepopulate a searchbox is to use the "value=" parameter, like this:
Read more about this at PageLists (2) Have you thought about making use of Categories, by placing links in your pages, for example, Hope this helps. Thanks so much, I will read the thread carefully! Thanks also for editing the posting. I tried several times to edit it myself, but always got the message: "blocked by administrator", so I couldn't do anything.. maybe the system thought I was flooding *sigh* I am happy to see that everything is all right now! (October 13, 2006) When I edit a page and click on preview or save, the edit page reloads and erase all my changes. This is a brand new installation using the latest stable version. After untarring and creating wiki.d, I copied docs/sample-config.php into local/config.php and edited It might be easiest if you give us an address to a page that we can edit on your site, so that we can see what is going on. Otherwise, try observing very carefully what happens on the address bar when you do a save and compare that with what happens on PmWiki.org. Rolfijn: I am not sure whether i am supposed to awnser here. Please erase if i am not supposed to. I am awnsering because i have a similar problem when i try to update my wordpress blog from work. At work i am behind a proxy, which i suspect to be the problem. Can this be true in your situation also? (October 13, 2006) Ugh.. I really searched a lot, but all I found was a script for "_" in the cookbook that didn't really work... I'd so much like to use the pagelist function, but it's so ugly to see all the Names listed in one big Word. Instead I want to have spaces between the words like when I first created the page. So that the spaces don't disappear, you know what I mean. So "This is a Title" gets "ThisisaTitle" now in my index, but I want it with spaces. I also created the links with spaces and they work perfectly well. What I do is: (1) Add The other thing you could do is to start giving your pagenames a title Great! It works fine, I am happy (did the Spacewikiwords solution). Thanks a lot for your competent and quick help!
If you want to change the '+' to mean
Markup('[[|+', '<[[|',
"/(?>\\[\\[([^|\\]]+))\\|\\s*\\+\\s*]]/e",
"Keep(MakeLink(\$pagename, PSS('$1'),
PageVar(MakePageName(\$pagename,PSS('$1')), '\$Titlespaced')),
'L')");
(October 13, 2006) How can I add the .7z archive to the uploadable formats? (Do I have to edit upload.php or config.php?) And will it be added to the default settings as it is an opensource archive? http://www.7-zip.org/ Well, I added the following line to the config.php: $UploadExts['7z'] = 'application/x-7z-compressed'; But why not adding this archive as a default in one of the next pmwiki releases? Is there a way to allow HTML in PmWiki RSS feeds (such as image, href, list tags)? (October 08, 2006) How do I find out a users ip address when it is hidden in the History if they type in their name when editing? Mouseover: Hoover the mouse cursor over the name and you will see the ip address appear in a tooltip. (This only works in the history view). (October 06, 2006) I have installed the latest version. The homepage appears, but when clicking on Edit the page does not switch to the edit mode. I have set the permissions to the directories wiki.d and wikilib.d to 777. What is missing? Hard to tell from your description. If you provide the address, we can take a look at it. Otherwise, you should carefully observe what, if anything, changes when you click the edit link. Also, when you hoover the mouse cursor over the edit link, what address appears at the bottom of the screen (if your skin shown this on a mouseover? What address appears in your browser after you click the edit link. (What was the address before you clicked the edit button?). In answering these questions, you can just identify the last portions of the address. Why does the following syntax ignore the line breaks on each link and produce all links in 1 row? In PmWiki, a single carriage return that produces a line break in the editing screen's markup does not produce line breaks in the page that is finally rendered in html (i.e. a carriage return is not translated into <br> or <p>). The fact that link markup is placed on separate lines does not change this. If you want these links to appear on separate lines, there are several things you could do to tell PmWiki your intentions, including: use list markup (* or # at the start of each line), use two carrage returns instead of one, or add two slashes at the end of each line. (September 29, 2006) Is it possible to create a Group.PageNotFound page similar to the Site.PageNotFound page? I didn't find anything like that in the documentation, but as most things work on group level just the same as on site level, I suspect I somehow missed something. (September 26, 2006) Is there a way to add in a creative commons license to PmWiki? I want the content my site visitors and community members write to be credited. Thanks. (September 5, 2006) I'm having trouble with the initial setup of my wiki. The links always go to Main.Homepage, no matter where they are supposed to point. None of the PmWiki reference links work. When an edit command is given, whether it be edit SideBar or a link to a new page, it brings up edit Main.Homepage. Am I missing a file, or are my permissions set incorrectly? I've tried 2.1.15, 2.1.14, and I'm now on 2.1.13. Also, is there a list of what files I should have so I can check? I think we need more information. Is there an address that we can look at? In the meantime, if you want to try something, at least to rule out a possible issue, you might try explicitly setting the address to your PmWiki location in the The site is www.luminarias.us I've set the scriptUrl to http://www.luminarias.us/pmwiki.php. I'm having no luck. None of the links work. I've done several fresh installs in the hope that I was missing a hidden file. The external links to pmwiki.org work, but not the internal wiki links. Ok, looking at you site, I would guess that you were trying to setup the CleanUrls recipe and that you are almost there, but not quite. When I click on a link, the page and group are formatted as a regular path with slashes, which tells me that you have So, where do you go from here? Personally, I would take a step back first and make sure everything is working without the CleanUrls recipe: comment out the EnablePathInfo line in your Config.php and rename your .htaccess file for that it isn't being interpreted. If the links work fine after that, then go back and double check (and triple check) your assumptions and entries in implementing the Cookbook:CleanUrls recipe. If you need more help with that, you should probably provide some more specifics, like the contents of your .htaccess file and the exact location of that file in relationship to your PmWiki file structure. The internal server error came from messed up permissions on pmwiki.php. I commented out the enablepathinfo, and that worked. Thanks for all your help. You (and I'm not sure who you are and how many of you there are) are the best. (August 31, 2006) I expect my wiki to be very large. How scalable is PmWiki? Short answer: It all depends on the server. One user with a small, slow server and 4000 pages claims his site is barely tolerable. Another user, with a bigger and faster server, is happy with 200,000 pages. Performance can also be affected if you use some of the advanced features. If it does get large enough to impact performance, there are things you can do to speed it up. Longer answer: http://pmichaud.com/pipermail/pmwiki-users/2006-August/031282.html (keywords: "server size") (August 29th 2006) I want to include a php counter in every page generated using bbclone: <?php define("_BBCLONE_DIR", "/public/homepages/username/web/bbclone/");
define("COUNTER", _BBCLONE_DIR."mark_page.php");
if (is_readable(COUNTER)) include_once(COUNTER);
?> The problem is if I put these in /pmwiki/pub/skins/pmwiki/pmwiki.tmpl, they are not interpreted as php command and instead are outputed as plain html text. How to do this property in pmwiki? You should put those commands in your define("_BBCLONE_TITLE", $pagename);
above those lines. You might also want to have a look at available cookbook recipes: Cookbook:TotalCounter (and Cookbook:CurrentVisitors) - although they provide less functionality than BBClone. (August 26th 2006) I found that after I put a (August 24th 2006) I've looked around the cookbook and I'm not seeing an option for putting in anchor tags for links within the same page. This is done in HTML but I don't see an option for doing it in a PmWiki. Let me know if I missed it. I will continue to look in the meantime. Thank you. The Cookbook is for 'advanced' add-ons, you're just looking for a standard link option. You'll find the anchor link described on the Links page under the Links to specific locations within a page heading, near the beginning. Enjoy. Des August 24, 2006, at 08:44 PM (August 24th 2006) I have PmWiki setup at http://www.bynw.com/wiki/pmwiki.php when you edit a page and click "save" the information is indeed saved but doesn't leave the edit mode. If you click on any of the links it remains in edit mode until you close the browser and reopen the page. Any ideas on how to fix this? We're working on this. I added some comments to your home page and posted the question on the mailing list at http://pmichaud.com/pipermail/pmwiki-users/2006-August/031070.html Click on that link and look for followup posts on that thread. Thanks for the information. That pointed me in the right direction. I didn't edit the config file for the (August 22th 2006) Which is the best RSS feed to keep informed on important PmWiki-updates? (August 19th 2006) Is there any way just to show the pagegroup (of the css wikititle) to people with edit or admin rights? Right now I am using css visibility:hidden but then it is always hidden. Same would be with deleting (or setting) the line within the source (as a comment). It is possible, but only partially. If a user has some IT-savvy, he'll still be able to easily find the group name. And the more places you want to remove the group-name from, the more difficult it will be - especially I can't imagine removing the group name from the URL at the moment, if you still want it to be available to admins somehow. Some ideas where to try to remove include:
(August 18th 1006)Trying to add some custom mark up but i cant quite work this out any ideas why this does not work Markup('hotkey', 'directives', '/\\(:hotkey.*?:\\)/e', "Keep(\"<span class='hotkey'>$1</span>\")"); Try using single backslashes ( (August 7, 2006) Hello, i try to put out a rss-feed / webfeed from only ONE site of my wiki. But i can't find a possibility to Display the RecentChanges for on site or section of my wiki. But the webfeed doesn't make sense, if it contains irrelevant informations... Searching didn't help! Regards, erdballer (August 4, 2006) I've downloaded Cookbook:ExcelPaste, but am having a problem with the GUI button alignment , the skin used is Triad. Is there markup that can be used as a button definition in the config.php file or is there a different workaround for this? I have latest version of PMWiki. I have 2 pages, which are spammed every day, but it isn't allowed. I have changed the password of "edit" some times. First the group had a edit-password, then the page too. No changes. Any idea? flox August 01, 2006, at 06:09 AM You should give some more information about the situation. What's your configuration (especially regarding spam and it's "non-allowance")? How did you change the edit password for group/page? (changing it for the page with ?action=attr should really make it inaccessible for non-password-knowing people) Maybe you could link to the page which gets spammed, or at least show what kind of spam gets written there? I don't say all (or any) of this information will be helpful, but it might give at least some clues. I edited Site/NotifyList to get e-mails which should tell me changes. But - I never got e-mails... I have latest version installed over an older one, edited config.php and edited Site/NotifyList. flox August 01, 2006, at 06:09 AM You mean that you edited config.php to have (2006-07-20) After Installing PmWiki and following all the instructions given in the Installation dir, I can view all of the wiki pages, but can't edit even one of them.. I noticed when extensively trying to correct the problem, and when editing the config file it says: DefaultPasswords['admin'] = crypt('secret'); So can I ask how can you edit pages, and allow the world to edit your pages ? Is this a failed installations or is this normal default behaviour installation. I am guessing all file permissions are set to charmod 755, aside from the ("chmod 777 wiki.d") directory, so this I guess should not be a server file permissions problem. Hope someone can help :- Just to recap the actions ?action=attr work but the actions of pages ?action=edit do note:. added please help still can't edit my wiki !! http://martin.ntwk.co.uk/wiki2/pmwiki.php Ah, now I see. When I looked at your site I understood the problem. Edit works, but the edit screen has no content. Knowing that the content of the edit screen is determined by a template page called EditForm that is located in the Site group, I looked at your site group and see that the EditForm page does not exist (the link appears on Site.Site as a link to a new page). So, how to add that page if you can't edit? Get the file from a distribution and copy it over to the directory.
On my wikis, links to pages with dates (formatted a certain way) in their pagenames get converted to long date format, so the links don't point to the pages. Thus this:
on my wikis comes out like this:
Thursday, 3 May 2007 What setting is likely causing this? I'm running 2.1.11, but the problem goes back to 2.0 days. (I am posting the Q to the mailing list, but also have it here for demo purposes) Thks! -- TeganDowling Solution: disabled wikilog.php (Cookbook:WikiCalendar recipe), thanks to PM! (2006-07-05) I'm using CookbookExpireDiff? --the latest version. It doesn't seem to work--I followed the instructions, adding to the config file as it lists. Still doesn't delete when one tells it to. Any possible ideas on what's been done wrong? I C/P'd the listed text into the proper config.php file, and it pops up a textbox in the history asking if I wish to delete history, as it says it will. It just doesn't actually -delete- anything. Any ideas? (2006-06-29) How do I get a list of categories (as opposed to a page list of category pages)? When a user creates a new category, eg new category this doesn't create a page in the category group, consequently if I have, say, on the category home page, a list of categories (aka a pagelist) it doesn't reflect the new category my user has created! Don't know if this is too specific for your needs. By adding -PageName1,-PageName2 etc. to the PageList markup, the PageNames included can be excluded from the Category listing. Obviously only works on those specific pages, and not across the wiki in general. For example, this prevents the pages HomePage, SecretWiki and SandBox being included in the list of Categories --Des July 06, 2006, at 07:28 AM:- (:pagelist group=Category list=normal fmt=dictindex name=-HomePage,-SecretWiki,-SandBox:) I'm not sure that I understand what the difference is between a list of categories, as opposed to category pages, since categories are simply pages within the category group. If what you want is a list that doesn't create links back to those category pages, then create a pagelist template that does not enclose the reference to the page in double brackets, i.e. instead of * [[(=$Name}]] just write * (=$Name}. Then, when you add a pagelist directive that uses that format (to group=Category), the pagelist will generate a list of the names of categories (i.e., of pages in the category group), without creating links to those pages. Is that what you were looking for? If not, do you want a list of links to all categories, but are worried that the listing will cause the listing page to appear on each category page? If so, I'm not sure that including a pagelist of categories on some page, lets call it NewPage, will cause NewPage to be listed in each of the pages in the category group. I think the problem arises when using the method where the listing is created by placing the PageList in the Category.GroupFooter page, as described in the Categories page. I dispensed with this as it gave me a double listing when I used a customised PageList, and included pages where the Categories were referred to (as I think the original questioner found). I just create a Category/Categories page with a PageList similar to the above in it, and it seems to list only the Categories, and not any pages that refer to Categories (unlike the GroupFooter method). After testing Pico's NewPage thought (it didn't list NewPage) I found that the name=-HomePage, section appeared to be redundant too. --Des July 06, 2006, at 09:21 AM
A category is the text placed in the markup [[!Your Category]]. Of itself it does not have a page in the Category group.Furthermore there are pages in the Category group that are not categories, for example Category/HomePage.
Corollary: How do I refer to a category (eg Another approachHow I do understand the original question, is: How can I find categories linked to (by using A first answer that gets to my mind is to use something like: - that should list all pages containing " This solution unfortunately has some drawbacks:
(2006-06-24) When Pages are included with (:include:) in another group the text will be displayed but the pictures will not. I could use the Groupname in the Attach-Markup like The simplest possible solution is the Cookbook:UploadGroups recipe, given that you don't mind if your images get attached globally to the site, not to certain groups. (2006-06-19) Problems making the home page work with index.php? Hi All, I have created the index.php file and put this in the same directory as pmwiki.php but when i go to my page it just shows my index of the files, but if i enter the full path to the index file it works, am i missing something. that is if i go to www.mydomain.co.uk/pmwiki then i get the index of the files but if i go to www.mydomain.co.uk/pmwiki/index.php it will work but i cant get it to go straight to index,php by just entering www.mydomain.co.uk/pmwiki. is this a problem with what i have doing wrong or is it a problem with my host/isp. can anyone help me with this please.
Thanks
Geraint
Most web servers look for index.html before looking for index.htm, and then, if that is not found, index.php. So, it sounds like you probably have one (or more) of those other files in your directory that is being loaded before (and instead of) index.php. If so, you can get rid of (or rename) those files, so that they are not being automatically loaded, or you can use them as a front end, or splash screen, to call pmwiki.php. Unless you have a particular need to use a separate index.html file, the easiest thing will probably be to just delete (or rename) that file (or files) so that index.php will be loaded. (2006-06-13) How to add call to an external script ? I have a set of scripts doing several stuffs. Some are made in perl, other in php, ... I'd like to have their result appear in pmwiki. Actually, my question is how to make the page, for example GiveMeTheListOfHosts call a script named list_of_hosts.php and show correctly the result of it ? What variables should I fill in list_of_hosts.php ? What wrapper can I use in pmwiki ? Thanks (2006-06-08) I got this information when I upload a file: Warning: move_uploaded_file(uploads/IdeaBoard/charslist.jpg): failed to open stream: Permission denied in /home/bbbw/public_html/scripts/upload.php on line 198 Warning: move_uploaded_file(): Unable to move '/tmp/php4GefOm' to 'uploads/IdeaBoard/charslist.jpg' in /home/bbbw/public_html/scripts/upload.php on line 198 PmWiki can't process your request ?cannot move uploaded file to uploads/IdeaBoard/charslist.jpg We are sorry for any inconvenience. My host- i4host.net recently upgraded php to 4.4.2 from 4.4.1. I searched mail archive, it's said that "Safe Mode" was turned on while you crashed such a problem. Does anyone have some ideas on solving this? Thanks a lot! I posted this on the list for you here and there are several replies (just click next message). Perhaps the best thing might be for you to read those and then add the solution that worked to this page. (2006-06-02) I set the group password for reading the sites. BUT, I want only ONE site, which has no read protection... what can I do? Thanks! I'm not sure that I understand your question, so let me start by making sure you know about the two main documentation pages and approaches for passwords. Passwords can be set by administrators by editing the config.php file, see PasswordsAdmin, or by authors by using I know this - very bad English. Sorry. I want to set a read password for the hole group (via .GroupAttributes?action=attr). But 1 page shouldn't have this read password (I want to "clear" it with .Site?action=attr), it should be readable by everybody. Is there a easy way to do this or do I have to set the attributes for all pages (many pages) in the group?
What happens if you set the password for the group, and then clear the password for the page? (To clear the password on the page, you would probably have to explicitly go to the page and "assign" a password that means no password, which should be @nopass, but check the documentation to be sure).
Thank you very much, I hadn't found @nopass!
(2006-05-27) Why not use frame on preview page? I mean, there're 2 buttons under the edit textbox: "Save and edit", "Preview". While I click these buttons, I hope to see the result as soon as possible. By using a frame, edit page takes 50% and view page takes the rest(horizontal). Once I click those two buttons, the frame of view page will be refreshed, then the new view appears. This method is far more convenience than what it is now. (2006-05-24 #1) How do I put a word with an apostrophe as a keyword? On the site where I'm using pmwiki (version pmwiki-2.0.13), when I use use something with an apostrophe, for example it doesn't convert it to a keyword, but just leaves it as text on the page. If I remove the apostrophe, it works as a keyword. If I try it as o'clock it appears to work, but when I look at the source code of the generated page, it has a bunch of squares and stuff instead of the word o'clock in the meta tag. I don't know much about search engines & |