Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • Noemi Peli Friend
    #156755

    Hi, please explain me how can I create a modul position above the main body (below the user positions 6-7) for mod_latestnews.

    Thank yoo in advance, best
    Mg


    1. new-modul-pos
    Saguaros Moderator
    #364239

    now, you open the file: templates/ja_ruby/index.php and find the following code:
    [PHP]
    <jdoc:include type=”message” />
    [/PHP]
    replace:
    [PHP]
    <?php if ($this->countModules(‘content-top’) ) { ?>
    <div class=”ja-content-top”>
    <jdoc:include type=”modules” name=”content-top” />
    </div>

    <?php endif; ?>
    <jdoc:include type=”message” />
    [/PHP]

    when done, your site will have a new position : content-top

    Noemi Peli Friend
    #364273

    Unfortunately not works on this way.

    Error message: Parse error: syntax error, unexpected T_ENDIF in /web/marketinggroup/bestelektroszerviz.hu/templates/ja_ruby/index.php on line 193

    Any ide?

    Phill Moderator
    #364277

    Try changing the endif; with a }

    darkman71 Friend
    #402345

    hello guys … thx for this great forum !
    this thread here is genial. i have a simple question …

    the same moduleposition – but not integrated in den contentbody … especially “rounded” … i means – seperate!
    can somebody help me ?

    Sherlock Friend
    #402508

    <em>@darkman71 254724 wrote:</em><blockquote>hello guys … thx for this great forum !
    this thread here is genial. i have a simple question …

    the same moduleposition – but not integrated in den contentbody … especially “rounded” … i means – seperate!
    can somebody help me ?</blockquote>

    hi darkman71,

    Can you please explain more details the issue ? it is not clear from your describing

    darkman71 Friend
    #402739

    Ok, no prob – i have added an attachment for better understanding !

    thx dark


    1. newmodulposition
    Sherlock Friend
    #402797

    hi darkman71,

    I tried myself but did not see the problem as your attach image, be sure you did as following

    You open the file: templates/ja_ruby/index.php and find the following code:
    [PHP]
    <jdoc:include type=”message” />
    [/PHP]
    replace:
    [PHP]
    <?php if ($this->countModules(‘content-top’) ) { ?>
    <div class=”ja-content-top”>
    <jdoc:include type=”modules” name=”content-top” />
    </div>

    <?php }; ?>
    <jdoc:include type=”message” />
    [/PHP]

    Then assign your the module to the content-top position.

    darkman71 Friend
    #402990

    many thx,

    but this is not the part, i would like to have !
    its the same anwser like the top… i have added the code style=”rounded” in your text – now it looks funny – but isn’t my dream…. NOW i have a rounded modul inside MY content … i dont want this … i would like to have a new rounded modulposition … OVER my content !!! :(( – without any content-background ! – what’s the catch?
    pleeeeasse help !
    thx dark

    Sherlock Friend
    #403003

    Okay darkman71,if you want to have separate box you can open that index.php file and add this snap of code
    [php]
    <?php if ($this->countModules(‘content-top’) ) { ?>
    <div class=”ja-content-top”>
    <jdoc:include type=”modules” name=”content-top” style=”rounded” />
    </div>

    <?php }; ?>

    [/php]

    under this HTML Tag

    <div class=”main clearfix”>

    then you open the file of templates/ja_ruby/css/template.css adding this css into it

    .ja-content-top{
    width:66%;
    }

    darkman71 Friend
    #403112

    dear dathq

    THAT ROCKS :):):)

    one little problem … the modulposition of the newsflash is higher then the right-modul site (client-testi…). i would like to have it in the same position (green-line) – such as the content in the attachment.

    this is last little prob !

    thx so much


    1. modulposition
    Sherlock Friend
    #403222

    Hi darkman71,

    You open the file templates/ja_ruby/css/template.css, Look for this css

    .w2 {
    float: right;
    width: 34%;
    }

    change to

    .w2 {

    width: 34%;
    }

    Hope this would help !

    darkman71 Friend
    #403309

    :):):):):) thx, thx, thx soooo much …. you are a GOD :):).)

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

This topic contains 13 replies, has 5 voices, and was last updated by  darkman71 13 years, 3 months ago.

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