Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • islandview Friend
    #144382

    In my section/blog_item.php file I have the following un-tweaked code….

    <?php JText:: printf(‘Written by’, ($this->item->created_by_alias ? $this->item->created_by_alias : $this->item->author)); ?>

    This produces the ‘Written By A.N.Other’ line on the section blog view. I’d just like it to say ‘By A.N.Other’ – So on the face of it, I just delete ‘written’ from the code – but if I do that, the author name disappears too – I just don’t understand it!!!! Any ideas??!?!?

    noibihappy2009 Friend
    #319359

    If you just want to remove the text “Written by” so

    <?php
    echo $this->item->created_by_alias ? $this->item->created_by_alias : $this->item->author
    ?>

    I dont know while for long time since 09.19 of this post but no reply from JA Support 😐 Wooow.. nice

    islandview Friend
    #319481

    Thanks – That worked perfect. Easy when you know how!

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

This topic contains 3 replies, has 2 voices, and was last updated by  islandview 15 years, 1 month ago.

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