champ "weblink" lien absolu ou relatif

More
8 years 11 months ago #59138 by AlainR
l'URL indirecte me convient très bien. Ce dont, j'ai besoin c'est de l'URL complète avec www...... et pas uniquement /plateforme/..... mais www.site.net/plateforme/ ....

Quel est le fichier qui gère l'affichage de l'URL ?

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

More
8 years 11 months ago #59141 by ggppdk
Hello

you want to hack the file ?

you should not do it !,
but in current (GitHub) repository version you can create custom view template file for various fields

- categories, tags, email, text, weblink, ... and a few more

copying:
plugins/.../tmpl/value_default.php
as
plugins/.../tmpl/value_my.php

and there is a new parameter to select


-- 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
8 years 11 months ago #59161 by ggppdk
Hello

here is v3.0.10-rc
github.com/FLEXIcontent/flexicontent-cck/releases

it supports custom "view" layouts for various fields, including the weblink:
field_folder/tmpl/value_*.php

select your custom layout via new parameter


-- 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
8 years 11 months ago - 8 years 11 months ago #59178 by AlainR
Hello.

Merci, ça a l'air de fonctionner.
Avez-vous une explication pourquoi "JRoute::_( 'index.php?option=com_flexicontent&fid='. $field->id .'&cid='.$item->id.'&ord='.($n+1).'&task=weblink' )" (ligne 40) ne renvoie pas " www.domain.com/subfolder/ " mais seulement "/subfolder/index.php....." ??

Merci encore pour la qualité de l'aide apportée à la découverte de FC.
Cdt.
Last edit: 8 years 11 months ago by AlainR.

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

More
8 years 11 months ago #59180 by micker
c'est qui permet permet d'avoir joomla ou tu veus
si on charge l'adresse absolue comme valeur des que tu changeras le site (de place, de nom de domaine) => tout tes liens seront out

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
8 years 11 months ago #59182 by AlainR
Bien sûr!
C'est pour ça que je souhaite l'obtenir via une variable et pas le coder en dur. P.ex. le composant mailto envoie l'URL complète d'un article ou d'un item, il y a donc bien cette information quelque part....
je suis en train de passer en revue le code du composant mailto mais je ne vois pas où l'URL est récupérée.
Cdt.

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

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