Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • dageraad Friend
    #203865

    Hi,

    in a previous thread (now gone) I asked how I could change the words “recent projects” in the articles category module into the name of the category that it exposes. Pankajsharma told me to do this:

    go to /templates/ja_sugite/html/mod-articles_category/project.php

    and change this code “<h3><?php echto JText::_(‘TPL_RECENT_PROJECTS’); ?></h3>”

    into this code “<h3><?php echo “YOUR CATEGORY NAME”; ?></h3>”

    I did this and the title did change the way I wanted, but now there’s a problem with the text that appears when i hover on the images. check the screenshot:

    After every title there’s now “4>View more info”


    1. recent-proj
    Pankaj Sharma Moderator
    #559826

    Hi @dageraad
    Sorry we have lost our 30 days data .
    <blockquote>and change this code “<h3><?php echto JText::_(‘TPL_RECENT_PROJECTS’); ?></h3>”

    into this code “<h3><?php echo “YOUR CATEGORY NAME”; ?></h3>”
    </blockquote>

    You need to do this only for the override module .
    Can you send me your admin details . Currently i can not access your site >>> http://prntscr.com/66inj9

    dageraad Friend
    #559855

    What do you mean by override module?
    I copied the original php-document and renamed that one, than I changed the piece of code. You won’t see anything on the site right now, I changed it back to “recent projects”.

    URL is:
    dochy2.mascomm.be

    added login details in original post

    Pankaj Sharma Moderator
    #559860

    HI
    Can you check your server settings . I am not able to access your site .
    check this >>> http://prntscr.com/66lkcn

    dageraad Friend
    #559867

    Okay, now you should be able to check the site.

    Pankaj Sharma Moderator
    #559962

    Hi
    Send me FTP details of your Site in PM and the module ID with layouts . I will fix it directly on your site.

    dageraad Friend
    #560090

    Hi,

    Sorry but I’m not allowed to give you the FTP details.. Can you give me the right code instead?

    Thanks

    Pankaj Sharma Moderator
    #560094

    Hi
    as per previous Post you have Created the override of your Layout module .
    if you have changed anything (custom work) please revert it .

    Now on your site i found there are two layout of article category module that you created .
    1. Interieur
    2. Exterieur .

    Open the File Interieur.php
    Find this code

    <h3><?php echo JText::_('TPL_RECENT_PROJECTS'); ?></h3>
    Change it into

    <h3><?php echo JText::_('TPL_YOUR_INTERIEUR'); ?></h3>

    Now open
    FInd this code

    <h3><?php echo JText::_('TPL_RECENT_PROJECTS'); ?></h3>

    Change it in with

    <h3><?php echo JText::_('TPL_YOUR_EXTERIEUR'); ?></h3>

    Now open
    open the root directorylanguageen-GB/en-GB.tpl_ja_sugite.ini

    and define these values

    <blockquote>TPL_YOUR_INTERIEUR=”YOUR CATEGORY NAME”</blockquote>

    and
    <blockquote>TPL_YOUR_EXTERIEUR=”YOUR CATEGORY NAME”</blockquote>

    Replace the YOUR CATEGORY NAME with the name that you want .
    Apply the layouts that you created above to your modules .

    Take a backup of your site before applying changes .

    dageraad Friend
    #560351

    This works fine! Thanks !

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

This topic contains 9 replies, has 2 voices, and was last updated by  dageraad 9 years, 8 months ago.

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