Jump to content

New page for the news


mark1million

Recommended Posts

  • Moderators

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 :lol:

Link to comment
Share on other sites

  • Administrators

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...

B)

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...