If the url of my website is http://mysite.com/smth/ (opening mysite.com doesn't give user anything), and I need to place links like
a href="$mysiteurl/pages/page" or a href="$mysiteurl/something",
how do I get $mysiteurl?
Does this make sense?
First, why do you have mysite.com/something when mysite.com means nothing? Why don't you just use the root of your domain then? (Zenphoto can be installed in the root of course).
Second, Zenphoto provides several functions to get these links ($mysiteurl/pages/page is a Zenpage page named "page" and $mysiteurl/something is an album named something).
There are also some constants WEBPATH and SERVERPATH, or FULLSERVERPATH available:http://www.zenphoto.org/documentation/functions/_functions-basic.php.html
Post erased
@acrylian,
I had started to write something while you were writing your post. When I completed my entry, I noticed that your answer was better than mine.