How to pint an article on top of categorie view ?

More
5 years 2 months ago #75692 by Pitou
Hello

For my projet, I would like to pint an article or introduction on top of the categorie view, but didn't find the best way for doing it ?
This article would be shown on every item view for this categorie.

Any idea ?
Big thanks.
Pitou

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

More
5 years 2 months ago - 5 years 2 months ago #75695 by ggppdk
Hello

you can use a universal module that display this item (article) at a module position (the module position will be at the top of the page)
(use the "Item" filtering scope to select the ID of the specific item)

and then you can
- either display the module when the menu item of this category is active
- or at modules show / hide parameters you can use custom PHP code to decide showing the module, e.g.
Code:
$jinput = JFactory::getApplication()->input; return $jinput->getCmd('view') === 'category' && $jinput->getInt('cid') === 45;


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

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

More
5 years 2 months ago #75701 by Pitou
Thanks.
I'll try for it.

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

More
5 years 2 months ago #75741 by Pitou
Hello

It's works fine with one article, because my item was "en vedette" in french, I don't know the correct translation in english.

But now, I need to make this with the item ID.
I've made this option, as you said.
[img

But even if I can enter the item ID, the item is not shown

And with this one, I can't enter the ID.
[img


thanks for your help

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

More
5 years 2 months ago #75742 by ggppdk
Hello

1. do not enable other 'selection/filtering' "scopes"
just the item id scope (comma seperated)

2. also disable "show / hide parameters" , in case it is misconfigured

3. check if you have assigned module to specific menu items


-- 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
5 years 2 months ago #75743 by Pitou
Yes, for the moment, it works.
great thanks.

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

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