Montrer l'ID d'un Item en front

More
10 years 4 months ago #52421 by mfe13260
Bonjour,

Est il possible de montrer l'ID d'un Item dans un champs text ou autre pour une seule catégorie ?
ID serait ici la référence d'un Item pour mes clients.

Merci d'avance

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

More
10 years 4 months ago #52426 by micker
desoler je comprend pas tu peus nos expliquer plus ?

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 4 months ago #52434 by mfe13260
Salut,

Chaque item (article) a un ID.
Mais il n'y a pas de champs système pour le montrer en front.
Y a t-il un moyen de montrer l'ID sur chaque Item, en front.
En fait, l'ID serait comme une référence d'item pour l'utilisateur.

Merci

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

More
10 years 4 months ago #52439 by ggppdk
Hello

1. create a text field, and set default value for it:
 

2. set field to display default value instead of empty

3. in the value prefix parameter set:
{item->id}




Alternative:
1. Make sure you have a custom FLEXIcontent template (click duplicate in FLEXIcontent template manager)
e.g. blog-1

2. custom files in directory
components/com_flexicontent/templates/blog-1/

edit
item(_html5).php
category_items(_html5).php

and add
echo $item->id

in appropriate places


-- 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.345 seconds
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
Save