display the title of a module loaded by fcloadmodule

More
12 years 8 months ago #24825 by hede
I load some modules via the field [fcloadmodule]. How can I display not only the content of the modules but their titles as well? In the modules "Show Title" is enabled but titles are not displayed in my item. cheers

FF on Win10, FLEXIcontent version 3.0.10 on Joomla 3.4

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

More
12 years 8 months ago #24828 by kenmcd
.
This may be a known Joomla 2.5 issue.
There are a number of items in the J2.5 tracker.
Search for "loadposition" or "module title" etc.
For example:
[#27132] loadposition doesn't show title
joomlacode.org/gf/project/joomla/tracker...racker_item_id=27132

There are 3-4 other "load module" tracker items.
And none of them appear to fully solved yet.

Note: I looked into this issue previously because I have tested some of my own modules on J2.5 in position-12 (above the content area) and the Show Title setting had no effect. The module title never appears. Still happens on Joomla 2.5.4.

The FCLoadModule field plug-in uses the core Joomla code to load modules.
So it should act the same.

Please test by adding a module into an item/article using the core {loadposition}/{loadmodule} tags.
If you have the same issue, then that confirms it is the Joomla 2.5 problem.

.

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

More
12 years 8 months ago #24830 by hede
Thanks for your quick reply. With {loadposition}/{loadmodule} the title gets displayed.

Maybe one has to retrieve the title with something like this:
Code:
$this->item->positions['login']->moduletitle

FF on Win10, FLEXIcontent version 3.0.10 on Joomla 3.4

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

More
12 years 8 months ago #24841 by kenmcd
Hmmm ... that's interesting.
In fcloadmodule.php it looks like the title is retrieved (line 68).
But apparently that is not working.
Perhaps there has been a change in J2.5 which requires a change in this plug-in.

Moving to the Bug Reports forum for ggppdk to take a look.

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.889 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