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?
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- internetking created topic »password problem« 25. May
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
- nestormateo responded to »Fillters in Clip« 24. May
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
- 0 users
This list is based on users active over the last 60 minutes.
