Elxis CMS Forum

Support => General => Topic started by: ROUBOS on May 05, 2011, 02:03:41

Title: Advice on page setup....
Post by: ROUBOS on May 05, 2011, 02:03:41
Hi,
I want to setup a page in a similar way that msn gr has.
The slider with 5 latest news items on top, then more news items underneath.
Which modules should I use, and is it a blog setup?
Any advice would be appreciated.
thanks

EDIT>>
looks like Easy Slider does the job well. How do we acompany news items with an image like that though?
What's the main difference between the main body and the module frontpage?
Title: Re: Advice on page setup....
Post by: rentasite on May 05, 2011, 03:02:37
looks like Easy Slider does the job well. How do we acompany news items with an image like that though?

http://wiki.elxis.org/wiki/Easy_Slider

What's the main difference between the main body and the module frontpage?

Frontpage Module: This module can pull out of your sections or categories a number of content-items depending on configurable criteria such us the most-popular, latest... etc. and publish it to your frontpage. Elxis frontpage-module is published by default when you choose to install sample-data during elxis installation. Here must note that decide that this module designed for use in site's frontpage there is no limitation to use it in any other page or all pages.  http://wiki.elxis.org/wiki/Frontpage_setup
Title: Re: Advice on page setup....
Post by: ROUBOS on May 05, 2011, 04:43:54
so in the index.php file, we use: <?php mosLoadModules('header', -2); ?> to display the frontpage module,
and not the: <?php mosMainBody(); ?>
But we also need the MainBody module in order to display all the content idems in its place. Even autonomous pages. Correct? Or am I wrong and confused here?

EDIT>>> and instead of the module Frontpage, I can use the module Easy Slider to display items instead?
Title: Re: Advice on page setup....
Post by: webgift on May 05, 2011, 11:16:44
so in the index.php file, we use: <?php mosLoadModules('header', -2); ?> to display the frontpage module,
No. We use that piece of code to display all the modules which "runs" at module position (http://wiki.elxis.org/wiki/Module_positions) : header. ;)

and not the: <?php mosMainBody(); ?>
This piece of code display your content. There is no MainBody module.
You can create module positions up or down to <?php mosMainBody(); ?> and display the modules you wish over there.

Note : In case that you want to display specific module NOT MODULE POSITION you can do that writing : <?php elxLoadModule('mod_search', -1); ?>. This one display the module search. ;)
Title: Re: Advice on page setup....
Post by: ROUBOS on May 05, 2011, 13:20:30
cheers ;)