Page 1 of 1
definition fields for standard new page
Posted: Tue Oct 28, 2014 5:10 pm
by giapippo
Hello everyone
I want to create, like the news module, the ability to have a field defined for an image, even creating a standard pages
Is it possible?
thanks
Re: definition fields for standard new page
Posted: Tue Oct 28, 2014 6:49 pm
by velden
Re: definition fields for standard new page
Posted: Tue Oct 28, 2014 9:25 pm
by giapippo
thanks for the reply
but this method allows me to select a photo that I have uploaded
while in the news module I can load it at the time
Re: definition fields for standard new page
Posted: Wed Oct 29, 2014 2:41 am
by Jeff
Re: definition fields for standard new page
Posted: Wed Oct 29, 2014 9:51 am
by velden
Have a look at GBFilePicker module and read the help. It provides a nice way for editors to upload and/or select files.
In this topic I posted some backend screenshots of how that can look like for editors:
http://forum.cmsmadesimple.org/viewtopi ... =5&t=70017
Re: definition fields for standard new page
Posted: Wed Oct 29, 2014 10:47 am
by giapippo
thanks but it looks really complicated

Re: definition fields for standard new page
Posted: Wed Oct 29, 2014 10:58 am
by Jo Morg
Ok I think you are making it more complicated than it really is...
giapippo wrote:thanks for the reply
but this method allows me to select a photo that I have uploaded
while in the news module I can load it at the time
News is different than adding pages and contents, so velden pointed out the way to go. Simple and effective. Keep in mind that you can upload files while adding content (actually while in any admin page) just by selecting a bunch of files and dragging them to the top widget with a folder icon and the following label:
"Drop files here to upload". They will be uploaded to the current selected folder in FileManager. How much simpler could that be?
Alternatively you can try
Cataloger which installs content types that allow you to upload a bunch of images per item (page) the way you want.
HTH
Re: definition fields for standard new page
Posted: Wed Oct 29, 2014 11:32 am
by giapippo
ok you are right
i tried with this string
{content_image block='Immagine testata' width='420' height='300' dir='uploads/images/'}
but in the page i have
Error in retrieving the file list
why?? thanks for help
Re: definition fields for standard new page
Posted: Wed Oct 29, 2014 1:20 pm
by giapippo
ok now work fine
{content_image block='Immagine testata' width='100%' dir='images/layer-gallery'}