Elxis CMS Forum

Support => General => Topic started by: ROUBOS on December 12, 2009, 05:45:57

Title: How do I use the Ultimate Content Display?
Post by: ROUBOS on December 12, 2009, 05:45:57
OK, I have downloaded the UCD module.
How do I go about setting it up?

I have added the following code to the index.php : <?php elxLoadModule('mod_ucd'); ?>

Now what setting do I need ? Could someone please walk me through this?

Can someone please explain this: "Content source IDs (required):"

thanks
Title: Re: How do I use the Ultimate Content Display?
Post by: xmanhattan on December 12, 2009, 12:37:50
Roubos,

Quote
Can someone please explain this: "Content source IDs (required):"
The ID's column is shown at the top and in the middle of every section, category, and content manager page.

Well I did it by adding adding a banner area to the bottom of the template html (okto) like this:
Code: [Select]
<div class="inside">
<?php mosMainBody(); ?>
<?php mosLoadModules(&#39;banner_b&#39;, -2); ?>
</div>
</div>

Then I added banner_b to the template manager module positions at the end of the list.

Finally using the Modules Manager Ultimate Content Display, make sure that you put something in the Unique ID especially if you copy this module more than once to use it to display different content.
Put a section or category or multiple content items ID's into Content source IDs and that should do it.

You can experiment using the other settings afterwards.
Title: Re: How do I use the Ultimate Content Display?
Post by: Ivan Trebješanin on December 12, 2009, 13:22:23
Can someone please explain this: "Content source IDs (required):"

This means that you must specify some section/category ID to be displayed.
Title: Re: How do I use the Ultimate Content Display?
Post by: ROUBOS on December 12, 2009, 18:20:18
thanks people.
will work on it now :)
Loving Elxis the more I use it ;)
Title: Re: How do I use the Ultimate Content Display?
Post by: ROUBOS on December 12, 2009, 19:25:12

Well I did it by adding adding a banner area to the bottom of the template html (okto) like this:
Code: [Select]
<div class="inside">
<?php mosMainBody(); ?>
<?php mosLoadModules(&#39;banner_b&#39;, -2); ?>
</div>
</div>


I use it like this: <?php elxLoadModule('mod_ucd'); ?>

and it works. But you can name it what ever you want? (looking at 'banner_b' in your code).

And we give it a Module Class Suffix: so we can change its look with CSS?
Title: Re: How do I use the Ultimate Content Display?
Post by: ks-net on December 12, 2009, 20:41:03
http://wiki.elxis.org/wiki/Module_positions

http://wiki.elxis.org/wiki/Load_module_by_name

****

http://wiki.elxis.org/wiki/Category:Templates_Developer_Guide


read these above and notice the difference of mosLoadModules and elxLoadModules

i will suggest to use => mosLoadModules  ... you will be then able to use instances of ucd

Quote
I use it like this: <?php elxLoadModule('mod_ucd'); ?>
this can not have other name ... it must be exact as you see

this can => <?php mosLoadModule('....
Title: Re: How do I use the Ultimate Content Display?
Post by: xmanhattan on December 13, 2009, 10:54:43
What Ks-Net says is correct because otherwise you have to change your template everytime you want to move a module to a different position.