Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • Benjamin Falcon Friend
    #149023

    I have a background image on my website that is visible on all of the pages.

    I would like to use a different background for a specific page, this page is a Category / Blog Layout.

    How can I tell JA Teline II to use a different background for a specific Category / Blog Layout.

    Category Blog Layout Title: Events
    Alias: events

    Thank you 🙂

    Benjamin Falcon Friend
    #333888

    Please see the examples below. The first screen is an example of the background that the entire website uses.

    The second screen (camag3.gif) would be an example background for my events.html category / blog layout. This would be the only page that uses the second background.


    1. camag1
    2. camag3
    Saguaros Moderator
    #334099

    hello directcorrespondentlender!

    if possible give me the link to your site .

    Thanks

    Benjamin Falcon Friend
    #334301

    The site is http://www.convictedartistmagazine.com.

    I know that the background is specified in a CSS file, but I wonder how I can go about modifying the background for the page or pages mentioned in my first post.

    Is it possible to tell joomla to use a different CSS when showing that blog layout?

    Thank you

    Saguaros Moderator
    #334322

    Dear

    You use the “Page Class Suffix” paramter of each menu in the list menu. You override css by using this class

    http://docs.joomla.org/Tutorial:Using_Class_Suffixes_in_Joomla!_1.5

    now, open the file templates/ja_telineii/index.php and find codes:
    [PHP]<body id=”bd” class=”<?php echo $tmpTools->getParam(JA_TOOL_SCREEN);?> fs<?php echo $tmpTools->getParam(JA_TOOL_FONT);?> ” >[/PHP]
    replace:
    [PHP]
    <?php
    $itemid = JRequest::getVar(‘Itemid’);
    $menu = &JSite::getMenu();
    $active = $menu->getItem($itemid);
    $params = $menu->getParams( $active->id );
    $pageclass = $params->get( ‘pageclass_sfx’ );
    ?>
    <body id=”bd” class=”<?php echo $tmpTools->getParam(JA_TOOL_SCREEN);?> fs<?php echo $tmpTools->getParam(JA_TOOL_FONT);?> <?php echo $pageclass ; ?>” >
    [/PHP]

    good luck

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

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

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