Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • Colin Sherlock Friend
    #172626

    Hi,
    I am trying to find the topmenu-left module position in Ja Nex as it is something that I need to use. Is there somewhere this can be turned on?

    Also how to I delete or even find the date position as that seems to be in the topmenu-left position.

    Regards
    Colin

    pavit Moderator
    #433237

    Hi

    <blockquote>I am trying to find the topmenu-left module position in Ja Nex as it is something that I need to use. Is there somewhere this can be turned on?</blockquote>

    You can use the /?tp=1 suffix to see where is your topmenu-left position

    <blockquote>Also how to I delete or even find the date position as that seems to be in the topmenu-left position.</blockquote>

    You can search in this file templatesja_nexblockstopmenu.php

    [PHP]<p class=”ja-day”>
    <?php
    echo “<span class=”date”>”.date (‘d’).”</span>”;
    echo “<span class=”month”>”.JText::_(strtoupper(date (‘F’))).”</span>”;
    echo “<span class=”year”>”.date (‘Y’).”</span>”;

    ?>
    </p>

    <?php if($this->countModules(‘topmenu-left’)) : ?>
    <jdoc:include type=”modules” name=”topmenu-left” />
    <?php endif; ?>
    <?php if($this->countModules(‘topmenu-right’)) : ?>
    <jdoc:include type=”modules” name=”topmenu-right” />
    <?php endif; ?>[/PHP]

    Here you can find all you need.

    Regards


    1. topleft
    Colin Sherlock Friend
    #433388

    Thanks for that.
    I can see that the position is in the template, but cant figure out how to use it.

    Example: I wish to add a banner module on the right and another on the left. I can select the position topmenu-right but their is not a position topmenu-left to choose, its just not there to select.

    Is there a way to make this available in ‘select position’?

    Thanks for help.

    Colin

    pavit Moderator
    #433389

    Hi

    Write in the module position topmenu-left

    and it will be available for other modules

    Colin Sherlock Friend
    #433406

    Ok thanks for that, but its not putting things on left and right.

    Must need css.

    Ill try and figure it out.

    thanks for your help.

    Colin

    Colin Sherlock Friend
    #433743

    I cant figure out how to get one banner on left and one on right, they keep going in on top of each other? should I be trying to do this with some css code or surely they should just appear on right and left.

    Thanks

    pavit Moderator
    #433755

    <em>@colinjoomlart 294552 wrote:</em><blockquote>I cant figure out how to get one banner on left and one on right, they keep going in on top of each other? should I be trying to do this with some css code or surely they should just appear on right and left.

    Thanks</blockquote>

    You can create some css code to align the positions as you need.

    Colin Sherlock Friend
    #434789

    Could anyone please advise what css file I need to access and what code to use in order to achieve putting a banner into this section. Im strugging with it. see attached.


    1. screen-capture-15
    pavit Moderator
    #434796

    Hi

    You can also solve your issue in this way

    1) Open your templatesja_nexblockstopmenu.php

    This is your actual file
    [PHP]
    <p class=”ja-day”>
    <?php
    echo “<span class=”date”>”.date (‘d’).”</span>”;
    echo “<span class=”month”>”.JText::_(strtoupper(date (‘F’))).”</span>”;
    echo “<span class=”year”>”.date (‘Y’).”</span>”;

    ?>
    </p>

    <?php if($this->countModules(‘topmenu-left’)) : ?>
    <jdoc:include type=”modules” name=”topmenu-left” />
    <?php endif; ?>
    <?php if($this->countModules(‘topmenu-right’)) : ?>
    <jdoc:include type=”modules” name=”topmenu-right” />
    <?php endif; ?>[/PHP]

    2) Change it to

    [PHP]<p class=”ja-day”>
    <?php
    echo “<span class=”date”>”.date (‘d’).”</span>”;
    echo “<span class=”month”>”.JText::_(strtoupper(date (‘F’))).”</span>”;
    echo “<span class=”year”>”.date (‘Y’).”</span>”;

    ?>
    </p>

    <?php if($this->countModules(‘topbanner’)) : ?>
    <div id=”ja-topbanner”>
    <jdoc:include type=”modules” name=”topbanner” />
    </div>
    <?php endif; ?>[/PHP]

    3) Add this line to your TemplateDetails.xml

    <position>topbanner</position>

    4) Create some css code for the class #ja-topbanner in your template.css ( width height color etc. etc.)

    5) Create a custom-html module with your banner image and publish it in the topbanner position

    I think you can solve in this way

    Regards

    Colin Sherlock Friend
    #435085

    Hi thanks for that, its sorted me out.

    May I ask one more question. I am using two banners on top of each other, see attached. I just want to create a little space between them see attached. Im not sure if I should be adjusting the User 3 position or somewhere in the banner component.

    Can anyone point me in the right direction, pleeease?

    Regards
    Colin


    1. screen-capture-17
    pavit Moderator
    #435136

    Hi

    I think could be solved changing the padding value

    could you please post the link to your page ?

    Thanks

    Colin Sherlock Friend
    #435756

    Its ok I went down a different route. Thanks

Viewing 12 posts - 1 through 12 (of 12 total)

This topic contains 12 replies, has 2 voices, and was last updated by  Colin Sherlock 12 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum