Forums / Contribution-Writing Guidelines / Where should I place the admin template files?

Where should I place the admin template files?

Locked

Views: 2,454

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
11 Jul 2007, 2:25 AM
#1
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Where should I place the admin template files?

I'm writing a contrib (Request Restock) and currently working on the admin interface. Currently I'm stuffing the both logic and view (html) in admin/request_restock.html. I wonder if the admin has a template folder so I can put all the view(html) code there, since I prefer separating the logic from the view.

Sincerely.

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

11 Jul 2007, 5:00 AM
#2
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Where should I place the admin template files?

there are no template over ride fioles for the admin yet

Zen cart PCI compliant Hosting

11 Jul 2007, 5:03 AM
#3
gjh42 avatar

gjh42

Black Belt

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

Re: Where should I place the admin template files?

There is not currently an admin override capability, so any file you edit will have to be saved and replaced on upgrades. Any custom created & named file should be safe, since files that are not in the core are not replaced by new ones.