Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • florueta Friend
    #143891

    Hello,

    I am using Joomla 1.5 and I am installing JA Vauxite in a previosuly existing website.

    I want to publish my frontpage WITHOUT using JA News or JA News FP because those modules do not fit my necessites. I want to use the regular way of publishing front news.

    I’ve been reading a couple of threats here referring to this case. In this one http://www.joomlart.com/forums/topic/how-to-show-an-article-on-frontpage/ they found the way to make the news appear.

    BUT there’s still a problem.The news area (what was called Mainbody on the older version of Joomla) doesn’t have the proper layout: the white bakground is NOT appearing. News are published directly on the grey area.

    I can’t give you the link to my site because it is on-line with another template and I won’t be able to publish it with JA Vauxite until this issue is solved.

    This is really important for me. Could you please help me???

    florueta Friend
    #316172

    I’ve found it myslef. There was a mistake on the solution formerly given.

    The code should be modified this way:

    Change this


    <?php if(!$tmpTools->isFrontPage()) : ?>
    <div class="ja-wrap-center"><div class="ja-wrap-top"><div class="ja-wrap-bot">

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

    <jdoc:include type="component" />

    </div></div></div>
    <?php endif; ?>

    To this:


    <?php // if(!$tmpTools->isFrontPage()) : ?>
    <div class="ja-wrap-center"><div class="ja-wrap-top"><div class="ja-wrap-bot">

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

    <jdoc:include type="component" />

    </div></div></div>
    <?php //endif; ?>

    ukfraternite Friend
    #316296

    Well done!

    kmharper Friend
    #337613

    This doesn’t work – yes, it makes content show up on the front page, but it totally breaks the layout.

    Please, if someone has solved this, can you help out?

    Thanks!

    histeriks Friend
    #337807

    You could always open index.php, and move this:


    <jdoc:include type="component" />

    from line 196, to line 200, so that it looks like this from line 198 to line 202:

    </div></div></div>
    <?php endif; ?>
    <jdoc:include type="component" />
    <!-- BEGIN: JAZIN -->
    <?php if($tmpTools->isFrontPage()) : ?>

    This will result in plain Joomla frontpage layout.

    kmharper Friend
    #337843

    This fixed it, thank you very much! I don’t see a button called “Mark Best Answer” but consider it marked. 🙂

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

This topic contains 6 replies, has 4 voices, and was last updated by  kmharper 14 years, 8 months ago.

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