[SOLVED] [Shown to owners] unpublished items appear in category view

More
12 years 5 months ago #25760 by agata
I extracted the module from the previous build and it doesn't suffer from the bug

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

More
12 years 5 months ago #25767 by ggppdk
Class suffix , module ?

Can you write again about this issue?


-- 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
12 years 5 months ago #25780 by agata
after the upgrade to the latest build all the class suffixes (the text you can add to the class="moduletable" of a module) disappeared. they were stated in the settings of the modules (in Advanced Parameters (styling & caching etc)) but weren't correctly added in the rendered code

I don't know if it affects all the flexicontent modules as I only use the one called FLEXIcontent Module

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

More
12 years 5 months ago #25781 by ggppdk
parameters names and code for module class suffix has not changed from quite a few of revisions.

Just re-add the class suffix to the parameters and re-save the module,

Please note that suffix is applied inside the module template like this:


e.g. class suffix blue will be:
<div id="news155" class="mod_flexicontent_wrapper mod_flexicontent_wrap_blue">

If you have a customized template of the module, then compare it with news.php template

If you still think there is a bug please open a new forum thread and provide more details.

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
12 years 5 months ago #25784 by agata
the first thing I did was open the module in the back-end, check if the suffix is still there and saved it again, it did nothing. only uploading the module extracted from the previous build solved the issue

the suffix can be added to a flexi-specific class inside the module but it always has to be added to the class .moduletable that wraps the module, that's how all joomla modules work

this is the structure of all the elements and classes/IDs of one of the modules with the suffix "politics" added to .moduletable. this is correct, it comes from the build r1331

html > body > div #wrapper > div #body > div #frontpage > div .moduletablepolitics > div #news106 .mod_flexicontent_wrapper mod_flexicontent_wrappolitics > div #added106 .mod_flexicontent twocol > div .mod_flexicontent_featured > div .mod_flexicontent_featured_wrapper odd > span .content_featured > p .news_text

in the module from the latest build the suffix is not being added to .moduletable

html > body > div #wrapper > div #body > div #frontpage > div .moduletable > div #news106 .mod_flexicontent_wrapper mod_flexicontent_wrappolitics > div #added106 .mod_flexicontent twocol > div .mod_flexicontent_featured > div .mod_flexicontent_featured_wrapper odd > span .content_featured > p .news_text

in any joomla module the suffix is always being added to .moduletable, I don't know why you changed this in the latest version. you might find it insignificant but for someone coding the template it may prove crucial in avoiding having to create redundant wrapping elements and separate module positions for each module, trust me on this

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

More
12 years 5 months ago #25998 by hede
I can confirm the bug agata reported. The Module Class Suffix doesn't currently get rendered into the variable moduleclass_sfx which is the Joomla standard variable, although it was rendered till around r1331. If that would be the case one could get the Module Class Suffix with the following code that works for every other module:

<?php echo $params->get('moduleclass_sfx'); ?>

FF on Win10, FLEXIcontent version 3.0.10 on Joomla 3.4

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

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