eZ Community » Forums » Setup & design » Creating a new design
expandshrink

Creating a new design

Creating a new design

Friday 02 May 2003 9:43:38 pm - 8 replies

I have been playing with the demo data for a while now and feel I am ready to venture into creating my own design. I copied the contents of /design/demo to /design/mydesign so that I would have a set of templates to modify and remove as I worked.

Now when I go to index.php/demo I can still view the demo site but when I go to index.php/mydesign I get the login for the admin site and if I login the admin site opens. I obviously missed an importand step. I'll keep scanning the documentation but any help would be much appreciated.

Modified on Sunday 04 May 2003 8:33:14 pm by James Ward

Friday 02 May 2003 11:12:47 pm

I dont know exactly why it isn't working, but you could try modifying the siteaccess rules in the relevant site.ini (is it /settings/override/site.ini.append.php?). Check if the uri matching is set up properly. Maybe try the host map method? (this is the easiest one to setup)

Karsten

Friday 02 May 2003 11:44:18 pm

I agree with Karsten.
This MUST be blunk.gif Emoticon the missing step.

Sunday 04 May 2003 4:29:20 am

Hi, I've had the exact same thing happen to me: I copied the demo folder and renamed it "mydesign" and when I attempt to access I get the log-in, the admin site.

Karsten mentioned the "map method' reassigning things. This seems the easiest. Can someone give me the step by step way this is done?

By the way, in the demo, I've noticed that when I write my own articles for the news module I'm not getting the "into...body... thumbnail" options or a way of including an image with the article. What's happening here?

Ric

Sunday 04 May 2003 7:55:45 am

What I did is created my new section in design called 'watch' and then went to settings/siteaccess - created a dir called 'watch' copied the demo site.ini append from settings/demo into 'settings/watch and edited it to the new section.

hope this helps ya!

Sunday 04 May 2003 9:43:46 am

Not sure why, but this happened to me as well. I had the local ez install running eng-GB locale in overide.site.ini file .. and I changed it into no-NO. After that change I was not able to get the intro, body and thumbnail entry boxes. When I switched the locale back it worked though.

Not sure if you have done something similar??

Sunday 04 May 2003 1:08:18 pm

Re: Creating a new design

"What I did is created my new section in design called 'watch' and then went to settings/siteaccess - created a dir called 'watch' copied the demo site.ini append from settings/demo into 'settings/watch and edited it to the new section.

hope this helps ya"
________________________________________________

Here's where I get lost again.

1: how do you 'create a dir?

2. What do you mean by 'copied site.ini append'? -- what is 'site.ini append' and why is it necessary to copy?

3. What do you mean why you say 'and edited it to the new section'?

Thanks,
Ric

Sunday 04 May 2003 1:11:51 pm

Re: Creating a new design

"Not sure why, but this happened to me as well. I had the local ez install running eng-GB locale in overide.site.ini file .. and I changed it into no-NO. After that change I was not able to get the intro, body and thumbnail entry boxes. When I switched the locale back it worked though.

Not sure if you have done something similar?? "

____________________________________________
Really don't understand the 'override' concept, so I not using it. But, yes, when I tried creating my own article in the demo I did not get the intro, body, and thumbnail options for it.

Will someone explain what the trick is here?

Ric

Sunday 04 May 2003 8:34:15 pm

Thanks Katie! That did the trick.

Ric, I feel Katie's instruction are all you need to get this working but I will try to spell things out a little for you.

Go into your design folder and copy the contents of the demo folder to a new folder called mydesign

Now go into your settings folder then into your siteaccess folder and create a new directory (see your operating system manual on how to create a new directory) called mydesign.

Copy the file site.ini.append from settings/siteaccess/demo into your new directory (settings/siteaccess/mydesign).

Open your newly created settings/siteaccess/mydesign/site.ini.append in your favorite text editor and change the last line from:
[DesignSettings]
SiteDesign=demo

to:

[DesignSettings]
SiteDesign=mydesign

Save the file and go check out www.yourdomain.com/index.php/mydesign/

You should see the demo site but you can now edit the files under design/mydesign to create whatever new design you want without affecting the original demo site.

There are probably other ways of doing this, i.e. through the siteaccess rules as described by Karsten but I haven't been able to get them working yet. When I do I will post a full description in this thread. Unless Karsten beats me too it blunk.gif Emoticon.

<rant>
Ric and Jorgen, try to keep your posts related to the original question. If you have a new question, start a new thread. This site is largely unmoderated so it is up to the community to keep things organized.
</rant>

Modified on Sunday 04 May 2003 8:36:06 pm by James Ward

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from