By MD King on Monday, 23 November 2015
Posted in General
Likes 0
Views 394
Votes 0
I want to remove the word hello in the Dropdown Menu. Ideally, would love to use the Joomla user ID here, as opposed to name, but will take what I can get.
Hi there,

I believe your current template ja_social_ii is overriding the module, hence any change that you made inside the path that I gave earlier will not have any effect on your site. Try to go to your /templates/ja_social_ii/html/mod_easysocial_dropdown_menu/ and see how it goes.
·
Monday, 23 November 2015 15:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

I am really sorry for the delay of this reply as it weekends for all of us here.

You can go to your /modules/mod_easysocial_dropdown_menu/tmpl/default.php and locate the following code at line 151,
<span class="dropdown-toggle-user-name"><?php echo JText::_( 'MOD_EASYSOCIAL_DROPDOWN_MENU_HI' );?>, <strong><?php echo $my->getName();?></strong></span>

// replace with

<span class="dropdown-toggle-user-name"> <strong><?php echo $my->getName();?></strong></span>


Hope these help.
·
Monday, 23 November 2015 11:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Nope. I had tried that as well. Not sure where the issue is.
·
Monday, 23 November 2015 13:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Nailed it! (Didn't consider overrides)
You guys rock!

(Any hint on how to make it the ID? Not required, marking solved.)
·
Monday, 23 November 2015 16:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

I'm not really sure what do you mean by "Id" here. Do you mean that you just want to display user id inside the module? You can try to echo the following code in order to echo the id of the user after the "Hello" string for example.
echo $my->id;


Hope these help.
·
Monday, 23 November 2015 16:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Worked! Thanks!
·
Tuesday, 24 November 2015 02:30
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome.
·
Tuesday, 24 November 2015 11:11
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post