SimplePortal

Development => Feature Requests => Topic started by: perfec2 on June 24, 2012, 02:02:09 PM

Title: How can I achieve this about Article
Post by: perfec2 on June 24, 2012, 02:02:09 PM
After installing SP, Anytime I add article they arrange by date, Please how can I make it to arrange by time I add them not by date they are being posted on forum.
What code to edit? as I use Sp to control Homepage Feature post.
Also how can I remove date on thesame?

Please let me know codes to edit or what to do.
Title: Re: How can I achieve this about Article
Post by: AngelinaBelle on August 30, 2012, 08:06:17 AM
This kind of change has not been planned for SimplePortal.
I understand perfectly why it is a good idea.  Thinking of articles or blog posts, it can be important to be able to create content at one time and publish it at another time, and to control the order that the content appears in.

This kind of change would require a fair amount of work, including adding new columns to the articles table on the database.
To get you started, I recommend you read through PortalBlocks.php, PortalArticles.php, ManagePortalArticles.php, and also PortalArticles.template.php.

After that, you would want to start discussions on the custom coding board.
It would be a fair amount of work.  If you are lucky, you will get others interested in the same thing.  Phantomm and Underdog are both pretty familiar with SimplePortal coding by now, and have been known to create mods and other customizations for SMF and sp.

Good Luck!
SimplePortal 2.3.8 © 2008-2024, SimplePortal