FIle field full path

More
5 years 1 month ago #76103 by ggppdk
Replied by ggppdk on topic FIle field full path
Hello

just read the popup description of the parameter the viewing layout parameter

you duplicate the default layout file:

/tmpl/value_*.php

in file field case it is
/tmpl/value_InlineBoxes.php

about the contents of the file, read whatever inline comments exists
there will never be "documentation" for editing layout files
customizer is supposed to read comments in the layout file

in your case you can use variable
$abspath

Try adding BEFORE
Code:
// Values Prefix and Suffix Texts $field->{$prop}[$n] = $pretext . $html . $posttext;

something like
Code:
$html .= '<br>'. $abspath;
test the result

then change to
Code:
$html .= '<br>'. str_replace('\\', '/', $abspath);
test

and then change to
Code:
$html .= '<br>'. JUri::root() . str_replace('\\', '/', $abspath);
test

etc until you get the result you need aka you and the HTML that you need

then you can also disable default output that you do not need in field's configuration


-- 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 1 month ago #76108 by marc.light
Replied by marc.light on topic FIle field full path
All good, again, thanks for your great support!

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

More
5 years 1 month ago #76111 by micker
Replied by micker on topic FIle field full path
i add this exemple in faq

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.261 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