Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • vernontee Friend
    #905999

    http://screenpresso.com/=Qv9Ib

    I would like to disable this.. because its always a broken link.

    Pankaj Sharma Moderator
    #906011

    Hi
    You can check the K2 category and item options to disable the author .
    Like here > http://easycaptures.com/fs/uploaded/536/8042267393.png
    Global options of K2 component > http://prntscr.com/alelhc
    Hope it helps .

    vernontee Friend
    #906091

    oops i put this in the wrong forum, i was meaning for ja-directory. But anyway its not that i dont want to show it…i would like to show it but i dont want it to be a hyperlink. Just plain text.

    Pankaj Sharma Moderator
    #906111

    Hi
    In this case you need to edit the K2 php files , find the code for author and remove the href .
    Example : /templates/ja_directory/html/com_k2/directory/item.php
    Find `

                <a rel="author" href="<?php echo $this->item->author->link; ?>"><?php echo $this->item->author->name; ?></a>
    replace it with
                <?php echo $this->item->author->name; ?>
    
    code here > http://prntscr.com/algv0d
    do the same for other files where u want to edit this . If its not that u want to change i suggest you to ask this question on K2 forum , there u can get better reply about their component customization .
Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 3 replies, has 2 voices, and was last updated by  Pankaj Sharma 8 years, 7 months ago.

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