![]() |
|
Sticky News - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html) +--- Thread: Sticky News (/thread-4212.html) |
Sticky News - amdbuilder - 08-12-2008 Hey, How can I make a news article stick to the top of the home page? My goal is to have a welcome message followed by news posts for each event (album) shown on the home page. Thanks Sticky News - acrylian - 09-12-2008 If this welcome message does not have to be a news articles you can call a page's content directly via If you really want to call a specific news articles you would have to use the Zenpage class methods: That returns an array of the news article called you then can print as you like with for example: NOTE: The next version of Zenpage will be slightly reworked regarding the class setup so it this setup will change a little. Sticky News - amdbuilder - 11-12-2008 Could you dumb that down a touch? I got the news to show on the first page and then I post news about each event with a link to their albums. I don't really care what method the block of text welcoming people uses just tell me where I need to put what code. Thanks Sticky News - acrylian - 11-12-2008 Just place something like ``(with the options mentioned on the link above) where you want to appear it on your theme's index.php. Where exactly of course depends on your theme's layout. If you have problems to understand the functions guide please read: More info about Zenphoto theming here: and some more specific details for Zenpage here: |