[pmwiki-users] get current coockbook script path
Sebastian Siedentopf
schlaefer at macnews.de
Wed Aug 24 02:36:03 CDT 2005
Hi
I have a cookbook script that outputs some html with css url elements:
background: url(image.jpg)
Currently the images have to be in the skin folder, but I want them
to go in a cookbook subfolder together with my script, without
hardcoding the cookbook subfolder name:
url($CurrentScriptLocation/image.jpg)
instead something like
url(/cookbook/myscript/image.jpg)
How do I evaluate the current cookbook subfolder my cookbook script
is running from ($CurrentScriptLocation)?
Sebastian
More information about the pmwiki-users
mailing list