Skip to Content Skip to Menu

🌟 CB Editor Assistant 1.0.0 is here! Discover our new AI Joomla Plugin that wrote its story! (and this banner!)
Start at just $12.50/month* or 💸 save 30% with our 🛍️ Black Friday Intro Offer for your subscription's lifetime
🎉 Black Friday sale is here! Great savings on professional and developer memberships! Get 25% off now with code BLACK-FRIDAY-2024!

Overwrite original tab

  • hw2
  • hw2
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
12 years 3 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 3 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