-
AuthorPosts
-
wbroda Friend
wbroda
- Join date:
- September 2012
- Posts:
- 49
- Downloads:
- 48
- Uploads:
- 11
- Thanks:
- 18
- Thanked:
- 3 times in 1 posts
June 13, 2014 at 8:47 am #198781Hello,
I can’t seem to find a way to change the hyperlink in the “View all” button. Where is this defined?
I know how to override the text that shows in Recent Project module, so this is not a problem. But the link??Any help would be appreciated.
Regards!
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
June 13, 2014 at 9:25 am #538820<em>@wbroda 432108 wrote:</em><blockquote>Hello,
I can’t seem to find a way to change the hyperlink in the “View all” button. Where is this defined?
I know how to override the text that shows in Recent Project module, so this is not a problem. But the link??Any help would be appreciated.
Regards!</blockquote>HI
to change the text please open root directory
languageen-GBen-GB.tpl_ja_sugitefind View all
and change it as per your need .
let me know if it helpswbroda Friendwbroda
- Join date:
- September 2012
- Posts:
- 49
- Downloads:
- 48
- Uploads:
- 11
- Thanks:
- 18
- Thanked:
- 3 times in 1 posts
June 13, 2014 at 9:31 am #538822hi, pankajsharma, unfortunately that’s not it.
I need to change the link under the button, not the text. 🙁Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
June 13, 2014 at 9:38 am #538824<em>@wbroda 432113 wrote:</em><blockquote>hi, pankajsharma, unfortunately that’s not it.
I need to change the link under the button, not the text. :(</blockquote>
Hi
this is the link of the category selected in the module Recent project.
see this >
this category is selected in the menu of Portfolio
so link is redirected to the portfolio menu .
Hope you understand it . 🙂
wbroda Friendwbroda
- Join date:
- September 2012
- Posts:
- 49
- Downloads:
- 48
- Uploads:
- 11
- Thanks:
- 18
- Thanked:
- 3 times in 1 posts
June 13, 2014 at 10:02 am #538832I understand, but it’s still not quite that.
In the quickstart the “View all” button links to a defined page: …/bonus-page/portfolio-page
In my website it links to the category, ../14-nameofcategory
I don’t want it like this, I want the button to link to a defined page like …/portfolioSo the question is still – how can I change the link?
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
June 13, 2014 at 10:07 am #538835Hi
yes thats the same i mentioned above
if you want to redirect link to specific page .
just add the same category in the module Recent projects
that you added in your specific menu .
Hope it helps ,
if you have still some problems ti implement it
PM me admin details of your site and the menu link that you want to change in module
i will directly change it on your sitewbroda Friendwbroda
- Join date:
- September 2012
- Posts:
- 49
- Downloads:
- 48
- Uploads:
- 11
- Thanks:
- 18
- Thanked:
- 3 times in 1 posts
June 13, 2014 at 10:12 am #538837ok, thank you. I will try to work on this on my own for a bit.
wbroda Friendwbroda
- Join date:
- September 2012
- Posts:
- 49
- Downloads:
- 48
- Uploads:
- 11
- Thanks:
- 18
- Thanked:
- 3 times in 1 posts
June 16, 2014 at 11:04 am #539040Ok it seems like I don’t quite understand how the category linking works – sorry I’m kinda new to Joomla.
Maybe there’s a way to just delete the button “view all”?
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
June 16, 2014 at 3:10 pm #539064do you want to delete this button permanently ??
wbroda Friendwbroda
- Join date:
- September 2012
- Posts:
- 49
- Downloads:
- 48
- Uploads:
- 11
- Thanks:
- 18
- Thanked:
- 3 times in 1 posts
June 17, 2014 at 12:36 pm #539219yes, permanently.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
June 17, 2014 at 3:47 pm #539235<em>@wbroda 432656 wrote:</em><blockquote>yes, permanently.</blockquote>
Try this
Go to templatesja_sugitehtmlmod_articles_category/[projects.phpand remove the code
<div class="project-item project-item-more">
<h3><?php echo JText::_('TPL_RECENT_PROJECTS'); ?></h3>
<a class="btn btn-border btn-lg" href="<?php echo JRoute::_(ContentHelperRoute::getCategoryRoute($jacategory->id));?>"><span><?php echo JText::_('TPL_VIEW_ALL'); ?></span></a>
</div>Let me know if it helps
1 user says Thank You to Pankaj Sharma for this useful post
wbroda Friendwbroda
- Join date:
- September 2012
- Posts:
- 49
- Downloads:
- 48
- Uploads:
- 11
- Thanks:
- 18
- Thanked:
- 3 times in 1 posts
June 18, 2014 at 10:20 am #539348Yes, thank you.
I don’t know php, so I don’t know what’s possible to do with it, but maybe there’s a way to change it in this line in the code, so it links to a menu item, instead of a category – but I don’t know how to do it 🙂
I deleted the following line:
<a class="btn btn-border btn-lg" href="<?php echo JRoute::_(ContentHelperRoute::getCategoryRoute($jacategory->id));?>"><span><?php echo JText::_('TPL_VIEW_ALL'); ?></span></a>
and then adjusted in the ../themes/red/template.css the margin-top value in the following lines:
@media (min-width: 1200px) {
.categories-module .project-item.project-item-more > h3,
ul.categories-module .project-item.project-item-more > h3,
.category-module .project-item.project-item-more > h3,
ul.category-module .project-item.project-item-more > h3 {
margin-top: 60px;
}
} @media (min-width: 1600px) {
.categories-module .project-item.project-item-more > h3,
ul.categories-module .project-item.project-item-more > h3,
.category-module .project-item.project-item-more > h3,
ul.category-module .project-item.project-item-more > h3 {
margin-top: 140px;Now it looks okay 🙂
AuthorPostsViewing 12 posts - 1 through 12 (of 12 total)This topic contains 12 replies, has 2 voices, and was last updated by wbroda 10 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum