Are you enjoying the extensions? Did you like the support? Help others decide.

Leave a review

file ordering...

More
11 years 8 months ago #765 by paulroot
ordering... was created by paulroot
firstly - i'm a rookie... :blush:

what's the situation? so, i'm trying change ordering on my start page. now i have:
1. Latest News Enhanced (few articles)
and then
2. my article (start page).

my question is: how can i switch it?
my articles then (below) Latest news en.?

joomla 2.5, help ;)

--
greetings
paul

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago - 11 years 8 months ago #767 by admin
Replied by admin on topic Re: ordering...
Hello,

this all has to do with how your template is set up and where you put the module in that template. Articles will show in the main content area. That is all I can tell you so far, I have no idea how your template is setup. In order to put the module under the articles, you'll have to put it in one of your template's available position, under the main content, if it is ever allowed by the template.

Olivier.
Last edit: 11 years 8 months ago by admin.

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #771 by paulroot
Replied by paulroot on topic Re: ordering...
Hello,

admin wrote: this all has to do with how your template is set up and where you put the module in that template.
Articles will show in the main content area.

my template it's based on beez5 (bacase as you know i'm rookie :S ). i set it (Latest News Enhanced & Featured article) in 'position-12', but i don't know how can i change order...

admin wrote: That is all I can tell you so far, I have no idea how your template is setup. In order to put the module under the articles, you'll have to put it in one of your template's available position, under the main content, if it is ever allowed by the template.

so i should change (modify) template? f.e. add new position? Am I wrong? :whistle:

--
gretings
paul

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #775 by admin
Replied by admin on topic Re: ordering...
There are a few things you could do, but it would require you modify the template slightly.
You can either move the position 12 under the content in index.php or just use the positions 9, 10 and 11 for your news...
Otherwise, use an other template that allows you to have a position under the main content.

Olivier.
The following user(s) said Thank You: paulroot

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago - 11 years 8 months ago #776 by admin
Replied by admin on topic Re: ordering...
In index.php, the code is:
<div id="main">
    <?php if ($this->countModules('position-12')): ?>
        <div id="top"><jdoc:include type="modules" name="position-12"   />
        </div>
    <?php endif; ?>
    <jdoc:include type="message" />
    <jdoc:include type="component" />
</div><!-- end main -->
Modify it to:
<div id="main">        
    <jdoc:include type="message" />
    <jdoc:include type="component" />
    <?php if ($this->countModules('position-12')): ?>
        <div id="top"><jdoc:include type="modules" name="position-12"   />
        </div>
   <?php endif; ?>
</div><!-- end main -->

Olivier.
Last edit: 11 years 8 months ago by admin.
The following user(s) said Thank You: paulroot

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #778 by paulroot
Replied by paulroot on topic Re: ordering...
Hi,

wow its work now! - Thank you for this (great) plugin.

PS. Thanks for your help!! you're great! :)

--
greeting
paul

Please Log in or Create an account to join the conversation.