Page 1 of 1
No Image Upload Box for {page_image}
Posted: Thu Jan 22, 2009 2:29 pm
by andy25
I've recently upgraded my version to 1.5.2 and the image upload which is labelled as image on the content pages doesnt exist.
All i see is the word "image" but no option to upload. This is the new plugin and unrelated to the image manager.
Also it says there is SEO friendly pages but there is no change. IE i still see "index.php?page=home"
Any help on any of these issues would be great.
Thanks
Re: No Image Upload Box for {page_image}
Posted: Fri Jan 23, 2009 2:36 pm
by hibr
andy25 wrote:
[...]
Also it says there is SEO friendly pages but there is no change. IE i still see "index.php?page=home"
I can't help you with your first question but maybe with the second. If your previous site did not have Pretty URLs you need to activate SEO Urls. See documentation at
http://wiki.cmsmadesimple.org/index.php/User_Handbook/Installation/Optional_Settings, section "Pretty URLs and mod_rewrite".
If you have already done these steps and Pretty Urls are still not working you maybe have not deleted your cache ("Site Admin->Global Settings" Press button "Clear" at "Clear Cache") or your hoster does not support mod_rewrite. Ask your hoster for activating the mod_rewrite module or use the CMSms internal Pretty-Url-mechanism.
Regards, Hani
Re: No Image Upload Box for {page_image}
Posted: Mon Jan 26, 2009 9:48 am
by andy25
Thanks for the reply.
For URL rewrite I followed your instruction and cleared the cache and also edited the following lines in the config file from false to true:
$config['assume_mod_rewrite'] = true;
$config['use_hierarchy'] = true;
All works perfectly. Thanks for your help Hani!
Still no joy on this missing image box though...any ideas anyone?
Re: No Image Upload Box for {page_image}
Posted: Mon Jan 26, 2009 9:50 am
by RonnyK
The field "image" and "image thumbnail", willl only show a pulldown, when an image is available in the /uploads/images folder.
The new plugin {page_image} is only meant to retrieve the name of the image attached to the page.
Ronny
Re: No Image Upload Box for {page_image}
Posted: Mon Jan 26, 2009 9:55 am
by andy25
Ahh you're right. I had them in subfolders. I uploaded one to the root of the images folder and it all worked. If an image is chosen how is this referenced in your template please?
Re: No Image Upload Box for {page_image}
Posted: Mon Jan 26, 2009 11:26 am
by KO
Re: No Image Upload Box for {page_image}
Posted: Mon Jan 26, 2009 12:11 pm
by RonnyK
What do you mean with referenced?
The logic behind these 2 images, is that they are adressable from MenuManager, making it possible to create an image-driven menu f.e. So the fields are in the backend, the {page_image} plugin can be used to get the name of the image attached to the page...
For a image specific for the page, there is the {content_image} plugin. That will create an input field in the backend for the linking of an image, which is there as it is only showing in the backend, when called in the template..
Ronny