Share » Forums » Setup & design » Displaying graphics in an article

Displaying graphics in an article

Displaying graphics in an article

Monday 09 February 2004 7:29:56 pm - 3 replies

Modified on Monday 09 February 2004 7:32:10 pm by Chuck Knight

Author Message

Alex Jones

Tuesday 10 February 2004 5:22:28 am

Chuck, have you made sure that the permissions on the Media section allow anonymous users to view the contents?

Sorry, I don't have any ideas on your contact form issue.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Tim Ross

Tuesday 10 February 2004 5:55:32 am

Hi CK,
On the first point it sounds like you are missing an override for the image class when embedding in an article. You need to override the content/view/embed.tpl file for the class image in your new design. It might work to just copy the one from the admin site design. So you have something like this in your override.ini.append:

[image_embed]
Source=content/view/embed.tpl
MatchFile=image_embed.tpl
Subdir=templates
Match[class]=_image_class_id_

where image_class_id is the id of the class in you installation.

Secondly, to submit a form you need to add to your site.ini.append a setting to say that you can submit forms on your site. this should read like this:

[FormProcessSettings]
# Whether the form module is allowed or not
# The form is by design insecure so don't enable unless you know
# what you are doing.
Module=enabled

This is copied straight out of the standard site.ini file and the module is set to enabled.

hope this helps

Tim

Chuck Knight

Tuesday 17 February 2004 3:01:55 pm

Alex, Tim,
thanks a lot for the response. I've been traveling, and thus haven't tried it yet, but I will do so immediately.

I greatly appreciate your cordiality and time

Cheers
ck

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu