[pmwiki-users] pmwiki-based site is broken

2014-12-16 Thread Mark Lee
I cloned my pmwiki-based site from one host to another. My cloned site is working fine. The original site is broken. As I was modifying files for the new site, I think I accidentally saved a modified file to the orginal site. I don't know where to start trying to fix this. Can you tell what is wron

[pmwiki-users] listing non-PMWiki files with wikish

2013-07-08 Thread Mark Lee
I created a folder called "images" in same path as pmwiki.php (i.e. when I list out the folders with my ftp tool, I see folders for the images folder as well as the folders cookbook, local, script, pub, wiki.d, etc). When I do the wikish command {(ls)} I see filenames in the folder wiki.d. I want t

Re: [pmwiki-users] wikish checking if user logged in

2013-06-29 Thread Mark Lee
gt; a different configuration. Apparently you have installed it in such a way > that it is limited to only administrators using it. > > If you will go to this page: > > http://www.pmwiki.org/wiki/Cookbook/WikiShConfig > > you will see 6 different example configurations. > >

[pmwiki-users] wikish checking if user logged in

2013-06-28 Thread Mark Lee
I have a solution for interaction between wikish and javascript for my applicationt. I have a file called Experiments.Locations that I write data to with the freshest values of some parameters, but I only want to do this if I am logged in. If I am not logged in, I will not write to the file, but us

[pmwiki-users] can wikish read a textbox?

2013-06-27 Thread Mark Lee
I am experimenting with wikish_button. I am wondering if it is possible for wikish code to read a textbox value. For example, if the texbox is defined in the final HTML by I would like to set a variable in wikish code to the value "Hello World!" by clicking a button. Is that possible? __

[pmwiki-users] calling pagelist from a php function

2013-06-27 Thread Mark Lee
The pagelist markup is defined in the file pagelist.php. How do I implement a pagelist from my own php function? I know I call some function in pagelist.php and pass some parameters, but I don't see how. Example code please. ___ pmwiki-users mailing list

[pmwiki-users] pagelist: select pages with search string

2013-06-19 Thread Mark Lee
This is probably obvious but how can I list pages that contain a string? For example if a few pages contain the string "hello world", how would I list those pages in a table? If that is simple, the next level of complexity would be listing pages via a regex expression. -Mark ___

[pmwiki-users] request for form example

2013-06-19 Thread Mark Lee
Can someone please make a simple example showing these features: 1. Set a form variable using a text box with submit button. The prompt next to the box says something like "Enter a number between 1 and 10. 2. After the submit button is clicked, the pagelist function is called with the count set to

Re: [pmwiki-users] displaying coordinates of mouse click

2013-06-18 Thread Mark Lee
ges/other/PaintDotNetMap05.jpg');\">"; $out=$out.""; return Keep($out); } #- On Thu, Jun 13, 2013 at 8:55 AM, Petko Yotov <5...@5ko.fr> wrote: > Mark Lee writes: > >> Does the $HTMLHeadFmt go into config.php or skin.t

Re: [pmwiki-users] displaying coordinates of mouse click

2013-06-12 Thread Mark Lee
Petko, Does the $HTMLHeadFmt go into config.php or skin.tmpl? I haven't used forms before in pmwiki, and I haven't created the custom markup yet, but I did try out something that got this function working. I will need to do what you described to have a clean look and feel, but the following hack s

Re: [pmwiki-users] minimal text file to create pmwiki page

2013-06-06 Thread Mark Lee
wrote: > Mark Lee wrote: > > I will share the Excel file with macro in a separate email. Here is the > VBA > > script that runs when a textbox object is clicked (the button). It > > processes only one row currently. If you understand this script, it > > shouldn't be t

[pmwiki-users] displaying coordinates of mouse click

2013-06-06 Thread Mark Lee
I really like PMWiki. I am moving my wiki to this platform. This parallel site is at Wikidot, and one of the things I did there is shown below. http://picturecollection.wikidot.com/test3:23 If you click on the picture, the click location is captured behind the scenes, then X and Y coordinates are

Re: [pmwiki-users] minimal text file to create pmwiki page

2013-06-03 Thread Mark Lee
;suppress newline with ";" StringOut = "%0a" 'newline Print #FileNumber, StringOut; 'suppress newline with ";" MsgBox ("done") 'Close the file Close #FileNumber End Sub -Mark On Sun, Jun 2, 2013 at 8:25 AM, Edwin M

Re: [pmwiki-users] minimal text file to create pmwiki page

2013-06-02 Thread Mark Lee
or a long time I have been > waiting for such a script to keep track of my parts both locally and pmwiki. > > Regards, > Edwin > > > On Sat, Jun 1, 2013 at 3:54 PM, Tamara Temple wrote: > >> Mark Lee wrote: >> > Thank you Tamara. The following does just what

[pmwiki-users] blix navigation tabs

2013-06-01 Thread Mark Lee
I like the blix template, but there is one thing I would like to change. On the tabs for site navigation, if I have subcategories, they grow the width of the main tab. For example, if I have category Plants, and subcategories Apples and Pears, on hover over Plants, I get - plants -- -apple

