I want to know if there is an equivalent for the actual Template chosen by the user.
It's for a language key.
somthing like <a href="{profile_link}">{profile_nick}</a>
I want to replace the href="{profile_link}" by href="{template}"
I want to know if there is an equivalent for the actual Template chosen by the user.
It's for a language key.
somthing like <a href="{profile_link}">{profile_nick}</a> I want to replace the href="{profile_link}" by href="{template}" |
I want to know if there is an equivalent for the actual Template chosen by the user.
It's for a language key.
somthing like <a href="{profile_link}">{profile_nick}</a> I want to replace the href="{profile_link}" by href="{template}" Can you explain more clearly what you want? PS: If possible do not write me personally, please try to ask on the forum first |
For example, '_sys_breadcrumb_account' => '<img src="templates/tmpl_valkyrie_gold/images/buttons/account_en.png" >', The problem I have is that when I switch to an other skin, the language key remains the same.
I want to do something more like '_sys_breadcrumb_account' => '<img src="templates/{template}/images/buttons/account_en.png" >', |
For example, '_sys_breadcrumb_account' => '<img src="templates/tmpl_valkyrie_gold/images/buttons/account_en.png" >', The problem I have is that when I switch to an other skin, the language key remains the same.
I want to do something more like '_sys_breadcrumb_account' => '<img src="templates/{template}/images/buttons/account_en.png" >', 1. {template} replace with {0} 2. Now you can get it like this : _t('_sys_breadcrumb_account', $GLOBALS['tmpl'] ); PS: If possible do not write me personally, please try to ask on the forum first |