JPane error in template after upgrade J2.5 to J3.1

More
10 years 5 months ago #47232 by AsCiix
Hello,

Someday i found in this forum the perfect template for my website -tabs_improved- well.. I can't find it anymore, i this that topic was deleted :(

So... now I upgraded my joomla from 2.5 to 3 and this template show me this nasty error:
Fatal error: Class 'JPane' not found in /../components/com_flexicontent/templates/tabs_improved/item.php on line 24

I've attached the file here, maybe someone can help me?
Code:
jimport('joomla.html.pane'); $pane =& JPane::getInstance('tabs')

Thanks in advance,
AsX

PS: Ive read this - www.flexicontent.org/forum/index ... 007#p40958 but yet can't figure it out a way to make the attached file work :oops:
Attachments:

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

More
10 years 5 months ago #47233 by ggppdk
Hello

we have no control over custom template code

do this:
1. comment out the code giving the error

2. use:
Code:
//start of TAB-set echo JHtml::_('tabs.start','my-tabs', array('useCookie'=>1)); echo JHtml::_('tabs.panel', 'Title1', 'content1' ); ... // 1st TAB contents echo JHtml::_('tabs.panel', 'Title2', 'content2' ); ... // 2nd TAB contents echo JHtml::_('tabs.panel', 'Title3', 'content3' ); ... // 3nd TAB contents // End of TAB-set
echo JHtml::_('tabs.end');


Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
10 years 5 months ago #47275 by AsCiix
Hello ggppdk,

Thank you for your answer.
I tried every way I could with my knowledge, but I guess it's not enough. :( Can't make it work.
Can you please give a quick check to the file I attached?

Thks in advance,
AsX

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

More
10 years 5 months ago #47277 by ggppdk
Hello

a little difficult to look at custom template code

i only have time for
1. FLEXIcontent bugs,
2. and for already taken up obligations ()

maybe i can do this next days, but this week is a difficult one

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
10 years 5 months ago #47294 by AsCiix
Hello again ggppdk,

I know that you have no obligation to help custom templates or custom matters besides flexicontent(core), but yet you are doing as excelent job in this forum, to help everybody.

If you have any spare time, please give me a hand :P

Thank you again,
AsX

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

More
10 years 5 months ago #47296 by ggppdk
Hello

this is the modified file for J3

[attachment=0:s6snggh7]<!-- ia0 -->item.zip<!-- ia0 -->[/attachment:s6snggh7]

-- tested too that tabset works

-- appearance of TABs will depend on the CSS loaded by your web-site, watch for JS errors that will prevent TABset and any other JS code to work

-- also corrected logic of it, if TAB1 had no template - "positioned" fields then TABset would get broken)


please note this change could be made by any Joomla developer (freelancer or not)

so me spending 20-30 minutes on was not really necessary ;)


Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Attachments:

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.316 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline