Weblink : problème de variable dans l'URL

More
13 years 3 months ago #13304 by Phoceen
Bonjour,

J'ai créé un champs "Incident" où l'utilisateur doit remplir le n° d'incident. Ensuite lors de l'affichage de l'article je voudrais que l'URL pointe vers : http://monsite/incident.php?num=xxx (où xxx est le n° saisi par l'utilisateur.

J'ai essayé de le faire en mettant des préfixes et suffixe mais ça ne marche pas car rien n'est affiché (normal rien avant la balise ).

Je voudrais également que ce champs soit multiple.

Avez-vous une solution ?

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

More
13 years 3 months ago #13306 by micker
c'est facile !
un champs texte
prefixe
<a href:"http://monsite/incident.php?num=
suffix
>lien vers l'incident
la personne mettra le numero en valeur
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.

More
13 years 3 months ago #13307 by Phoceen
Je l'ai fais et ça marche plus ou moins bien. Par contre s'il y a plusieurs incidents je ne peux pas mettre plusieurs liens différents.

[Edit]
Je peux mettre plusieurs liens différents mais un seul intitulé.
Exemple :
2 incidents donc 2 liens. Je voudrais afficher en nom de lien seulement le n°.

Donc ma question est : comment mettre une variable dans le champs "suffix" sachant que cette variable est le n° d'incident.

Merci pour votre aide

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

More
13 years 3 months ago #13314 by micker
tu peux aussi coder directement dans le php (item.php de ton template)
as tu cocher enlever les espaces ? dans ton champs ?
il faut que tu décrives plus tes besoins sinon c'est difficiles de t'aider
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.303 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