-
AuthorPosts
-
webds Friend
webds
- Join date:
- April 2015
- Posts:
- 8
- Downloads:
- 11
- Uploads:
- 0
- Thanks:
- 6
- Thanked:
- 3 times in 1 posts
July 21, 2015 at 9:20 pm #209075Hey folkz,
I would like to make the pictures on the homepage listed as featured articles clickable links to the article. (like Upcoming Event do)
Is there an easy fix in the php (ja_muzichtmlcom_contentfeatureddefault_item.php???) to do so?
Would be really great if you could help me on this one!And i have another question about these featured articles, is it possible to get the article name to the top of the image instead of below? we restiled ir so it fits there, im just not sure if thats possible. i can give a link if needed ofcourse
Greetings!
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
webds Friendwebds
- Join date:
- April 2015
- Posts:
- 8
- Downloads:
- 11
- Uploads:
- 0
- Thanks:
- 6
- Thanked:
- 3 times in 1 posts
July 26, 2015 at 8:29 pm #644934Is there anyone that could help on this matter? would be awsome!:laugh:
webds Friendwebds
- Join date:
- April 2015
- Posts:
- 8
- Downloads:
- 11
- Uploads:
- 0
- Thanks:
- 6
- Thanked:
- 3 times in 1 posts
July 26, 2015 at 8:29 pm #743562Is there anyone that could help on this matter? would be awsome!:laugh:
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
webds Friendwebds
- Join date:
- April 2015
- Posts:
- 8
- Downloads:
- 11
- Uploads:
- 0
- Thanks:
- 6
- Thanked:
- 3 times in 1 posts
July 27, 2015 at 9:08 pm #645062http://163.158.214.157/OMF/index.php i send u a private msg 2 🙂
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
July 28, 2015 at 4:35 am #645092Hi @webds,
Please open file templatesja_muzichtmlcom_contentfeatureddefault_item.php and look for this code :
<div class="pull-<?php echo htmlspecialchars($imgfloat); ?> item-image"> <img
<?php if ($images->image_intro_caption):
echo 'class="caption"'.' title="' .htmlspecialchars($images->image_intro_caption) .'"';
endif; ?>
src="<?php echo htmlspecialchars($images->image_intro); ?>" alt="<?php echo htmlspecialchars($images->image_intro_alt); ?>"/>
</div>then update as below :
<div class="pull-<?php echo htmlspecialchars($imgfloat); ?> item-image"><a href="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid)); ?>"><img
<?php if ($images->image_intro_caption):
echo 'class="caption"'.' title="' .htmlspecialchars($images->image_intro_caption) .'"';
endif; ?>
src="<?php echo htmlspecialchars($images->image_intro); ?>" alt="<?php echo htmlspecialchars($images->image_intro_alt); ?>"/></a>
</div>1 user says Thank You to Adam M for this useful post
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
July 28, 2015 at 4:35 am #743717Hi @webds,
Please open file templatesja_muzichtmlcom_contentfeatureddefault_item.php and look for this code :
<div class="pull-<?php echo htmlspecialchars($imgfloat); ?> item-image"> <img
<?php if ($images->image_intro_caption):
echo 'class="caption"'.' title="' .htmlspecialchars($images->image_intro_caption) .'"';
endif; ?>
src="<?php echo htmlspecialchars($images->image_intro); ?>" alt="<?php echo htmlspecialchars($images->image_intro_alt); ?>"/>
</div>then update as below :
<div class="pull-<?php echo htmlspecialchars($imgfloat); ?> item-image"><a href="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid)); ?>"><img
<?php if ($images->image_intro_caption):
echo 'class="caption"'.' title="' .htmlspecialchars($images->image_intro_caption) .'"';
endif; ?>
src="<?php echo htmlspecialchars($images->image_intro); ?>" alt="<?php echo htmlspecialchars($images->image_intro_alt); ?>"/></a>
</div>1 user says Thank You to Adam M for this useful post
-
AuthorPosts
This topic contains 10 replies, has 2 voices, and was last updated by Adam M 9 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum