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

More
10 months 2 days ago - 8 months 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: 8 months 2 weeks ago by id-pop.

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

More
10 months 2 days 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 review. Thanks!

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

More
10 months 2 days 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
10 months 2 days ago - 10 months 2 days 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 review. Thanks!
Last edit: 10 months 2 days ago by ggppdk.

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

More
10 months 2 days 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
10 months 2 days 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 review. Thanks!

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

More
10 months 19 hours ago #69592 by ggppdk
Hello

also about adding the filtering configuration to the URL of
show more

not all filtering options of universal module are supported by category view

e.g. the custom field filters are supported by category view
e.g. the "same" tags filters can be converted to be value of "tags" filter

so the above can be used

but e.g. the date filter scope is tricky !

An idea could be to make the more link be shown only if all filtering are supported by category view


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

Moderators: vistamediajoomlacornerggppdk
© 2018 Flexicontent. All Rights Reserved.