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 🛍️ Intro Black Friday Offer for a lifetime*

Is displaytype used when $method = drawEditProfile ?

10 years 10 months ago #238931 by arsouille60
Hi,
i've displaytype = div et all my css works fine when i visit a profil ($method = drawProfile).
But when i want to edit this in frontend ($method = drawEditProfile) it seems that displaytype = tab.

I use default template.

Could someone help me please ?

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

10 years 10 months ago #238960 by arsouille60
I found a specific solution for my problem.
Be carfull i don't know consequences of this change.

i edit \administrator\components\com_comprofiler\comprofiler.class.php, line 3274
Code:
/** * Creates a tab with title text and starts that tabs page * @param pID - This is the pane unique identifier * @param tabText - This is what is displayed on the tab * @param paneid - This is the parent pane to build this tab on */ function startTab( $pID, $tabText, $paneid ) { // not needed anymore since DOM is ready when we start: // $js = 'tabPane' . $pID . '.addTabPage(document.getElementById("cbtab' . $paneid . '"));'; // $this->_outputJs( $pID, $js ); return '<div class="cb_tab_container cb_tab_content cb_tab_div cb_tab_edit" id="cb_tabid_' . $paneid . '">' . '<div class="contentheading">' . $tabText . '</div>' . '<div class="contentpaneopen">'; } /** * Ends a tab page */ function endTab( ) { return '</div></div>'; }

I hope this could help ?...

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

Moderators: beatnantkrileon
Powered by Kunena Forum