Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • sofian Friend
    #205875

    hi
    i want to add modules insde or under the component position .
    how to do this ?

    please see this attachment image

    <!-- MAIN CONTENT -->
    <div id="t3-content" class="t3-content <?php echo $this->getClass($layout, $col) ?>" <?php echo $this->getData ($layout, $col++) ?>>
    <div class="main-content">
    <jdoc:include type="message" />
    <jdoc:include type="component" />
    how to add position here ?
    </div>
    </div>
    <!-- //MAIN CONTENT -->

    thank you


    1. add-position
    TomC Moderator
    #568524

    Perhaps the following tutorial may be helpful —-> http://www.joomlart.com/forums/topic/how-to-create-new-module-position-updated/

    sofian Friend
    #568527

    <em>@TomC 470647 wrote:</em><blockquote>Perhaps the following tutorial may be helpful —-> http://www.joomlart.com/forums/topic/how-to-create-new-module-position-updated/</blockquote>

    thank you very very much .

    this mean my code will be like this :

    <!-- MAIN CONTENT -->
    <div id="t3-content" class="t3-content <?php echo $this->getClass($layout, $col) ?>" <?php echo $this->getData ($layout, $col++) ?>>
    <div class="main-content">
    <jdoc:include type="message" />
    <jdoc:include type="component" />
    <!-- sofian-->
    <?php if ($this->countModules('sofian')) : ?>
    <div class="span6 <?php $this->_c('sofian')?>">
    <jdoc:include type="modules" name="<?php $this->_p('sofian') ?>" style="bannerraw" />
    </div>
    <?php endif ?>
    <!--//sofian-->

    </div>
    </div>
    <!-- //MAIN CONTENT -->

    and what is this :
    style=”bannerraw”

    do i need to change it ??

    thank you

    TomC Moderator
    #568530

    <em>@sofian 470651 wrote:</em><blockquote>
    and what is this :
    style=”bannerraw”

    do i need to change it ??

    thank you</blockquote>

    You can change it to whatever name you like – as it will be the class you will use to style the module within your CSS

    sofian Friend
    #568532

    yes

    but i can add css just for sofian !! right ?

    TomC Moderator
    #568533

    <em>@sofian 470656 wrote:</em><blockquote>yes

    but i can add css just for sofian !! right ?</blockquote>

    You can add specific CSS classes for whatever specific CSS classes you designate

    sofian Friend
    #568540

    yes
    thank you very much

    TomC Moderator
    #568546

    Glad I could be of assistance . . . All the best with your continuing site development. 🙂

    sofian Friend
    #568548

    <em>@TomC 470670 wrote:</em><blockquote>Glad I could be of assistance . . . All the best with your continuing site development. :)</blockquote>

    yes

    very thanks :):):):)

    sofian Friend
    #733643

    <em>@TomC 470670 wrote:</em><blockquote>Glad I could be of assistance . . . All the best with your continuing site development. :)</blockquote>

    yes

    very thanks :):):):)

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

This topic contains 10 replies, has 2 voices, and was last updated by  sofian 9 years, 7 months ago.

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