-
AuthorPosts
-
htomek Friend
htomek
- Join date:
- February 2010
- Posts:
- 27
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 7
- Thanked:
- 2 times in 1 posts
February 9, 2013 at 7:52 pm #184828I’m using the JA Newspro module for showing some articles from different categories in the front page. And, these articles are grouped by category, and the header for each category (category name) is actually link to that particular category. But, I would like to add the very same link under the links (see screenshot attached).
I believe a I need to add it somewhere in the mod_janewspro/tmpl/default/blog_item.php file, but I’m not 100% sure where. Link should have same visual appearance as Read more link which is placed under the picture if turned on in the module settings.
Thanks.
htomek Friendhtomek
- Join date:
- February 2010
- Posts:
- 27
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 7
- Thanked:
- 2 times in 1 posts
February 9, 2013 at 10:01 pm #482979<em>@htomek 359463 wrote:</em><blockquote>I’m using the JA Newspro module for showing some articles from different categories in the front page. And, these articles are grouped by category, and the header for each category (category name) is actually link to that particular category. But, I would like to add the very same link under the links (see screenshot attached).
I believe a I need to add it somewhere in the mod_janewspro/tmpl/default/blog_item.php file, but I’m not 100% sure where. Link should have same visual appearance as Read more link which is placed under the picture if turned on in the module settings.
Thanks.</blockquote>
Forgot to add a screenshot.
Wall Crasher DeveloperWall Crasher
- Join date:
- December 2011
- Posts:
- 1113
- Downloads:
- 0
- Uploads:
- 15
- Thanks:
- 66
- Thanked:
- 361 times in 300 posts
February 14, 2013 at 10:08 am #483410Hi htomek,
I am not sure about your request.
Please provide some information about your site.
What template you are using?I will provide tips on how to customize on JA Teline III. If you are using other template, please update the correct template name in the path. You may try with these steps:
1. modulesmod_janewsprotmpltelineiiiblog_item.php
2. Find and copy the category link. It should be inside the <div class=”ja-zincat clearfix”> block<a href="<?php echo $cat->link?>" title="<?php echo trim(strip_tags($cat->description));?>">
<span><?php echo $cat->title;?></span>
</a>3. Look for More links. It should be belows <strong><?php echo JTEXT::_(‘MORE’)?></strong> tag. Add paste the category link above.
<ul class="jazin-links">
<?php foreach ($rows as $row){?>
<li>
<span <?php if($showtooltip){?> class="editlinktip jahasTip" title="<?php echo trim(strip_tags($row->title), '"'); ?>::<?php echo htmlspecialchars($row->image.$row->introtext)?>"<?php }?>>
<a href="<?php echo $row->link; ?>">
<?php echo $row->title; ?>
</a>
</span>
</li>
<?php }?><li>
<span <?php if($showtooltip){?> class="editlinktip jahasTip" title="<?php echo trim(strip_tags($row->title), '"'); ?>::<?php echo htmlspecialchars($row->image.$row->introtext)?>"<?php }?>>
<a href="<?php echo $cat->link?>" title="<?php echo trim(strip_tags($cat->description));?>">
<span><?php echo $cat->title;?></span>
</a>
</span></li>
</ul>Now, save, clear cache and try again.
Regards
AuthorPostsViewing 3 posts - 1 through 3 (of 3 total)This topic contains 3 replies, has 2 voices, and was last updated by Wall Crasher 11 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
How to add link to the whole category in JA Newspro module
Viewing 3 posts - 1 through 3 (of 3 total)