Show more button in frontpage

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
^DJ_Link^
Regular
Posts: 8
Joined: Tue Jun 03, 2008 3:49 pm
Contact:

Show more button in frontpage

Post by ^DJ_Link^ »

Hi there!
I have a small issue. My entries are posted in full in the front page and I wanted that only a small portion appears and then a Show full entry button that would redirect to the full post.

Also another issue is that when I click the entry category it never finds any entries with that category although at least the one I clicked should be in there.

You can check what i mean here:
http://blog.differentpixel.com
Just click in a category.
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

You can divide your entry into an initial, brief paragraph (entry body) and place the rest of the entry in the extended body... that will show just the entry body on overview pages followed by a "continue reading blah blah" link to the full entry - as long as the template you are using did not override that functionality.

Regarding your categories, did you recently upgrade??? Something might have gone wrong during the upgrade. See this FAQ for upgrade issues, including re-upgrading: http://www.s9y.org/11.html#A18
=Don=
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Show more button in frontpage

Post by garvinhicking »

Hi!

For that serendipitys has a seperation into "Entry Body" and "Extended Entry". Have a look at the page where you create blog entries: Copy everything into "Extended Entry" that you only want to show when a person clicks on an article.

As for your second issue: That sounds strange. Did you upgrade your serendipity installation from an older one? Are you using MySQL or SQLite or PostgreSQL?

Which event plugins are you using? Did you change anything in your s9y path/permalink configuration?

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/
^DJ_Link^
Regular
Posts: 8
Joined: Tue Jun 03, 2008 3:49 pm
Contact:

Re: Show more button in frontpage

Post by ^DJ_Link^ »

garvinhicking wrote:Hi!

For that serendipitys has a seperation into "Entry Body" and "Extended Entry". Have a look at the page where you create blog entries: Copy everything into "Extended Entry" that you only want to show when a person clicks on an article.

As for your second issue: That sounds strange. Did you upgrade your serendipity installation from an older one? Are you using MySQL or SQLite or PostgreSQL?

Which event plugins are you using? Did you change anything in your s9y path/permalink configuration?

Regards,
Garvin
Well as for the show more it's solved, i feel really stupid as i never noticed that. As for the categories, yes I've upgraded but it isn't working like forever, i've made like 4 upgrades since then. I'm using mysql and i have that plugin that allows multiple categories.
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Multiple categories are allowed in the default configuration. Perhaps you're speaking of the "category templates" plugin?

What other event plugins do you have installed? And what is your configuration for paths?
Judebert
---
Website | Wishlist | PayPal
^DJ_Link^
Regular
Posts: 8
Joined: Tue Jun 03, 2008 3:49 pm
Contact:

Post by ^DJ_Link^ »

judebert wrote:Multiple categories are allowed in the default configuration. Perhaps you're speaking of the "category templates" plugin?

What other event plugins do you have installed? And what is your configuration for paths?
No, i guess it's just the default configuration, as for the paths they are:
full : /home/myusername/public_html/blog/
Upload path : uploads/
Relative path: /
templates: templates/
uploads: uploads/
URL to blog : http://blog.differentpixel.com/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

This can very well be a mysql error because your category table might not have been properly upgraded. This can happen if you do not properly execute the upgrade. How did you do it? Like outlined in the FAQ on s9y.org?

Check the file sql/Db.sql and go through the tables and compare them with your tables and columns in your database with a tool like phpMyAdmin -- they must have the same structure.

If not, queries will fail that try to fetch entries for specific categories.

Please also don't forget to list ALL the event plugins you are using.

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/
Post Reply