test

Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • jurgeng Friend
    #838162

    Hey,

    For the user names not showing in my newsticker, I altered the template override a tiny bit.

    File: /templates/ja_beranis/html/mod_janewsticker/default.php

    I added a new line on line 42 (inside the foreach($list as $index=>$item)) <?php $thisUser = JFactory::getUser($item->created_by)->get(name); ?>

    Next, 2 lines down, I changed the code inside the square brackets to this: [<?php echo $thisUser; ?>]

    I could go adding a conditional state if an alias was used, but for now that’s not a priority.

    Grtz, Jurgen.

    Pankaj Sharma Moderator
    #838691

    Hello @jurgeng could u provide details of the problem of you are getting on your site ?

    jurgeng Friend
    #839449

    Hi Pankaj,

    I was getting the news ticker with nothing between the square brackets:
    So it looked like this:

    [] Topic Title

    Grtz,
    Jurgen.

    Pankaj Sharma Moderator
    #839579

    So that i can assist you better kindly edit ur first post and submit ur site admin and FTP details so i n check it.
    Please revert ur custom changes.

    jurgeng Friend
    #839834

    Please notice, I don’t have any problems anymore at this moment, I actually fixed them and just supplied the fix here.

    Pankaj Sharma Moderator
    #839885

    Hi
    before checking your please let me know how to re create issue , because it working fine on your site > .

    http://prntscr.com/9mp3kn
    +its not in the comes with template as complimentary JA extension .

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

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

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