Flexicontent universal module : Afficher le nombre d'item trouvé

More
7 years 2 months ago - 7 years 2 weeks ago #69541 by id-pop
Bonjour,
Je souhaite créer un module de type "universal content". Dans celui-ci je compte afficher les titres des catégories en utilisant l'onglet "liste des catégories" ainsi que le nombre d'items présents dans la catégorie en fonction de la sélection d'article que j'ai faite.
Pour celà, j'ai ajouté dans le fichier mod_flexicontent/tmpl_common/category.php en ligne 22 le code suivant : <?php echo /*$cat->numitems*/ (int)(@$globalcats[$catdata->id]->totalitems); ?>
Sauf que ce code affiche le nombre total d'item dans la catégorie et pas le nombre total d'item dans la catégorie en fonction de ma sélection d'item.
Comment puis-je faire ?
Merci et bonne journée,
Alexandre
Last edit: 7 years 2 weeks ago by id-pop.

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

More
7 years 2 months ago #69546 by ggppdk
Hello

number of items according to current filtering is only calculated only in category view

it is not calculated in universal content module


-- 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
7 years 2 months ago #69550 by id-pop
So there is no way of including the code used in category view in universal content module template ?

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

More
7 years 2 months ago - 7 years 2 months ago #69556 by ggppdk
Hello

anything is possible depending on the time and effort you put to it
with a little effort the query can return the number of items too

i would estimate 1 hour work to add it and test it


-- 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...
Last edit: 7 years 2 months ago by ggppdk.

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

More
7 years 2 months ago #69559 by id-pop
OK. I will try. If my skills are not enough, could you make a specific development (as paidjob) ?

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

More
7 years 2 months ago #69560 by ggppdk

i would estimate 1 hour work to add it and test it

OK. I will try. If my skills are not enough, could you make a specific development (as paidjob) ?


some new feature work that is little time can be sponsored,
(for everyone to get it in the free version of FLEXIcontent),

send me a PM


-- 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.

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