Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • cstibi Friend
    #127780

    Hi, congratulation for Teline II. It’s a really great job!
    But I think, that one banner position is not enogh for a good news portal.
    I suggest that you should take another (collapsible) banner position under the logo, as wide as the whole page. Like on these pages: http://www.origo.hu and http://www.hvg.hu.

    Thanks,
    cstibi from Hungary

    cstibi Friend
    #246400

    Hi JA guys! Is this possible in the stable release?

    teetide Friend
    #246406

    I second this motion.

    ruigato Friend
    #246408

    ialso think you should put some more module positions..

    Personaly i dont use JA_news in the other hand i have componets like mtree, forum and would like more positions for modules.

    Cb integration in the highslide login would be great also.

    TomC Moderator
    #246409

    What is preventing you from adding such a banner position on your own?

    cstibi Friend
    #246443

    <em>@tcraw1010 49937 wrote:</em><blockquote>What is preventing you from adding such a banner position on your own?</blockquote>

    Because I don’t know how to do this collapsible module (for banner) position
    cstibi

    cstibi Friend
    #246515

    Please somebody help me, what (and where) have to write in template index.php and template.css files!

    chomik Friend
    #247319

    This is good question. somebody can help cstibi and me?

    mayhesla Friend
    #247351

    <blockquote>What is preventing you from adding such a banner position on your own?
    __________________
    TOM

    A template is only a starting point . . . The magic is in what you do with it from there. </blockquote>

    hmmm – ever though abouth why people register and buy templates at this site?

    Maybe it’s because stuff like this aint easy for them 🙂

    BANNER ABOVE ja-news POSITION:
    ———————————————————-
    Find the following line in index.php:

    <?php if(!$tmpTools->isFrontPage()) : ?>
    <div id="ja-pathway">
    <jdoc:include type="module" name="breadcrumbs" />
    </div>
    <?php endif ; ?>

    Add this below:

    <?php if($this->countModules('advert1')) : ?>
    <!-- BEGIN: BANNER -->
    <div id="top-banner">
    <jdoc:include type="modules" name="advert1" />
    </div>
    <!-- END: BANNER -->
    <?php endif; ?>

    OPEN UP YOUR template.css FILE and ad this at the bttom (or where u want)

    #top-banner {
    margin: 0;
    padding: 10px 0;
    text-align: center;
    overflow: hidden;
    width: 100%;
    border-top: 1px solid #CCCCCC;
    }

    open up your templateDetails.xml file and add this under “positions”:

    <position>advert1</position>

    the above will put a banner centered on the top of the page and above the news modules.

    There could be donne a lot more to the positioning of the banner,,,depending of wich module you use to display it. I for instance have this to controll the banneritem in the banner modules so it fits my needs:

    div#top-banner .banneritem {
    width: 477px;
    border-right: 1px solid #CCCCCC;
    }

    Now in the end you will need to think out something your selve, but this at least should get u started 🙂

    Hope it helps
    me

    cstibi Friend
    #247353

    Thank you very much!

    But my question was: the collapsible banner position above the logo, at the bottom of page, like on this page:
    http://www.origo.hu

    If I want a banner position under the news, I publish the another banner module in the same ja-news positon, and set the correct module order.
    But what have to write in codes, to put in under the logo?

    cstibi Friend
    #247355

    I’m sorry. I just thinked “above the logo” but I wroted “under the logo” in my first post…
    But what is difference in your code?

    TomC Moderator
    #247381

    <em>@mayhesla 51187 wrote:</em><blockquote>hmmm – ever though about why people register and buy templates at this site? Maybe it’s because stuff like this aint easy for them :)[/quote]

    Buying a nice shiny new car is great … but if you can’t drive it, it isn’t going to get you anywhere.

    If one is going to work with website development based on Joomla websites – as opposed to hiring someone to do it for you – then one needs to learn the basics of working within the Joomla template file structures … and the basics include learning basic CSS design principles and basic modification of php code within the index.php file (i.e. adding module positions and adding/creating the relative css rules/class for it).

    In this particular case . . . someone was wanting another collapsible banner position in their template. The released template does not have an additional collapsible banner position. The solution …. the user(s) who want the position can and should simply add it themselves. Hence, the question becomes – “how can I add an additional collapsible banner position in my template” . . . . for which the answer was very aptly provided by you. 🙂

    mayhesla Friend
    #247416

    ok – i surrender lol 😉

    TomC Moderator
    #247418

    There’s no I won, you lose . . . just voicing my opinion on the matter.

    I tend to be a bit outspoken. 😉

    davilico Friend
    #247511

    Can you post this code for jateline v.1.1?

    <em>@mayhesla 51187 wrote:</em><blockquote>hmmm – ever though abouth why people register and buy templates at this site?

    Maybe it’s because stuff like this aint easy for them 🙂

    BANNER ABOVE ja-news POSITION:
    ———————————————————-
    Find the following line in index.php:

    <?php if(!$tmpTools->isFrontPage()) : ?>
    <div id="ja-pathway">
    <jdoc:include type="module" name="breadcrumbs" />
    </div>
    <?php endif ; ?>

    Add this below:

    <?php if($this->countModules('advert1')) : ?>
    <!-- BEGIN: BANNER -->
    <div id="top-banner">
    <jdoc:include type="modules" name="advert1" />
    </div>
    <!-- END: BANNER -->
    <?php endif; ?>

    OPEN UP YOUR template.css FILE and ad this at the bttom (or where u want)

    #top-banner {
    margin: 0;
    padding: 10px 0;
    text-align: center;
    overflow: hidden;
    width: 100%;
    border-top: 1px solid #CCCCCC;
    }

    open up your templateDetails.xml file and add this under “positions”:

    <position>advert1</position>

    the above will put a banner centered on the top of the page and above the news modules.

    There could be donne a lot more to the positioning of the banner,,,depending of wich module you use to display it. I for instance have this to controll the banneritem in the banner modules so it fits my needs:

    div#top-banner .banneritem {
    width: 477px;
    border-right: 1px solid #CCCCCC;
    }

    Now in the end you will need to think out something your selve, but this at least should get u started 🙂

    Hope it helps
    me</blockquote>

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

This topic contains 19 replies, has 9 voices, and was last updated by  cstibi 16 years, 6 months ago.

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