Prefix disappears when the fields are placed in tabs

More
12 years 10 months ago #36182 by boniaditya
I tried to place a field in a tab which is provided in the template and all the data that i have included in the prefix disappears, the rest of the field content is displayed normally.

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

More
12 years 10 months ago #36191 by ggppdk
Hello,
positioning does not effect HTML output

it must be due to styling/JS or similar
or due to broken prefix HTML, that displays differently depending on the place it is placed,

do a view page source to see the real HTML output


-- 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 review. Thanks!

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

More
12 years 10 months ago #36334 by boniaditya
Yes i think it is a js error.

I tried to place a module inside the prefix
{module abc} I used this code inside the prefix to include a heading.
It appears fine when it is shown outside the tabs but then it disappears when it is placed inside a tab.

I tried a few other things to check if all the prefixes have the same problem
I created a new module field and placed it inside the tab and it disappears too!

I think the problem is with modules inside tabs.

NOTE: The weird thing is that while the page is loading i could see the module loading. I mean it appears while the page is still loading but then it disappears after the page finishes loading.

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

More
12 years 10 months ago #36342 by ggppdk
So if you do "view page" in the browser,

and examine HTML is the module text there ?
(search for specific words that you know exist)

also post a link to it and give a small phrase of words that should appear so that i can search


-- 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 review. Thanks!

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

More
12 years 10 months ago #36362 by boniaditya
Yes, I checked the html code and the module is right there. Just after the code for flexicontent tab

Further i created a few more fields and also placed them in the tab and all the prefixes disappear. Not just the modules. The code exists in the source but it does not appear. It appears for a short period while the page is still loading and then after the page is completely loaded, the tab appears and the prefix/module disappears.
I also created a new module and placed it at the end of the tab(i placed a few fields before this field). To check if placing the module at the top was causing the error, but the module disappears no matter where it is placed.

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

More
12 years 10 months ago #36385 by ggppdk
Please examine CSS to see why it does not appear


-- 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 review. Thanks!

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

More
12 years 10 months ago #36440 by boniaditya
Thank you for the help.
I found the error.
I inspected the code with Firebug in Firefox and the code that is supposed to show the prefix is grey/lighter in color than the rest of the code shown in firebug.

I found this google group which explained what it means

groups.google.com/forum/?fromgr ... oisDg987P8

Anyway the line that is hiding the module is this line
.tabberlive .tabbertab h2{
display: none;
}
tabber.css (line 95)

Thanks for recommending firebug. It is amazing!

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

More
12 years 10 months ago #36592 by ggppdk
Hello,
I ll add this in file components/com_flexicontent/assets/css/flexicontent.css
Code:
.tabberlive .tabbertab div h3, .tabberlive .tabbertab p h3, .tabberlive .tabbertab table h3, .tabberlive .tabbertab span h3 { display: inherit; }

You can add this now. The above will fix the issue if your h3 is inside another tag of type div,span,table,p


-- 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 review. Thanks!

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

More
12 years 9 months ago #36697 by ggppdk
Hello,
in r1681 we fixed h2/h3 not to be hidden inside TABS


-- 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 review. Thanks!

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

More
12 years 9 months ago #36723 by boniaditya
Thank you for the quick response

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

Moderators: vistamediajoomlacornerggppdk
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
Save