EDocman integration

More
9 years 5 months ago #63474 by othbert
Replied by othbert on topic EDocman integration
For reference and in case anyone stumbles across this again...

I found the cause of the problem I was having with modules being loaded multiple times. It all stemmed from my particular setup although I can imagine I'm not the only person to have attempted to use FLEXIContent in this manner.

My structure is as follows:
Template1: Category template without any styling. Item template without any styling.
Templates a,b,c,d,e.... : Item templates used to render each item called from Template1 with it's own specific layout.

Types are assigned to their relevant positions in the a,b,c,d,e templates. I thought I had to assign them to the Category view in Template1 too, in order to allow them to "pass through" to the item templates. Turns out that is where my issue is. Basically, they must only be positioned in the item templates, the category view of template1 should be blank.

Not a great job of explaining it, but a simple enough fix in the end.

Cheers again for your help!

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

More
9 years 5 months ago #63500 by ggppdk
Replied by ggppdk on topic EDocman integration
Hello

ok about the steps on replicating the issue with the modules, in your last message

but i do not understand the issue
Can you repeat what is the issue ?
you get blank display, wrong display ?


-- 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
9 years 5 months ago - 9 years 5 months ago #63519 by othbert
Replied by othbert on topic EDocman integration
Hi there,

The issue was that the module code was being loaded twice, although it was only being displayed once.
The display was fine, but I had a module utilising com_ajax which adds a script declaration when it is accessed in order to call the ajax.

This is how I noticed the modules were being accessed twice although correctly only displaying once... I couldn't understand why I was receiving multiple ajax calls when the module would display only once ;)
So I guess my issue was quite an edge case, but naturally, if the module is called twice, calls to add scripts or styles will be added to the joomla document object even if the output buffer isn't echoed!
Last edit: 9 years 5 months ago by othbert. Reason: clarification

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