1. News365
  2. Saturday, 28 July 2018
hi
i am trying to show intro image in article page if there is no full text image but i can't

i manged to show intro image instead of full text image but i want to check first if full text image is empty

i am not using helix blog image as not showing when i call article acymailling newsletter
Accepted Answer
don't worry these problem has been solve by the help of a friend i added an if condition in the article default.php to check if full article image is empty or no
i will leave it here in case some one have the same problem
this is to be added inside if condation around line 102 "if ($post_format=='standard')"


	<?php

if ($post_format=='standard') {
if($article_image == "")
{
echo JLayoutHelper::render('joomla.content.intro_image', $this->item);
}
else
{
echo JLayoutHelper::render('joomla.content.full_image', $this->item);
}
}

else {
echo JLayoutHelper::render('joomla.content.post_formats.post_' . $post_format, array('params' => $params, 'item' => $this->item));
}
?>


this issue is what is urgent for me now
https://www.joomshaper.com/forums/category-blog-layout-3

i was wondering why don't you have a support ticket system
  1. more than a month ago
  2. News365
  3. # Permalink
Responses (2)
Hi,
Thanks for your query. Sorry there is no default feature for that. Also we are extremely sorry to say that custom support is beyond our support range.
Hope you understand.

-Best Regards
  1. more than a month ago
  2. News365
  3. # 1


There are no replies made for this post yet.
Be one of the first to reply to this post!


This forum is archived

This forum has been archived. Please use JoomShaper official support system.