Re: [pmwiki-users] minimal text file to create pmwiki page

2013-06-01 Thread Mark Lee
On Fri, May 31, 2013 at 6:40 PM, Tamara Temple wrote: > Mark Lee wrote: > > Or to put it another way, if I use a text editor, such as vi or notepad > on windows, what is the smallest text file I > > can ftp to my pmwiki space that will print "hello world" when I visi

Re: [pmwiki-users] minimal text file to create pmwiki page

2013-05-31 Thread Mark Lee
Or to put it another way, if I use a text editor, such as vi or notepad on windows, what is the smallest text file I can ftp to my pmwiki space that will print "hello world" when I visit the page with my browser? -Mark On May 31, 2013 5:57 PM, "Mark Lee" wrote: > I h

[pmwiki-users] minimal text file to create pmwiki page

2013-05-31 Thread Mark Lee
I have a wiki from another system that I want to recreate in pmwiki. I have the contents of the pages stored in a spreadsheet. I will be writing a script to convert the text files into pmwiki pages. I found this: Only two lines are necessary in a PmWiki page file: version=pmwiki-2.1.0 urlencoded=

Re: [pmwiki-users] wikish example please

2013-05-29 Thread Mark Lee
k out the WikiSh tutorial I've got out there. > > WikiSh doesn't officially support arrays, but you can create variables > named ${a-1}, ${a-2}, etc. and then access them via ${a-${i}} where ${i} > contains a 1 or a 2. Not sure if that makes sense, but that's the only w

Re: [pmwiki-users] wikish example please

2013-05-29 Thread Mark Lee
p. Is this something that can be done with functions in wikish? -Mark On Tue, May 28, 2013 at 11:39 PM, Mark Lee wrote: > Thank you Peter! Amazing. That example is so helpful. I'm glad I found > pmwiki. > -Mark > > > On Tue, May 28, 2013 at 11:14 PM, Peter Bowers wrot

[pmwiki-users] wikish example please

2013-05-28 Thread Mark Lee
I am new to wikish. Is it possible to do the following with wikish? A subset of pages in a group have this markup on the page. (:location x=1 y=2:) (:location x=10 y=10:) (:location x=20 y=5) etc... 1. What is the code for listing out the locations, one per line, along with the pagenames, exclud

Re: [pmwiki-users] use pagelist results in function

2013-05-27 Thread Mark Lee
by pagelist and a custom pagelist template. I could use some guidance. Thanks, Mark On Sun, May 26, 2013 at 4:36 PM, Mark Lee wrote: > I guess I can make a copy of the pagelist script and add any feature I > want. I think I will explore that next. > > > On Sun, May 26, 2013 a

Re: [pmwiki-users] use pagelist results in function

2013-05-26 Thread Mark Lee
I guess I can make a copy of the pagelist script and add any feature I want. I think I will explore that next. On Sun, May 26, 2013 at 7:38 AM, Mark Lee wrote: > How can I use the results of (:pagelist ...:) in a function? I a PTV in > some pages in a group that holds a number. such as

[pmwiki-users] use pagelist results in function

2013-05-26 Thread Mark Lee
How can I use the results of (:pagelist ...:) in a function? I a PTV in some pages in a group that holds a number. such as (:size x=10:). I want to generate a line of html for each page found if the value is in a range. I can display the values in a table using pagelist, but I have other ideas than

[pmwiki-users] help with basic pmwiki code

2013-05-22 Thread Mark Lee
I am new to pmwiki. What is a simple function for counting the number of comments used on a page and then displaying the result anywhere on the page? For example, if I have markup like this, the function would display the result that there are three comments in the the markup.

Re: [pmwiki-users] relative position style

2013-05-10 Thread Mark Lee
:) markup, the garden map is not included. Is this possible? -Mark On Thu, May 9, 2013 at 12:38 AM, Peter Bowers wrote: > > > On Thu, May 9, 2013 at 2:26 AM, Mark Lee wrote: > >> Thanks Peter. So helpful. >> I have been reading about regular expressions. I am wonde

Re: [pmwiki-users] relative position style

2013-05-08 Thread Mark Lee
lso used before "\s" and "\)". Is that part of pmwiki? -Mark On Wed, May 8, 2013 at 7:47 AM, Peter Bowers wrote: > On Wed, May 8, 2013 at 4:23 PM, Mark Lee wrote: > >> The X and Y position of the plant on the map is contained on the page. >> Lets say a

Re: [pmwiki-users] relative position style

2013-05-08 Thread Mark Lee
, I am able to place a marker using styles. For example, if I want a marker "1" at position <132,165> I use 2. Is this possible in pmwiki? -Mark On Wed, May 8, 2013 at 2:12 AM, Petko Yotov <5...@5ko.fr> wrote: > Mark Lee writes: > >> I want to have a background

[pmwiki-users] relative position style

2013-05-07 Thread Mark Lee
I want to have a background image and then position text using page variables. Is this possible with PMWiki? Here is what I am doing with html and I am not sure it is possible with PMWiki: plant { position:absolute; left:0px; top:0px; background-color:transparent; color:red; } plant:hover { ba