Skip to Content Skip to Menu

Preferred way to have public tab switchable?

  • ben_emo
  • ben_emo
  • OFFLINE
  • Posts: 21
  • Thanks: 0
  • Karma: 5
18 years 5 months ago #11051 by ben_emo
Sorry about that! It's my first joomlaforge project, still getting to grips with it. Does it work if you go to 'source code' from the project home page:

forge.joomla.org/sf/sfmain/do/viewProject/projects.anjel-cb

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

18 years 5 months ago #12616 by BusinessbyDesign
Replied by BusinessbyDesign on topic Re:Preferred way to have public tab switchable?
I still have a question (even after looking at the code from the Anjel files on forge.joomla.org.

[code:1]function getDisplayTab($tab,$user,$ui) {
$hidePublic=$this->params->get('hidePublic');
if ( !$hidePublic ) {
// code here
}
}[/code:1]

What do I put where it says "// code here" ... when I am not using the Anjel plugin, but I am wanting the user to have the ability to toggle his profile on or off?

Post edited by: BusinessbyDesign, at: 2006/05/14 10:01

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

Moderators: beatnantkrileon
Powered by Kunena Forum