-
AuthorPosts
-
nudee Friend
nudee
- Join date:
- December 2012
- Posts:
- 11
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 7
- Thanked:
- 1 times in 1 posts
April 9, 2015 at 3:23 am #205401I need to put ‘Intro image’ to ‘Intro text (Read more)’ so that the RSS has a picture (because I need to sell a picture RSS Feed / Syndication Feeds.).
and
I need to put ‘Intro image’ to (tab : Images and ilnks / Intro Image) for thumb image at dasplay module
the problem is
It makes the duplicate Photos same two images.
How to have a single image ?
How do I solve the php code to disable the display of image only the intro text (read more).thank you very much
-
nudee Friend
nudee
- Join date:
- December 2012
- Posts:
- 11
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 7
- Thanked:
- 1 times in 1 posts
April 9, 2015 at 1:27 pm #566474htdocsjatc_teline_v_orgtemplatesja_teline_vhtmllayoutsjoomlacontentintrodefault.php
Find Line number 59<?php if ($aparams->get(‘show_intro’, 1)) : ?>
<div class=”magazine-item-ct”>
<?php echo $item->introtext; ?>
</div>
<?php endif; ?>
—————————————— new replaced ————————–><?php if ($aparams->get(‘show_intro’, 1)) : ?>
<div class=”magazine-item-ct”>
<?php
$item->introtext =preg_replace(“/<a[^>]+>/i”, “”, $item->introtext ); // cut URL
$item->introtext =preg_replace( ‘#<[^>]*img[^>]*>#msiU’, ”, $item->introtext ); // cut intro image
echo $item->introtext;
?>
</div>
<?php endif; ?>-
1 user says Thank You to nudee for this useful post
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
April 10, 2015 at 6:53 am #566551Did you solve it on your site?
AuthorPostsViewing 3 posts - 1 through 3 (of 3 total)This topic contains 3 replies, has 2 voices, and was last updated by Ninja Lead 9 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum