Forums / Setup & design / eZ2 -> eZ3

eZ2 -> eZ3

Author Message

enigmista enigmista

Wednesday 16 July 2003 2:42:30 am

Hi all. I am evalutating eZ3 for the first time and i have encountered some problems... eZ3 is totally different respect to eZ2. I have istalled on my local machine eZ3 installer for win 2k. The installation works fine, but i am working for changing the site layout. I have read http://ez.no/sdk/tutorials/view/main_concepts/ tutorial, but when i must setup site.ini as:

[SiteAccessSettings]
MatchOrder=host
HostMatchRegexp=^(.+)\.mybookstore\.com$
HostMatchSubtextPost=\.mybookstore\.com

i have difficulties. In localhost there is not www.domain.com...

I have done a design "mydesign" and i have configured settings/siteaccess/midesign/site.ini.append in this way:

[SiteSettings]
IndexPage=/content/view/full/2
LoginPage=embedded

[SiteAccessSettings]
RequireUserLogin=false

[SiteAccessRules]
Rules[]
Rules[]=Access;enable
Rules[]=ModuleAll;true
Rules[]=Access;disable
Rules[]=Module;sdk

[DesignSettings]
SiteDesign=mydesign

and in design/mydesign/templates/pagelayout.tpl there is my design. I can display it only if i do http://localhost/mydesign, but i want that is appear in http://localhost.
Another problem i have with class template. I have done a class book as the tutorial say, but it display class with default template... any help for me? Tnx

Karsten Jennissen

Wednesday 16 July 2003 2:54:02 am

Hi,

normally, you can leave the default configuration regarding SiteAccess as the URI method works for all installation types. If you need to tweak, I would suggest you use the host map or uri map method.

See here:
http://ez.no/developer/ez_publish_3/documentation/installation_and_configuration/configuration/site_access

You can change the default view via DefaultAccess in your site.ini as described here:
http://ez.no/developer/ez_publish_3/documentation/installation_and_configuration/troubleshooting/user_site_instead_of_admin_site

The tutorial you used probably referred to 3.0 style overrides. If you are using 3.1, you need to create an override.ini as desribed here:
http://ez.no/developer/ez_publish_3/documentation/customization/custom_design/override_templates

Karsten

enigmista enigmista

Wednesday 16 July 2003 3:07:23 am

DefaultAccess=mydesign It works :)
but i have "Default object view. Click to create a custom template"

I have created class in My site directory but if i don't login i cant' see it why?

i am reading http://ez.no/developer/ez_publish_3/documentation/customization/custom_design/override_templates for templates ;)
TNX

Jerry Jalava

Wednesday 16 July 2003 4:00:13 am

Hi,

You have to set role policies for users...
Reading this should help: http://www.ez.no/developer/ez_publish_3/documentation/customization/troubleshooting/new_content_class_not_shown_on_user_site

Regards,
Jerry