-
AuthorPosts
-
September 22, 2017 at 9:12 pm #1063601
when we are inside the news / article, the main image of the news is allowed a link to … nothing. I request if possible:
1- or, the link allows to open the image in a floating way, to see it complete.
2- or, there is no link in the full article view, because it causes confusion.Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
September 25, 2017 at 4:47 am #1063810Hi,
Currently, it links to article itself. If you want to remove it, you can replace this file:
root/templates/ja_teline_v/html/layouts/joomla/content/image/image.php
by the attached file (Remember to backup old file first).
Regards
September 25, 2017 at 7:07 am #1063853Ok, thank you very much, I did, but it is not correct to completely remove the link, since in the blog type presentation of the category, the link disappears, and the link is necessary
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
September 27, 2017 at 4:30 am #1064313Could you share URL of that blog page?
September 27, 2017 at 5:26 am #1064330Dear, at this point I re-placed as it was originally, what I say is: when I did the code modification, in fact the article disappears the ling on the main image, but this way, in the blog presentation of various news, also disappears, and there if necessary the link.
(Excuse my poor English)Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
September 29, 2017 at 8:36 am #1064874Hi,
You can try this way:
- Download attached file and copy the php file inside ‘fulltext_image.php’ to this directory: root/templates/ja_teline_v/html/layouts/joomla/content/
- Open the file:
root/templates/ja_teline_v/html/layouts/joomla/content/item/default.php
Approx line 62, change this:
<section class="article-intro-media"> <?php echo JLayoutHelper::render('joomla.content.image.intro', $displayData); ?>
To:
<section class="article-intro-media"> <?php echo JLayoutHelper::render('joomla.content.fulltext_image', $displayData); ?>
Regards
1 user says Thank You to Saguaros for this useful post
September 29, 2017 at 10:16 am #1064889Very good option, interesting, I’m going to take it and try to see what acceptance has, I like it a lot … pity that you lose the intro text above the full image. Thank you very much
-
AuthorPosts
This topic contains 6 replies, has 2 voices, and was last updated by delinea 7 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum