hi,
a question about shorurl...
i have some links in home.htm template.
one is : index.php?module=photoshare&func=viewallfolders
shorturl doesn't work about this link.
but when i put it in a block it works ok.
why is it so ?
why the links in template file don't change?
what is the solution?
Forum Activity
- login hook on Mar 18
- 2 sites 1 database on Mar 18
- Output on Mar 18
- how to change the format of shorturls on Mar 17
- Upgrade Old Postnuke Site on Mar 17
- iPhone-Theme - please test on Mar 17
- mymap not list as a hook in zk 1.2.2 on Mar 17
Zikula Blog
- How to Become a HipHop Fan on Feb 03
- HTML5 on Feb 02
- Support Free Software on Jan 22
- Module Files available on Dec 13
- Why I love Zikula (Reason #768) on Nov 11
- Theme Creator? on Nov 08
- Time to Embrace PHP 5 on Nov 08
Login
links in template files don't change by shorturl,why?
-
- Rank: Steering Committee
- Registered: 11.12.02
- last visit: 21.10.09
- Posts: 11706
You need to use pnModURL to form your URLs, not hard code them. E.g, for the example you posted:
Code
<!--[pnmodurl modname=photoshare func=viewallfolders]-->
--
itbegins.co.uk - Zikula Consulting
birtwistle.me.uk - Personal Blog
Please read the Support Guide -
- Rank: Professional
- Registered: 23.11.03
- last visit: 13.12.09
- Posts: 1486
Which theme file, which theme, which version of PostNuke, what are you trying to accomplish by putting this in a theme file? I'm afraid your post is a bit too obscure for me to understand you.
Also, unless this is related to your origional issue you should start a new thread with a new descriptive heading.
--
Under Construction!
- Moderated by :
- Support
