what will be the simpler ?

5 months 3 weeks ago #82378 by tataye
hello
I have some items with 
text, pdf, image, HD image, and so on, in some categories site/alpha/beta
so the item will be site/alpha/beta/item1
and for instance pdf will be named : item1.pdf and stored in images/alpha/beta/item1/item1.pdf
is it better to create an import csv file with the path for the field
or better to find a way to say in the field that the path is images/$category/$subcategory/$name_of_item/$name_of_item.pdf ?


 

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

5 months 3 weeks ago #82380 by ggppdk
Replied by ggppdk on topic what will be the simpler ?
Hello

if ... you manage to import file data then you will have the benefits of a file field

Otherwise you can just create a TEXT field (make it invisible in item form) that uses a custom viewing layout to display the file
plugins/flexicontent_fields/text/tmpl/value_custompdfdisplay.php
and select "custompdfdisplay" as viewing layout in field 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 review. Thanks!

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

5 months 3 weeks ago #82381 by tataye
Replied by tataye on topic what will be the simpler ?
ok thanks
it will just be a link to the pdf or zip to download.

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

Moderators: vistamediajoomlacornerggppdk
© 2018 Flexicontent. All Rights Reserved.
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