Creating a new design

Author Message

James Ward

Friday 02 May 2003 12:43:38 pm

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.

working at www.wardnet.com
blogging at www.jamesward.ca

Karsten Jennissen

Friday 02 May 2003 2: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

Marco Zinn

Friday 02 May 2003 2:44:18 pm

I agree with Karsten.
This MUST be ;) the missing step.

Marco
http://www.hyperroad-design.com

Ric Landers

Saturday 03 May 2003 7:29:20 pm

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

Katie D

Saturday 03 May 2003 10:55:45 pm

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!

Jørgen Skogstad

Sunday 04 May 2003 12: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??

Ric Landers

Sunday 04 May 2003 4:08:18 am

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

Ric Landers

Sunday 04 May 2003 4:11:51 am

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

James Ward

Sunday 04 May 2003 11:34:15 am

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 ;).

<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>

working at www.wardnet.com
blogging at www.jamesward.ca

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.