Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • wbroda Friend
    #198781

    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!


    1. recent-projects-view-all
    Pankaj Sharma Moderator
    #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_sugite

    find View all
    and change it as per your need .
    let me know if it helps

    wbroda Friend
    #538822

    hi, pankajsharma, unfortunately that’s not it.
    I need to change the link under the button, not the text. 🙁

    Pankaj Sharma Moderator
    #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 . 🙂


    1. Pk-Administration-Module-Manager-Module-Articles-Category
    wbroda Friend
    #538832

    I 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 …/portfolio

    So the question is still – how can I change the link?

    Pankaj Sharma Moderator
    #538835

    Hi
    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 site

    wbroda Friend
    #538837

    ok, thank you. I will try to work on this on my own for a bit.

    wbroda Friend
    #539040

    Ok 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”?


    1. recent-projects-view-all
    Pankaj Sharma Moderator
    #539064

    do you want to delete this button permanently ??

    wbroda Friend
    #539219

    yes, permanently.

    Pankaj Sharma Moderator
    #539235

    <em>@wbroda 432656 wrote:</em><blockquote>yes, permanently.</blockquote>

    Try this
    Go to templatesja_sugitehtmlmod_articles_category/[projects.php

    and 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

    wbroda Friend
    #539348

    Yes, 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 🙂

Viewing 12 posts - 1 through 12 (of 12 total)

This topic contains 12 replies, has 2 voices, and was last updated by  wbroda 10 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum