Moderators mark1million Posted March 13, 2010 Moderators Report Posted March 13, 2010 OK so here is what i thought, add a page from the admin and add the following code, <?php // Show the News module, call the function ShowNewsFront // This is in the modules/Frontpage folder News::ShowNewsFront(1000); ?> But no, it doesn't seem to like it Clearly im having an off day, could some one put me right please Quote
Administrators simpilot Posted March 13, 2010 Administrators Report Posted March 13, 2010 Close <?php MainController::Run('News', 'ShowNewsFront', 1000); ?> Edit - I am not sure it will work at all through the add page option in the admin side.... I do not use that feature, I do know it will work in a regular template... 1 Quote
Moderators mark1million Posted March 13, 2010 Author Moderators Report Posted March 13, 2010 Thanks again Simpilot Quote
Guest Brian Posted March 14, 2010 Report Posted March 14, 2010 Since im not the Object Oriented Nerd, Does 1000 mean, 1000 characters to be shown? Quote
Administrators Nabeel Posted March 14, 2010 Administrators Report Posted March 14, 2010 Since im not the Object Oriented Nerd, Does 1000 mean, 1000 characters to be shown? It's nothing OO, it's just a function call. The 1000 is how many items to show. Quote
Moderators mark1million Posted March 14, 2010 Author Moderators Report Posted March 14, 2010 Basically i wanted to limit the items on my homepage but i wanted a page that would show all news entries as well Works a treat. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.