Champ File : récupérer en php uniquement le nom du fichier

More
10 months 1 week ago #83996 by bendeb
C'est bon, j'ai trouvé, avec altname qui contient le nom du fichier et son extension par défaut (si rien n'est renseigné dans alt donc).
Code:
<?php echo $this->fields['mon_champ']->file_data[0]->altname;?>

 

Flexicontent 4.1.0b1
Joomla 3.9.18

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

More
10 months 1 week ago #83997 by micker
cool bravo

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
10 months 1 week ago - 10 months 1 week ago #84000 by bendeb
En fait, c'est même mieux de mettre filename plutôt que altname, car Flexicontent renomme les fichiers avec des - au lieu des espaces.

Flexicontent 4.1.0b1
Joomla 3.9.18
Last edit: 10 months 1 week ago by bendeb.

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

More
10 months 1 week ago #84004 by micker
non tu ne peus pas choisir le dossier de base
mais tu peus definir le mode media (normal) ou secure

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