Skip to Content Skip to Menu

🕒 Save Time and Effort with CB Editor Assistant: Effortlessly create and refine content in Joomla 3, 4, & 5.
🎁 Limited Offer: Enjoy a 5-day FREE trial and save up to 30% afterward!

Overwrite original tab

  • hw2
  • hw2
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
12 years 5 months ago #207956 by hw2
Overwrite original tab was created by hw2
Hello
I'm creating a personal plugin that should display new tabs with custom fields inside..
Well i've created the tabs, added fields to them and now i would display fields filtered by some conditions

i've tried to create the list of fields using "getDisplayTab" function in my tab class

but seems it's just a function that "add" some html code to the tab...doesn't replace the original one

for example, if i assign "fooField" to "fooTab" in admin backend and i call it by getDisplayTab , it will be showed 2 times... ( i think first by the plugin and then by main cbTabHandler )

So how can i overwrite the original output and show only personal getDisplayTab output?

thank you in advance

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

  • hw2
  • hw2
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
12 years 5 months ago #207963 by hw2
Replied by hw2 on topic Re: Overwrite original tab
actually i've solved modifying generateViewTabsContent on comprofiler.class.php

let me know if there is a smooth way please

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

Moderators: beatnantkrileon
Powered by Kunena Forum