Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Oh no, the forum changed

Oh no, the forum changed

Locked

Views: 3,210

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
11 May 2006, 12:58 AM
#1
cameronch avatar

cameronch

New Zenner

Join Date:
Dec 2003
Location:
San Luis Obispo, CA
Posts:
44
Plugin Contributions:
0

Oh no, the forum changed

I can't find anything on this new site redesign for zencart and all of the links are broken it seems to old stuff.

Can anyone help me find the template override overview page? I tried to find it in the archives but the links are all broken.

Thank You

11 May 2006, 1:09 AM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Oh no, the forum changed

The reason for this sudden update of the forum was because hackers attacked the previous incarnation, including deleting lots of threads. I suspect that this is why you are getting broken links. Sadly, it means that the old threads that you want, are probably genuinely unavailable at this time. We can only hope that the Dev Team can retrieve them, otherwise, I guess we'll need to ask the key questions again to kick off new threads.

11 May 2006, 1:21 AM
#3
cameronch avatar

cameronch

New Zenner

Join Date:
Dec 2003
Location:
San Luis Obispo, CA
Posts:
44
Plugin Contributions:
0

Re: Oh no, the forum changed

That stinks... I'm sorry to hear that.

I have a template called cameron1 that i am trying to modify.

These are the template override instruction i found >>
If you want to use over-rides for modules and languages you need
to create a cameron1 over-ride directory within the includes/languages
and includes/modules folders.

So, in the:

includes/languages I created:

includes/languages/cameron1
and tried to update includes/languages/english/conditions.php by using the template override system and putting a copy of conditions.php to the includes/languages/cameron1/english/conditions.php directory.

Is this the correct usage of the template override system?

Sorry to hear about the hack, i hope you guys recover everything, zencart is a great cart system.

Thanks

11 May 2006, 8:27 AM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Oh no, the forum changed

Cameronch:

In the includes/languages I created:

includes/languages/cameron1
and tried to update includes/languages/english/conditions.php by using the template override system and putting a copy of conditions.php to the includes/languages/cameron1/english/conditions.php directory.

Is this the correct usage of the template override system?
My override structure is includes/languages/my_template/english.php and
includes/languages/english/my_template/various.php i.e. the english and my_template directories are the other way round for all the overrides except for english.php. I prefer your structure, but can't say whether or not it will work. Does it seem to you that it does?

However, your question also raises an interesting point about altering conditions text. I would have done this via the define_pages_editor from the tools menu in Admin. However, that appears to not go near the conditions.php file and instead updates the define_conditions.php file in the default html_includes directory on your server. So if, like me, you a running development, testing and live locations, only one of them gets the update and its treated as a destructive edit to the original file rather than an overide. Though this isn't a problem as the file only contains holding text that you wouldn't want to appear on your site anyway.

Anyway, the key here is that only the page heading and navbar title appear to be taken from conditions.php. The text variable seems to be ignored in favour of the contents of includes/langiages/english/html_includes/define_conditions so although your approach has merits, it may simply not work!

11 May 2006, 12:21 PM
#6
harry2cool avatar

harry2cool

Zen Follower

Join Date:
Oct 2005
Posts:
280
Plugin Contributions:
0

Re: Oh no, the forum changed

Where is the "Download" section for modules ??

11 May 2006, 1:00 PM
#7
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Oh no, the forum changed

It is still being moved over from the old site. Hopefully there will be an official announcement of its arrival soon.

17 May 2006, 4:26 PM
#8
jaeca avatar

jaeca

New Zenner

Join Date:
Apr 2006
Location:
Toronto
Posts:
57
Plugin Contributions:
0

Re: Oh no, the forum changed

Its sad to see hackers hacking a free software distribution site.

Theres absolutely no benefit, unless they are spys! sent by another shopping cart! haha..