durée de publication

  • Anonymous
  • Topic Author
  • Visitor
  • Visitor
14 years 4 months ago #8453 by Anonymous
durée de publication was created by Anonymous
Bonjour,
je cherche à forcer et limiter le temps de publication d'un article à x jours.
possible?

merci

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

More
14 years 4 months ago #8455 by micker
Replied by micker on topic durée de publication
hello l'option fin de publication ne te vas pas ?

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.

  • Anonymous
  • Topic Author
  • Visitor
  • Visitor
14 years 4 months ago #8457 by Anonymous
Replied by Anonymous on topic durée de publication
en fait je veux bloquer automatiquement à x jours dans le paramétrage et que la personne qui remplie l'article n'y est pas accès.

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

More
14 years 4 months ago #8458 by micker
Replied by micker on topic durée de publication
comme ca c'est pas possible mais tu peu faire ca en requette php dans ton template
tu récuperes la date de création
tu rajoute x jours
tu compare ta date de création à ta date +x
tu n'affiches dans ta boucle que ce qui inferieurs à la date+x

Par contre plus il y aura des articles plus la page sera lourde puisqu'il faut charger tout les articles et les comparer

sinon faut changer la requette sql de generation des articles mais la chaque modif sera detruite par une mise à jour du composant.
a+

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.

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