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?
- mdee responded to »Different page content under one template (tpl file) based on URL« 07:17 AM
- Guite responded to »Remove contents of nuke_sc_anticracker from Database« 01:30 AM
- espaan responded to »Categories disappear when editing ...« 08. Feb
- eledril responded to »How decrease zikula cpu usage« 08. Feb
- jmvaughn responded to »PN 0.764 to Zikula 1.1.2 (migration) Internal Server Error« 08. Feb
- eledril created topic »Where can I download BBCode and BBSmile?« 08. Feb
- Paustian responded to »Need Feedback« 08. Feb
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
links in template files don't change by shorturl,why?
-
- Rank: Legend
- Registered: Dec 11, 2002
- Last visit: Oct 21, 2009
- Posts: 11674
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 -
**unknown user**
- Rank: Freshman
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 58
i put this line in theme file :
aI('text=;URL=');
but nothing changes.
this line is in tags.(javascript).
may it cause the problem?
edited by: daliri_ha, Nov 11, 2007 - 10:23 AM -
- Rank: Expert
- Registered: Nov 23, 2003
- Last visit: Dec 13, 2009
- Posts: 1487
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
Users on-line
This list is based on users active over the last 60 minutes.
