Ajouter un module dans un template category

More
10 years 1 month ago #50232 by seabird
Bonjour,

Je voudrais ajouter un module (Universal Content Module for FLEXIcontent en carrousel) dans un template category (category_items.php ). J'ai essayé en mettant un code du style:
Code:
<div id="moncarroussel"> <jdoc:include type="modules" name="moncarroussel" style="xhtml" /> </div>
Mais cela ne fonctionne pas. Y a t-il moyen d'insérer un module dans le template ?

I would add a module (Universal Content Module for FLEXIcontent -carrousel) in a template category (category_items.php). I tried put this code:
Code:
<div id="moncarroussel"> <jdoc:include type="modules" name="moncarroussel" style="xhtml" /> </div>
But it does not work. Can we insert a module into the template category?

Merci,

Eric

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

More
10 years 1 month ago #50235 by ggppdk
Hello

you want to display the module inside the component area ?


1. you can code of Joomla loadmodule plugin inside you custom template:
{loadmodule joomla_template_position_name}

2. Trigger as described in this FAQ article:

www.flexicontent.org/documentati ... n-etc.html

make steps 1-4 , just for step 2
use:
Code:
$c->text = '{loadmodule joomla_template_position_name}';


-- 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
10 years 1 month ago #50251 by micker
et le champs load module de flexi il sert a quoi ???
lol

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
10 years 1 month ago #50322 by seabird
Bonjour Micker

micker wrote: et le champs load module de flexi il sert a quoi ???
lol


Ce n'est pas possible avec le champ de flexi car il va me charger le module pour chaque item (je suis dans le template categorie). Moi je voulais seulement l'affichage du module une seul fois

Eric

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

More
10 years 1 month ago #50323 by seabird
Hello,

ggppdk wrote: Hello

you want to display the module inside the component area ?


1. you can code of Joomla loadmodule plugin inside you custom template:
{loadmodule joomla_template_position_name}

2. Trigger as described in this FAQ article:

www.flexicontent.org/documentati ... n-etc.html

make steps 1-4 , just for step 2
use:

Code:
$c->text = '{loadmodule joomla_template_position_name}';


Thanks, its ok now for the universal module -> caroussel .
But now I'm working on a category template responsive and the carousel is not responsive. Can we make it responsive simply ?

Thanks

Eric

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

More
10 years 1 month ago #50324 by ggppdk
Hello

the carousel is responsive in regards that it calculates how many items fit in current width

e.g. it find if 4 or 2 items will fully fit in current width, width of item is fixed


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