Hi!
While adapting a Module to J!1.5 I came across something reallly strange...
When I publish the Module to the Top-Position of the Template, <?php echo JText::sprintf( 'HINAME', $user->get('name') ); ?> works fine and outputs "Hello Administrator,", but when I publish it further down the Page (i.E. right column), the same function just outputs "HINAME"
I tried it on different Templates, different Module-Positions, tried stripping down the code to only <?php echo JText::sprintf( 'HINAME', $user->get('name') ); ?> etc.
Even when I copy the Module and place one in the Top-Position and another one in right, the one on Top will say "Hello Administrator,", while the other one says "HINAME", although it's exatly the same code
Please help!
strange JText::sprintf Behaviour
Moderators: tjay, seadap, Rogue4ngel, matthewhayashida
Re: strange JText::sprintf Behaviour
I found the Solution... while for the appearance in the Header-Location it used the original Login Module's Language-File it didn't do that later on...
Can somebody now tell me, how to make my Module use the <language/<language>.mod_login.ini as Language-File instead of searching for it's own one?
Help is much appreciated! Thank you
Can somebody now tell me, how to make my Module use the <language/<language>.mod_login.ini as Language-File instead of searching for it's own one?
Help is much appreciated! Thank you