Show Stories Differently on the Front Page and the Category Page

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 07-29-2008, 07:10 PM
New Pligger
 
Join Date: Jul 2008
Posts: 5
Hi,
I've search the forum and have not found anything on this subject. I would like to show my stories on the homepage as a grid view and then have them show in the normal list view on comment and category pages.

I've tried many things in the backend but can't seem to get it to work completely.

Has anyone tried this or done something similar?

Thanks
Reply With Quote
  #2 (permalink)  
Old 07-29-2008, 07:20 PM
redwine's Avatar
Pligg Donor
Pligg Version: 9.8
Pligg Template: custom templat
 
Join Date: Jul 2007
Location: Canada
Posts: 216
As a matter of fact I just implemented it yesterday on one of my dev sites.
On the Published and Upcoming pages, I show only the title and the "posted by and time ago". The rest of the data is only displayed on the story page and the user pages (from the profile: saved, submitted, voted, etc.). In addition, the displayed data alternates colors every second row.

I will post the code to do it tomorrow on this thread.
Reply With Quote
  #3 (permalink)  
Old 07-29-2008, 07:29 PM
New Pligger
 
Join Date: Jul 2008
Posts: 5
Thanks very much redwine! Can't wait to see the code.
Reply With Quote
  #4 (permalink)  
Old 02-28-2010, 01:49 AM
New Pligger
 
Join Date: Feb 2010
Posts: 11
redwine/ maxkiesler,

Could you please share the code to display the story in the grid format. I would like to display my stories on first page as grid layout of 3x3
Reply With Quote
Reply

Thread Tools
Display Modes




Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development