Retrieving Information from a Page and Displaying a Preview of it
PermalinkI would like 3-5 different articles having previewed, each being bumped down a slot when a new article is published.
Would the best way to be sorting through the database and selecting the most recent, 2nd most recent etc and then using a substring to cut it off, or is there a more efficient/easier way?
I would appreciate any help given.
Thanks,
Jack
This assumes each article is its own page -- which is generally how C5 works best. If your articles, on the other hand, are individual blocks all on one page and you just want to show the 5 most recent, that would require some custom coding. If that's the case, can you explain your situation in a bit more detail (like how the news articles are placed on the site, where they're located, what order they're in, how users add new ones, etc. etc.)? Could probably point you to some sample code if I had more details about it.
Not sure what the problem is, but I'll try updating C5 and see if that helps.
Updating C5 did not help.
I left it like that for over 20 minutes, and it remained like that.
Might also want to check the log in the dashboard for any errors, and if nothing shows up there also try to check the PHP error logs on your server (you'll have to find out how to do this from your web hosting company, as its different from place to place).
Reloading does not do anything. Nothing new shows up
When I go to the dashboard logs it says there aren't any logs to show.
When I check the for the PHP error log the file does not exist.
By the way, I really appreciate your help :)
http://www.concrete5.org/marketplace/addons/easy-news/...
Hope that helps?