- Moderated by:
- Support
-
- rank:
-
Freshman
- registered:
- March 2008
- Status:
- offline
- last visit:
- 13.05.08
- Posts:
- 36
I have write this and work.
Now I would like to insert the default message, the one that starts with _ where is "Register".
this:
define('_USERS_REGISTER','Register');
If i write
the output is _USERS_REGISTER and not Register !!
Why ?
Sorry for my bad english ....... i'am italian :)
-
- rank:
-
Professional
- registered:
- September 2002
- Status:
- offline
- last visit:
- 19.11.08
- Posts:
- 879
Code
<!--[pnml name='_USERS_REGISTER']-->
--
best regards from Kiel, sailing city
Steffen Voss
Member of the PostNuke Steering Committee
Read The Zikulan's Blog -
- rank:
-
Freshman
- registered:
- March 2008
- Status:
- offline
- last visit:
- 13.05.08
- Posts:
- 36
No kaffeeringe.de ..... not work :(
It show "_USERS_REGISTER" and not "Register"
I reply message because the last my message is incomplete :)
I have write this and work.
Code
<!--[if $loggedin eq 1]-->
<li><a href="<!--[pnmodurl modname=Profile]-->"><!--[user]--></a></li>
<!--[else]-->
<li><a href="<!--[pnmodurl modname=Users]-->"><!--[pnml name='_USERS_REGISTER']--></a></li>
<!--[/if]-->
Now I would like to insert the default message, the one that starts with _ where is "Register".
this:
define('_USERS_REGISTER','Register');
If i write
the output is _USERS_REGISTER and not Register !!
Why ?
Sorry for my bad english ....... i'am italian -
- rank:
-
Team Member
- registered:
- December 2003
- Status:
- offline
- last visit:
- 04.12.08
- Posts:
- 2992
Well, you can always add a new language define as a theme level define, instead of trying to sort from where the define is being called.
If I create theme level defines, I make them with add a theme marker
_THEME_USERS_REG
You can all look at this pluginCode
<!--[userwelcome]-->
--
David Pahl
Zikula Support Team
