links in template files don't change by shorturl,why?  Top

  • 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?

  • 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
  • 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
  • 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!
  • PN .764
    Xanthia theme
    home.htm module template file
    in this file i have some link in a javascript submenu.

This list is based on the users active over the last 60 minutes.