Elxis CMS Forum
Support => General => Topic started 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
-
Roubos,
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:
<div class="inside">
<?php mosMainBody(); ?>
<?php mosLoadModules('banner_b', -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.
-
Can someone please explain this: "Content source IDs (required):"
This means that you must specify some section/category ID to be displayed.
-
thanks people.
will work on it now :)
Loving Elxis the more I use it ;)
-
Well I did it by adding adding a banner area to the bottom of the template html (okto) like this:
<div class="inside">
<?php mosMainBody(); ?>
<?php mosLoadModules('banner_b', -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?
-
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
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('....
-
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.