1 martha Apr 18, 2007 22:36
3 martha Apr 19, 2007 06:47
I'm amazed to see that the file you sent me to describes _user.funcs.php, not _main.php from which I quoted the code. Which were you thinking I should change?
My reasoning that the words "Admin" and "Profile" and "Subscribe" are not being picked up from the lines of code quoted is that they are not in the same form. Something else could be capitalizing them, but "Subscribe" is the tip-off that the words come from somewhere else. Isn't it? (I don't know much PHP, am just trying to puzzle it out logically.)
That somewhere else might be _user.funcs.php. And maybe I'll get up my nerve tomorrow to try changing it...
4 edb Apr 19, 2007 14:17
_main.php, which is where the function is called from. By sending parameters with the function you will be telling the other file to use your values for those parameters instead of it's default values. "Admin" is a default value. You want something different, so you tell it what you want with the parameter for that bit.
5 martha Apr 19, 2007 19:18
It works! hooray!
And understanding dawns, bit by bit (as usual).
Thank you! (And thank you especially for taking the time to clarify.)
The text you see where that function makes text happen is controlled ... right there! Dig on http://doc.b2evolution.net/v-1-9/evocore/_blogs---inc---MODEL---users---_user.funcs.php.html#functionuser_admin_link and be amazed. You need to give it the third parameter, then for the fourth and fifth you can customize your text.
So something like