-
AuthorPosts
-
August 19, 2015 at 11:26 pm #663016
I’m using the Magazine layout.
One leading article and under that, 6 intro-articles with small image.I’d like to remove the image of the leading article, but still want the images for the intro-articles.
How do i do that?
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
August 20, 2015 at 3:08 am #663107Hi
So that i can assist you better , kindly share your working site url here .August 20, 2015 at 10:30 am #663213It’s the ‘big’ picture on the left i want to get rid off.
I want to have this as a result (edited with Chrome)
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
August 20, 2015 at 11:00 am #663222Hi
Open the article Politiebonden willen niet meestappen in defil? wegens ‘onnodig risico’
and remove the Intro article image from images and links options.August 20, 2015 at 12:53 pm #663791Like i said: that’s the obvious solution, but not a good solution, because when i do that, the images in the intro-articles beneath also disappear. And i want to keep those.
Guess i need to remove some code for that, but where?August 20, 2015 at 12:53 pm #746128Like i said: that’s the obvious solution, but not a good solution, because when i do that, the images in the intro-articles beneath also disappear. And i want to keep those.
Guess i need to remove some code for that, but where?August 20, 2015 at 4:00 pm #663827Found the solution myself:
Open: /templates/purity_iii/html/com_content/category/magazine_featured.php
Go to line 150.
Find this code:
<?php if (count ($links)): ?>
<div class="magazine-links magazine-featured-links">
<?php foreach ($links as $item) :?>
<div class="magazine-item link-item">
<?php echo JLayoutHelper::render('joomla.content.blog_style_default_item_title', $item); ?>
<?php if ($useDefList && in_array('link', $info_positions)) : ?>
<aside class="article-aside clearfix">
<?php echo JLayoutHelper::render('joomla.content.info_block.block', array('item' => $item, 'params' => $params, 'position' => 'above')); ?>
</aside>
<?php endif; ?>
</div>
<?php endforeach; ?>
</div>
<?php endif ?>Remove
Replace with:
<?php echo '<p align="center"><img src="path/name.ext" width=70% border=0></p>'; ?>
August 20, 2015 at 4:00 pm #746164Found the solution myself:
Open: /templates/purity_iii/html/com_content/category/magazine_featured.php
Go to line 150.
Find this code:
<?php if (count ($links)): ?>
<div class="magazine-links magazine-featured-links">
<?php foreach ($links as $item) :?>
<div class="magazine-item link-item">
<?php echo JLayoutHelper::render('joomla.content.blog_style_default_item_title', $item); ?>
<?php if ($useDefList && in_array('link', $info_positions)) : ?>
<aside class="article-aside clearfix">
<?php echo JLayoutHelper::render('joomla.content.info_block.block', array('item' => $item, 'params' => $params, 'position' => 'above')); ?>
</aside>
<?php endif; ?>
</div>
<?php endforeach; ?>
</div>
<?php endif ?>Remove
Replace with:
<?php echo '<p align="center"><img src="path/name.ext" width=70% border=0></p>'; ?>
-
AuthorPosts
This topic contains 8 replies, has 2 voices, and was last updated by _robo_ 9 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum