-
AuthorPosts
-
September 25, 2010 at 5:07 am #154613
I was curious if its possible to insert a small image next to a category title that is linked. I’m including an image of the portion of my site that I am referring too. Thanks for any feedback/help.
8970
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
September 27, 2010 at 4:06 am #356752you open the file: templatesja_oreshtmlcom_contentcategoryblogblog_default.php
and remove the following code:
at line 30:
[PHP]
<?php if ($this->params->get(‘show_description_image’) && $this->category->image) : ?>
<img src=”<?php echo $this->baseurl . $cparams->get(‘image_path’) . ‘/’ . $this->category->image; ?>” class=”image_<?php echo $this->category->image_position; ?>” />
<?php endif; ?>
[/PHP]and find the followingcode:
[PHP]
<span><?php echo $this->escape($this->params->get(‘page_title’)); ?></span>
[/PHP]
replace:
[PHP]
<span><?php echo $this->escape($this->params->get(‘page_title’)); ?></span>
<?php if ($this->params->get(‘show_description_image’) && $this->category->image) : ?>
<img src=”<?php echo $this->baseurl .”/”. $cparams->get(‘image_path’) . ‘/’ . $this->category->image; ?>” class=”image_<?php echo $this->category->image_position; ?>” />
<?php endif; ?>
[/PHP]in the category’s configuration, you choose a image in there
AuthorPostsViewing 2 posts - 1 through 2 (of 2 total)This topic contains 2 replies, has 2 voices, and was last updated by Saguaros 14 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Image adjacent to Category Title in Category Blog
Viewing 2 posts - 1 through 2 (of 2 total)