Home N-13 News Forums Help Search
RegisterForgot password?
How to add image to post necklacesdiscou
Known bugs - 4.0.3 necklacesdiscou

Latest N-13 News 4.0.3

What is N-13 News?
Where can I get help?
Known bugs

Forums Help & Support How can I redirect [readmore]Full Story[/readmore] to {categories}.php/?id= item?
M1fcf
Posted on 22 Oct 2011, 12:06:04

Access: Member
Total Posts: 3
Joined: 2011-06-01

The structure of the site is the Front Page has news articles and is using a template that has File Downloads removed, but when a user clicks on a story, I want to take them to that article where the File Downloads section has been restored.

Example:

Front Page: http://www.scouts-hants.org.uk/build_area/index.php
News Item with no attachments: "County Executive Minutes" http://www.scouts-hants.org.uk/build_area/index.php?id=81
News Item with attachments: http://www.scouts-hants.org.uk/build_area/executive.php?id=81

What I am looking at is someway of modifying the 'NoDownload' template used for index.php so that the [readmore] tags populate the link with something like {category}.php?id=81 so that we call the right page that is using the 'Downloads' template.
#3543
Last edited by M1fcf at 2011-10-22 12:14:26 Reason: activating the URLs to make it easier
Network-13.com © 2013