Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • barologist Friend
    #196381

    When on the Theme tab of the template admin, there is an option to select a large and small image. When I click the select button it brings me to the root folder and no files are displayed in the select box. When I try to upload an image, it does upload or give me the message that the file already exists but still no files displayed. Has anyone else experienced this?

    I tried chrome and firefox just to eliminate the browser issue.

    Purity iii version 1.0.1

    TomC Moderator
    #529238

    What exactly are you wanting to do – add your logo image to your site?

    You can accomplish this through CSS fairly easily.

    barologist Friend
    #529244

    I did modify the css to make it work but I didn’t see the code to specify the small logo. I figured this would be easier through the GUI admin interface if I could get it to work.

    Ninja Lead Moderator
    #529346

    T3 framework has a new feature that allow to add normal logo and small in back-end. Purity IIi Template could not upgrade to work with this feature, however you can try this workaround:

    + Add small logo in Purity III template

    + Open the templates/purity_iii/tpls/blocks/header.php file and change as follows:

    Change

    $logoimage = $logotype == 'image' ? $this->params->get('logoimage', '') : '';
    if ($logoimage) {
    $logoimage = ' style="background-image:url('.JURI::base(true).'/'.$logoimage.');"';
    }

    To

    $logoimage = $logotype == 'image' ? $this->params->get('logoimage', 'templates/' . T3_TEMPLATE . '/images/logo.png') : '';
    $logoimgsm = ($logotype == 'image' && $this->params->get('enable_logoimage_sm', 0)) ? $this->params->get('logoimage_sm', '') : false;

    and change:

    <h1>
    <a href="<?php echo JURI::base(true) ?>" title="<?php echo strip_tags($sitename) ?>"<?php echo $logoimage ?>>
    <span><?php echo $sitename ?></span>
    </a>
    </h1>

    To

    <h1>
    <a href="<?php echo JURI::base(true) ?>" title="<?php echo strip_tags($sitename) ?>"<?php echo $logoimage ?>>
    <?php if($logotype == 'image'): ?>
    <img class="logo-img" src="<?php echo JURI::base(true) . '/' . $logoimage ?>" alt="<?php echo strip_tags($sitename) ?>" />
    <?php endif ?>
    <?php if($logoimgsm) : ?>
    <img class="logo-img-sm" src="<?php echo JURI::base(true) . '/' . $logoimgsm ?>" alt="<?php echo strip_tags($sitename) ?>" />
    <?php endif ?>
    <span><?php echo $sitename ?></span>
    </a>
    </h1>

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

This topic contains 4 replies, has 3 voices, and was last updated by  Ninja Lead 10 years ago.

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