Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • dasschwing Friend
    #149767

    Hello All! Hope things are going well for you!

    I am having a little bit of an issue, I am not too gifted with PHP, but I was wondering how to reverse a couple of lines of code.

    [PHP]
    <?php if(!$tmpTools->isFrontPage()) : ?>
    <div id=”blah”>
    Blah Blah Blah
    </div>
    <?php endif ; ?>
    [/PHP]

    I want something to show only on the front page. And not via module or front page management.

    Any help on this would be greatly appreciated!

    Thanks!

    ftht1 Friend
    #337491

    <em>@dasschwing 171021 wrote:</em><blockquote>Hello All! Hope things are going well for you!

    I am having a little bit of an issue, I am not too gifted with PHP, but I was wondering how to reverse a couple of lines of code.

    [PHP]
    <?php if(!$tmpTools->isFrontPage()) : ?>
    <div id=”blah”>
    Blah Blah Blah
    </div>
    <?php endif ; ?>
    [/PHP]

    I want something to show only on the front page. And not via module or front page management.

    Any help on this would be greatly appreciated!

    Thanks!</blockquote>
    by removing the ! in front of $tmpTools

    <?php if($tmpTools->isFrontPage()) : ?>
    <div id="blah">
    Blah Blah Blah
    </div>
    <?php endif ; ?>

    dasschwing Friend
    #337492

    /head in hands.

    Thanks! Wow… I think I have offically lost it… Time to take a nap!

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

This topic contains 3 replies, has 2 voices, and was last updated by  dasschwing 14 years, 8 months ago.

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