Search found 3 matches

by toillbaill
Thu Feb 18, 2010 11:25 pm
Forum: Modules/Add-Ons
Topic: accessing FrontEndUsers smarty-functions from another module [solved]
Replies: 1
Views: 972

Re: accessing FrontEndUsers smarty-functions from another module

ah, nevermind, i copied the contents of the smartyfunction into my code instead.
by toillbaill
Thu Feb 18, 2010 12:50 pm
Forum: Modules/Add-Ons
Topic: accessing FrontEndUsers smarty-functions from another module [solved]
Replies: 1
Views: 972

accessing FrontEndUsers smarty-functions from another module [solved]

Hi! I'm trying to access FrontEndUsers' smarty-function {$feu_smarty->get_users_by_groupname($groupname,$assign)} from another module with php (trying to make a dropdown input to choose which FEUser is resonsible for something.) I have figured out i can get to the normal functions in the module, lik...
by toillbaill
Mon Jun 22, 2009 8:26 pm
Forum: CMSMS Core
Topic: Override {sitename}
Replies: 8
Views: 2463

Re: Override {sitename}

i use mle, so i made a new udt called sitename_lang:

Code: Select all

if($params['lang']=="nb_NO")
{
return("norwegian sitename");
}
else
{
return "english sitename";
}
and in the template i've changed {sitename} to {sitename_lang lang="$lang"}

Go to advanced search