Member
Member
lucian   2012-01-21, 08:24
#1

Hey guys, got an issue I'd like some guidance with.

I am running a photoblog, and I'd like my first page to be the most recent news article by itself. I wrote a custom function that allowed me to do this in the index.php ; however, I lose the getBareNewsTitle function since it's not in news.php

Any way to either put the most recent News Title in my header title, or to automatically send the front page to the most recent specific blog entry would be what I'm looking for. Thanks!

Administrator
Administrator
acrylian   2012-01-21, 12:04
#2

Try using either the object model (tutorial on the user guide) directly or the get/printLatestNews() functions (see documentation).

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.