News index - which templates?
mishima 145
From: -
From: -
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?
Philipp
From: Austria
Administrator
1342From: Austria
Thanks. I changed this now to 30 minutes.
1 Re: News index - which templates?
mishima
OP
145
From: -
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.
The following error occurred:
The time limit to edit this message (0 minutes) has expired.
1 Re: News index - which templates?
mishima
OP
145
From: -
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!
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?
Philipp
From: Austria
Administrator
1342From: 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?
mishima
OP
145
From: -
From: -
Cannot edit posts for some weird reason. Please can admin delete URL above! Thanks
1 Re: News index - which templates?
mishima
OP
145
From: -
From: -
Sorted.
It was news_story_current_rss that needed editing.
It was news_story_current_rss that needed editing.
1 Re: News index - which templates?
mishima
OP
145
From: -
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?
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?
Philipp
From: Austria
Administrator
1342From: Austria
The easiest way to find templates is viewing the source code of the page. Basically, all template names are listed as comments.
Examples:
for the site_header template
or:
for the news_story template
Examples:
<!-- Template: site_header -->
for the site_header template
or:
<!-- Template: news_story -->
for the news_story template
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,