Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Template System - How does it work?
#1
Ok, I have been tasked with redesigning a template for EHCP and having trouble getting my head around it.

My questions are:

1. The main pages, such as index.php?op=listselectdomain, op=serverstatus, op=listbackups etc where are they kept, how can I change the layout for these pages?

2. I can see certain template variables throughout, such as <div class="info"><b> {dynamicinfo}</b></div>, is there a list of all the variables? and how can I change the information and style that is displayed for the variables?

Restored from old drupal forum, for user uid:3297 username:foxtrot
You may reset your password to access your new account here.
Reply
#2
* First, I advise you to read the posts about templates, that can be reached through
http://ehcp.net/?q=node/848
http://www.ehcp.net/?q=node/29
http://www.ehcp.net/?q=node/250

You will find answers to your question 1 there.
in short, the template or general appearance of ehcp is controlled by html files in templates dir.
dir structure is like ehcp/templates/templatename/language
for ex:
ehcp/templates/ubuntu-0.2/en

* template variables can be found in classapp.php file, function show()
to change the style/appearance of such dynamic variables, you may:
-> change it in templates
-> change it in code, if you need to change some appearance that is generated in code, you may need to edit code in classapp.php (such as listings, but this is some hard)

* I will try to guide you/teach you as much as I can
* May I ask you, as I understand, You had a job related to ehcp templates/redesign, is this correct ?




Restored from old drupal forum, for user uid:3297 username:foxtrot
You may reset your password to access your new account here.
Reply
#3
Hi,

We are looking to use EHCP as a control panel for our customers, we are therefore creating a new template.

Thanks for the information relating to the variables.

Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Reply
#4
Usually for editing templates or making them i use dreamweaver. I believe the variables are found in classapp.php file as stated above.

Restored from old drupal forum, for user uid:3297 username:foxtrot
You may reset your password to access your new account here.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)

Online Shopping App
Online Shopping - E-Commerce Platform
Online Shopping - E-Commerce Platform
Feinunze Schmuck Jewelery Online Shopping