Skip to Content Skip to Menu

Mikko's Template Switcher

17 years 2 months ago #43024 by TheUnderdog
Replied by TheUnderdog on topic Re:Mikko's Template Switcher
Ok, thank you very much for your quick answer.


By the way. I had to change something in your template code index.php because the apc_type for each member saved in the database get the 'title' of the Profil group instead of its 'id'.

That mean that the var $template get nothing in the query :
$database->setQuery("Select template from #__comprofiler_accesscontrol_groups where title='$user->apc_type'");

instead of
$database->setQuery("Select template from #__comprofiler_accesscontrol_groups where groupid= $user->apc_type ");

I'm very satisfied with your component. I make few modifications due to my needs.

thanks

Post edited by: TheUnderdog, at: 2007/08/15 16:18

Please Log in or Create an account to join the conversation.

  • mikko
  • mikko
  • OFFLINE
  • Posts: 703
  • Thanks: 0
  • Karma: 115
17 years 2 months ago #43028 by mikko
Replied by mikko on topic Re:Mikko's Template Switcher
You can email me these and I will see if I can include them in the later versions.

-Mikko

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum