-
AuthorPosts
-
April 2, 2014 at 3:48 pm #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 ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
April 2, 2014 at 5:19 pm #529238What exactly are you wanting to do – add your logo image to your site?
You can accomplish this through CSS fairly easily.
April 2, 2014 at 5:39 pm #529244I 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 ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
April 3, 2014 at 10:39 am #529346T3 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> -
AuthorPosts
This topic contains 4 replies, has 3 voices, and was last updated by Ninja Lead 10 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum