test
Viewing 15 posts - 1 through 15 (of 24 total)
  • Author
    Posts
  • msilac Friend
    #154832

    I need module position somewhere at “search position” but I wish to be more to the left.

    When I publish some module with 468×60 banner that looks bad and moved to the right… 🙁

    How to do that in Ja Social

    Thank you, I am new 🙂

    Saguaros Moderator
    #357783

    you open the file: templatesja_socialblocksheader.php and find the following code:
    [PHP] <?php $this->genBlockEnd ($block) ?>[/PHP]
    replace:
    [PHP]
    <?php if($this->countModules(‘lefttop’)) : ?>
    <div id=”ja-leftopbanner”>
    <jdoc:include type=”modules” name=”lefttop” />
    </div>
    <?php endif; ?>
    <?php $this->genBlockEnd ($block) ?>
    [/PHP]

    and add the following code into the /templates/ja_social/css/template.css file:

    #ja-leftopbanner {
    background:none repeat scroll 0 0 red;
    bottom:40px;
    height:50px;
    position:absolute;
    right:0;
    width:468px;
    }
    #ja-search {
    right:478px
    }

    when done, the template has the “lefttop” position, you put your banner module on there

    msilac Friend
    #357810

    Can I ask just before start using this… why Ja Anion template? I dont have that template…

    Saguaros Moderator
    #357874

    <em>@msilac 197000 wrote:</em><blockquote>Can I ask just before start using this… why Ja Anion template? I dont have that template…</blockquote>

    Sorry for my mistake, i have edited my post above, please follow that

    Thanks

    wicklert Friend
    #357970

    <em>@tienhc 196964 wrote:</em><blockquote>you open the file: templatesja_socialblocksheader.php and find the following code:
    [PHP] <?php $this->genBlockEnd ($block) ?>[/PHP]
    replace:
    [PHP]
    <?php if($this->countModules(‘lefttop’)) : ?>
    <div id=”ja-leftopbanner”>
    <jdoc:include type=”modules” name=”lefttop” />
    </div>
    <?php endif; ?>
    <?php $this->genBlockEnd ($block) ?>
    [/PHP]

    and add the following code into the /templates/ja_social/css/template.css file:

    #ja-leftopbanner {
    background:none repeat scroll 0 0 red;
    bottom:40px;
    height:50px;
    position:absolute;
    right:0;
    width:468px;
    }
    #ja-search {
    right:478px
    }

    when done, the template has the “lefttop” position, you put your banner module on there</blockquote>
    Sorry tienhc but it doesn’t work for me…!!
    After replacing and adding codes the templates doesn’t look too good…!! :((
    My logo was shifted to the far left side, very small height margin and the banners (slideshow2) on module “lefttop” isn’t displayed.
    I’m using the original header.php again….

    Can’t really doing something wrong, am I…..????

    msilac Friend
    #357977

    I am done… but template dont have lefttop position… 🙁 now I need to solve that as soon as possible…

    I was thinking that this is something simple…


    1. header_banner
    Saguaros Moderator
    #357999

    To create a new position, now you go to the module manager => you create a new banner module => you type this name into the position parameter and save or follow to this entry http://docs.joomla.org/How_do_you_add_a_new_template_position%3F

    msilac Friend
    #358390

    I have type that (lefttop) into that position parameter. But the module dont show, and before that I publish that banner I have problem with logo (when I do that changes at header.php and template.css)

    So, it is not work.


    1. scrambled_logo
    2. banner_468x60_lefttop
    Saguaros Moderator
    #358411

    I tested this on my site, it was ok, can you pls provide me the administrator account and the FTP account i would like to check the issue in detail 🙂

    msilac Friend
    #358447

    Check PM…

    Saguaros Moderator
    #358585

    YOu had some mistake in the replace code, i have corrected all , pls check this

    msilac Friend
    #358589

    Now looks ok, but why is that red background at this module??

    And can it be 5-10 pix moved from logo?

    wicklert Friend
    #358802

    I am still facing same issues, would you like to share taken actions.
    I’ve repeated advised adjustments by tienhc in header.php and template.css but no change.

    Please….?

    msilac Friend
    #358824

    I dont know how… is there same problem about this? I still have problem with a gap between modules and red background!?

    Tienhc maybe know what to do…

    wicklert Friend
    #358826

    Can you attach your new files header.php and template.css in a reply…..??

Viewing 15 posts - 1 through 15 (of 24 total)

This topic contains 24 replies, has 4 voices, and was last updated by  msilac 14 years, 2 months ago.

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