Template in url somthing like <a href="%7Bprofile_link%7D">{profile_nick}</a>

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}"

Quote · 24 Jan 2011

 

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
Quote · 24 Jan 2011

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" >',

Quote · 24 Jan 2011

 

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
Quote · 25 Jan 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.