This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

News index - which templates?


avatar
mishima 144
From: -
Hello,

I've been trying to customize: news/index.html but I cannot seem to find out which template I need to be editing. Which template do I need to edit in order to add a link for say news archive?

At the moment this page displays a list of news stories for the current month is this correct?

Thanks for your help,

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


1 Re: News index - which templates?
avatar
Administrator
1340
From: Vienna, Austria
Thanks. I changed this now to 30 minutes.
1 Re: News index - which templates?
avatar
OP 144
From: -
On the above I have an "edit" button and this delivers the message:

The following error occurred:

The time limit to edit this message (0 minutes) has expired.
1 Re: News index - which templates?
avatar
OP 144
From: -
Thanks

There was a button yesterday and that did report an error. But there is no edit button at all today, on all of my posts within the thread!
1 Re: News index - which templates?
avatar
Administrator
1340
From: Vienna, Austria
Cannot edit posts for some weird reason.

Do you get any error message?

Please can admin delete URL above! Thanks

Done
1 Re: News index - which templates?
avatar
OP 144
From: -
Cannot edit posts for some weird reason. Please can admin delete URL above! Thanks
1 Re: News index - which templates?
avatar
OP 144
From: -
Sorted.

It was news_story_current_rss that needed editing.
1 Re: News index - which templates?
avatar
OP 144
From: -
Thanks. I'm aware of how to pinpoint which templates are used within the source code of page. I used this and cannot find which template I need to edit hence my post.

news_story template is not the template I need to edit as I have tried editing this template and it doesn't give the desired outcome that I requested in my opening post.

So to ask again, what template do I need to edit to customise the display of news/index.html?
1 Re: News index - which templates?
avatar
Administrator
1340
From: Vienna, Austria
The easiest way to find templates is viewing the source code of the page. Basically, all template names are listed as comments.

Examples:
<!-- Template: site_header -->

for the site_header template

or:
<!-- Template: news_story -->

for the news_story template

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.