Hi,
On the home page, subsequent pages and archive pages I just want to show the Title and the Posted By line for each entry.
When the user clicks on the title it should take the user to individual entry page which has the complete entry and other options or mods installed.
How can I do this?
Thanks for any help.
BTW... I am using s9y v0.8x
Only title and Posted by line?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Only title and Posted by line?
Hi!
First you upgrade to Serendipity 1.1.2 or 1.2-beta. Then you edit the 'entries.tpl' file of the template you are using, and there you can strip/change any text about postings you have.
Best regards,
Garvin
First you upgrade to Serendipity 1.1.2 or 1.2-beta. Then you edit the 'entries.tpl' file of the template you are using, and there you can strip/change any text about postings you have.
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
0.8 is really very old already. But you SHOULD be able to update without a problem, at least it's meant to.
Making a backup first (of files AND SQL database!) is advised, though. Check the s9y.org FAQ on how to perform the upgrade.
The current nightly is advisable and safe, yes.
Best regards,
Garvin
0.8 is really very old already. But you SHOULD be able to update without a problem, at least it's meant to.
Making a backup first (of files AND SQL database!) is advised, though. Check the s9y.org FAQ on how to perform the upgrade.
The current nightly is advisable and safe, yes.
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Gravin...
I believe entries.tpl is a template for individual story page and not for the categories/home page and subsquent pages/search results pages/archive pages. Am i cirrect?
If i edit the entires.tpl it will modify the display for individual story pages and also other mentioned pages i mentioned above. I dont want to modify the individual story pages but i want to modify the other pages display.
Example:
My site is: www.auctionwire.info
On the home page... I want only the Title and Posted By Line below... but all the other content for each story should be available when i click on teh title from Home page.
How can I do that?
Thanks
I believe entries.tpl is a template for individual story page and not for the categories/home page and subsquent pages/search results pages/archive pages. Am i cirrect?
If i edit the entires.tpl it will modify the display for individual story pages and also other mentioned pages i mentioned above. I dont want to modify the individual story pages but i want to modify the other pages display.
Example:
My site is: www.auctionwire.info
On the home page... I want only the Title and Posted By Line below... but all the other content for each story should be available when i click on teh title from Home page.
How can I do that?
Thanks
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
You can use Smarty IF-Syntax to check if you'Re in category view, or in archives view, and distinct information based on those variable. The full variable documentation can be found in the technical documentation on www.s9y.org.
In your case, you can use {if $is_single_entry} to indicate what should be printed within single-entry mode and what in the other case(s).
Best regards,
Garvin
No, that's not correct. Entries.tpl is used whenever you view an entry. No matter if you view it in a category, on a single entry page or an archive overview, always the information of that file is evaluated.I believe entries.tpl is a template for individual story page and not for the categories/home page and subsquent pages/search results pages/archive pages. Am i cirrect?
You can use Smarty IF-Syntax to check if you'Re in category view, or in archives view, and distinct information based on those variable. The full variable documentation can be found in the technical documentation on www.s9y.org.
In your case, you can use {if $is_single_entry} to indicate what should be printed within single-entry mode and what in the other case(s).
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/