Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • gernot_b Friend
    #198206

    how do I insert a position above the main menu to load another module?

    thanks

    TomC Moderator
    #536850

    Perhaps may be of assistance to you.

    😎

    gernot_b Friend
    #536885

    The tutorial did not work for ja_puresite in joomla 3.0, what do I do?

    TomC Moderator
    #536886

    <em>@gernot_b 429521 wrote:</em><blockquote>The tutorial did not work for ja_puresite in joomla 3.0, what do I do?</blockquote>

    With which part did you experience difficulty? … The tutorial was updated for J3.x based templates.

    gernot_b Friend
    #536891

    the path of the folder does not exist, I found the files in other locations, but the changes did not work…

    Ninja Lead Moderator
    #536943

    <em>@gernot_b 429465 wrote:</em><blockquote>how do I insert a position above the main menu to load another module?

    thanks</blockquote>

    You can try this way to add new position above main menu:

    Open the templates/ja_puresite/blocks/header.php file

    Change

    <?php
    /**
    * $JA#COPYRIGHT$
    */

    // No direct access
    defined('_JEXEC') or die;
    ?>

    To

    <?php
    /**
    * $JA#COPYRIGHT$
    */

    // No direct access
    defined('_JEXEC') or die;
    ?>
    <?php if($this->countModules('newposition')) : ?>
    <div id="ja-newposition span12">
    <jdoc:include type="modules" name="newposition" />
    </div>
    <?php endif;?>

    Once done to clear cache from admin area.

    gernot_b Friend
    #536968

    Thanks, it worked! and the css?

    TomC Moderator
    #536974

    You need to write the CSS rules for the “ja-newposition” you created.

    You can put the new CSS rules within your /templates/ja_puresite/css/template.css file,
    or you can create a custom.css file within file path /templates/ja_puresite/css

    gernot_b Friend
    #536978

    sorry, but I tried in template.css and custom.css as:

    # ja-newposition {}
    .newposition {}
    # ja-newposition. newposition {}

    and did not work at all … what did I do wrong?

    Ninja Lead Moderator
    #537192

    <em>@gernot_b 429648 wrote:</em><blockquote>sorry, but I tried in template.css and custom.css as:

    # ja-newposition {}
    .newposition {}
    # ja-newposition. newposition {}

    and did not work at all … what did I do wrong?</blockquote>

    Please provide the url of the site you’re working on so that I can check and help you out.

    gernot_b Friend
    #537300
    Ninja Lead Moderator
    #537367

    <em>@gernot_b 430084 wrote:</em><blockquote>http://fleurycoimbra.com.br/</blockquote>

    Because in the custom html module with newposition position is using table tag and you can try to use this way to fix it.

    Open the module and change

    <table style="height: 25px; width: 421px; background-image: url('/images/bgtopmneu.png');" align="right">

    To

    <table style="height: 100%; width: 100%; background-image: url('/images/bgtopmneu.png');" align="right">

    Once done, try to clear cache from admin area.

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

This topic contains 12 replies, has 3 voices, and was last updated by  Ninja Lead 10 years, 6 months ago.

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