Forums / General Questions / What altered files go in the Overrides Folder and which ones don't?

What altered files go in the Overrides Folder and which ones don't?

Locked

Started by nineve on 27 Jul 2010, 2:49 PM · Views: 801

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
27 Jul 2010, 2:49 PM
#1
nineve avatar

nineve

New Zenner

Join Date:
Jun 2010
Posts:
53
Plugin Contributions:
1

What altered files go in the Overrides Folder and which ones don't?

I understand that when you change files they should be save in the process of an Overrides Folder. Basically your template folder. But some files do not seem to recognize when you do this. For example I was trying to update the following;
mysite/includes/languages/english/shopping_cart.php
so put it in
mysite/includes/templates/mytemplate/language/english/shopping_cart.php

Now either I have the file structure wrong or that particular file does not get moved....:huh:

On a side note are these in the correct place?
mysite/includes/languages/english/mytemplate/index.php
and
mysite/includes/languages/english/mytemplate/meta_tags.php

I'm just very unsure of when to use the Overrides Folder System as apposed to just modifying the file. I know for the admin I have to just modify the files where they are, but the rest...? :blink:

27 Jul 2010, 2:53 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: What altered files go in the Overrides Folder and which ones don't?

You do not put modified files in a completely different folder structure; they go in a new /your_template/ subfolder just below the original file location, for files that are not already under /includes/templates/.

/includes/languages/english/shopping_cart.php
goes in
/includes/languages/english/your_template/shopping_cart.php

Everywhere you see a /classic/ folder is a location for a custom template subfolder (Classic is a "custom" template itself).

27 Jul 2010, 2:59 PM
#3
nineve avatar

nineve

New Zenner

Join Date:
Jun 2010
Posts:
53
Plugin Contributions:
1

Re: What altered files go in the Overrides Folder and which ones don't?

Thank you that helps. :smile:
So does that mean I will never put files in
mysite/includes/templates/mytemplate/
unless they are already there?

oh oh I see.... :D
never mind I think I get it now.

27 Jul 2010, 3:05 PM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: What altered files go in the Overrides Folder and which ones don't?

The light bulb goes on... :)

Any file that is under /template_default/ will go in the same folder under /your_template/ when modified.

27 Jul 2010, 3:12 PM
#5
nineve avatar

nineve

New Zenner

Join Date:
Jun 2010
Posts:
53
Plugin Contributions:
1

Re: What altered files go in the Overrides Folder and which ones don't?

So to summarize;
Files can be changed in three ways.

  1. If its for Admin, the direct files are changed.
  2. If its in Classic Template folder, a new file goes into mysite/includes/templates/mytemplate/.
  3. Anywhere else it is put in a sub-folder with your template name in the same folder where the original file is located. For example /includes/languages/english/your_template/shopping_cart.php

Thank you so much for clearing that up. :hug: