Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • safarimark Friend
    #129533

    Is there a way to add this option to other templates by you Joomlart? Like the Helio one?

    Im running Joomla 1.5

    Thanks,
    Mark

    Sherlock Friend
    #252999

    Teline has 2 option is font size and width screen . In the top we have font size tool , if you want add screen tool you can do following steps below :
    1. Open ja_templatetools_1.5.php file in templatesja_teline_ii folder , find following code line at about line 12:


    var $_ja_screen_sizes = null;

    change to :


    var $_ja_screen_sizes = array ('wide', 'auto');

    2. In ja_templatetools_1.5.php file , find following code line at about line 79 :


    function genToolMenu($ja_tools, $imgext = 'gif'){ ?>

    change to :


    function genToolMenu($ja_tools, $imgext = 'gif'){

    //show screen tools
    $i = 0;
    foreach ($this->_ja_screen_sizes as $ja_screen_size) {
    $i++;
    echo "
    <img style="cursor: pointer;" title="$ja_screen_size screen" src="".$this->templateurl()."/images/".$this->getParam(JA_TOOL_COLOR)."/user-screen".$i. ( ($this->getParam(JA_TOOL_SCREEN) == $ja_screen_size) ? "-hilite" : "" ).".".$imgext."" alt="$ja_screen_size screen resolution" id="ja-tool-$ja_screen_size" onclick="switchTool('".$this->template."_".JA_TOOL_SCREEN."','$ja_screen_size');return false;" />
    ";
    }
    ?>

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

This topic contains 2 replies, has 2 voices, and was last updated by  Sherlock 16 years, 5 months ago.

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