simonwellsuk wrote:
Thanks again Olaf.
So if I understand this correctly, all joomla php files contain these strings and placeholders.
Having looked and paid a bit more attention to the php side of things, instead of the css and html, I can see these now, but may not understand it all.
Taking the previous code from the en-GB.com_community.ini file
Code:
SEND_MSG_ACTIVATE=Hello %s,\n\nThank you for registering at $s. Your account has been created and must be activated before you can use it.\nTo activate the account click on the following link or copy-&-paste it in your browser:\n%s\n\nAfter activation you may login to %s using the following username and password:\n\nUsername: %s\nPassword: %s
I am now curious to know which file the %s are setup to specify the username, domain, activation link, domain, username, password as seen in that string.
I think what you want to do is specify the optional ordering in your replacement string.
By default, using a series of %s will replace the %s's with the strings in the order that they appear.
But you can also use syntax like %1$s, %2$s, %3$s etc to specify exactly which string you want to display where. To figure out the order of the strings, look at the original string and see what order they are presented.
Hope that helps

Ian