{"id":32,"date":"2008-09-14T09:07:46","date_gmt":"2008-09-14T09:07:46","guid":{"rendered":"https:\/\/www.s66.org\/?p=32"},"modified":"2023-07-15T20:02:16","modified_gmt":"2023-07-15T20:02:16","slug":"how-to-modify-templates-logo","status":"publish","type":"post","link":"https:\/\/www.ehcp.net\/?p=32","title":{"rendered":"How to Modify Templates, Logo"},"content":{"rendered":"\n<p>To modify templates of ehcp or change logos\/images, follow these:<\/p>\n\n\n\n<p>go to \/var\/www\/vhosts\/ehcp\/templates\/xp5-z7\/en folder&#8230;<br>if you will change other template go to respective folder in templates dir&#8230;<\/p>\n\n\n\n<p>Then modify html files there&#8230; such as loginpage_en.html, template_en.html..<\/p>\n\n\n\n<p>dont forget to put image links\/src refs with respect to ehcp folder, since these html files are displayed with respect to ehcp folder&#8230; not templates\/default\/en<br>place images\/logos in ehcp\/images folder&#8230;<br>or alternatively, you may use full path for images such as <img decoding=\"async\" src=\"\/vhosts\/ehcp\/templates\/default\/en\/images\/logo.jpg\"> and put images in templates folders&#8230;<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Question:<\/p>\n\n\n\n<p>I am a new user of EHCP. Have been using ISPconfig before, but decided to switch to EHCP for reasons of easyness, speed and easy install of applications.<br>I couldn&#8217;t find any tutorial of making translations.<br>I am interested in making a norwegian translation, and possibly also a more &#8220;professional&#8221; layout.<br>Is there anyone to tell me a little how to start with these issues?<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Answer:<\/p>\n\n\n\n<p>You are right, there is unfortunately no much documentation yet on this subject, as with many parts of ehcp.<\/p>\n\n\n\n<p>Maybe this topic may become an howto for template&#8230;<br>Nevertheless, here is a starting point:&nbsp;<a href=\"http:\/\/www.ehcp.net\/?q=node\/29\">http:\/\/www.ehcp.net\/?q=node\/29<\/a><\/p>\n\n\n\n<p>In fact easy, plain html files, to re-design !<br>Just keep a few tags,<br>{banner} -&gt; show panel banner<br>{selecteddomain} -&gt; show selected domain<br>{ickisim} -&gt; shows inner part, homepage of current page<\/p>\n\n\n\n<p>you may also remove them, thats up to you \ud83d\ude42 but if you remove {ickisim} you may see nothing in homepage..<br>{ickisim} means {homepage} or innerpart<\/p>\n\n\n\n<p>Ask here any questions,<br>you may also contact me with msn\/skype\/phone in specific\/urgent situations..<\/p>\n\n\n\n<p>I am happy to hear that you swithced to ehcp by means of easyness, speed and other causes&#8230;<br>I hope I will be able to make you happy with new\/better versions of ehcp..<br>I should say that, many people use ehcp because of that, speed and easyness..<\/p>\n\n\n\n<p>As you know, or most programmers now, adding a feature to a program is not so difficult most time, but you should think of complexity and speed too&#8230;<br>Thats why, i dont yet include many features into ehcp, until i find a easy and speedy working way&#8230;<\/p>\n\n\n\n<p>Many features of ehcp are a few lines of php code&#8230; ehcp is full php (%99 php, %1 bash), as you know.<br>my slogan: easy programming, easy usage,<\/p>\n\n\n\n<p>By the way, i need help at every aspect, every stage, look at Support section&#8230;<\/p>\n\n\n\n<p>See you..<\/p>\n\n\n\n<p>Addition:<br>To add a new lang:<br>you need to edit two set of files<br>1- in languages folder<br>2- templates\/default\/en folder<br>1st is for some text that are displayed in ehcp<br>2nd for html template files<\/p>\n\n\n\n<p>not all text&#8217;s are translatable, unfortunately, since some are hardcoded in ehcp coded, which will be fixed later.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>Hi again and thanks for quick replies.<br>I will look into these things as my time allows it, preferably chistmas is a good time to have some projects like this in the lazy days.<\/p>\n\n\n\n<p>I also intend to suggest improvements as I try out EHCP.<br>I have the main perspective as a user and will suggest according to this.<br>The main factors that would make many small ISP&#8217;s to use it is security, speed and easyness, and not to mention easy complete install.<br>From my searches and testing of other solutions EHCP is the only solution that does all the installing of needed programs ans packages.<br>I only set up the server with static IP and SSL from here&nbsp;<a href=\"http:\/\/www.howtoforge.com\/perfect-server-ubuntu-8.10\">http:\/\/www.howtoforge.com\/perfect-server-ubuntu-8.10<\/a>&nbsp;and the install script of EHCP handeled the rest.<\/p>\n\n\n\n<p>I think it is important that the whole installation from scratch can easily be found by potential users.<br>I think it will much easier attract new users.<br>If I decide to make a &#8220;whowto easy install a complete server with EHCP&#8221;, where should I put it?<\/p>\n\n\n\n<p>Best regards<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>Nice to hear you all those,<\/p>\n\n\n\n<p>First, i would prefer to say that &#8220;howto easy install a hosting server with EHCP&#8221;<br>Because, this will be a hosting server, second, it may not be named by somebody a &#8220;complete&#8221; because some parts still absent&#8230; installable but absent&#8230; such as spam&#8230; As you see, ehcp is fully apt-get based and uses debian\/ubuntu system commands, so, spam will be available soon and can be installed by user with little work..<br>There are a few lack of features too&#8230; So, i think we cannot call it a complete or full featured hosting server.. .<\/p>\n\n\n\n<p>Anyway, you may call it as you wish, that is up to your opinion,<br>I may suggest you to post that article to both here, and sourceforge&#8230; You may create here your blog&#8230; on left, click on create content and choose blog..<br>May also be called &#8220;Almost Perfect Setup for hosting serve rwith ehcp..&#8221; \ud83d\ude42 like this&#8230;<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>While designing your template\/html page, keep urls to functions,<br>such as:<\/p>\n\n\n\n<p><a href=\"http:\/\/yourip\/vhosts\/ehcp\/\">http:\/\/yourip\/vhosts\/ehcp\/<\/a>&nbsp;-&gt; shows homepage<br><a href=\"http:\/\/yourip\/vhosts\/ehcp\/?op=addDomainToThisPaneluser\">http:\/\/yourip\/vhosts\/ehcp\/?op=addDomainToThisPaneluser<\/a>&nbsp;-&gt; easy add domain<br><a href=\"http:\/\/yourip\/vhosts\/ehcp\/?op=resellers\">http:\/\/yourip\/vhosts\/ehcp\/?op=resellers<\/a>&nbsp;-&gt; shows resellers<\/p>\n\n\n\n<p>and so on<\/p>\n\n\n\n<p>you may write like href=&#8221;?op=addemailuser&#8221; in a tags..<\/p>\n\n\n\n<p>You may change anything else, html, css, menu structure, colors, anything you want,<br>After change, you may send your new design to me, so that everybody can use it, if you want&#8230;<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>some related posts:<br><a href=\"http:\/\/www.ehcp.net\/?q=node\/290\">http:\/\/www.ehcp.net\/?q=node\/290<\/a><br><a href=\"http:\/\/www.ehcp.net\/?q=node\/29\">http:\/\/www.ehcp.net\/?q=node\/29<\/a><br><a href=\"http:\/\/www.ehcp.net\/?q=node\/906\">http:\/\/www.ehcp.net\/?q=node\/906<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>To modify templates of ehcp or change logos\/images, follow these: go to \/var\/www\/vhosts\/ehcp\/templates\/xp5-z7\/en folder&#8230;if you will change other template go to respective folder in templates dir&#8230; Then modify html files there&#8230; such as loginpage_en.html, template_en.html.. dont forget to put image links\/src refs with respect to ehcp folder, since these html files are displayed with respect [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/www.ehcp.net\/index.php?rest_route=\/wp\/v2\/posts\/32"}],"collection":[{"href":"https:\/\/www.ehcp.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ehcp.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ehcp.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ehcp.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=32"}],"version-history":[{"count":3,"href":"https:\/\/www.ehcp.net\/index.php?rest_route=\/wp\/v2\/posts\/32\/revisions"}],"predecessor-version":[{"id":312,"href":"https:\/\/www.ehcp.net\/index.php?rest_route=\/wp\/v2\/posts\/32\/revisions\/312"}],"wp:attachment":[{"href":"https:\/\/www.ehcp.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=32"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ehcp.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=32"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ehcp.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=32"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}