My_PeSePe Posted December 20, 2012 Share Posted December 20, 2012 Español/Spanish : Buenas , quisiera saber como hacer para que sharedhosting.php pasase a ser inicial.php . Que archivos son los que tengo que modificar ? Ingles/English : Hi, I would like to know how to make sharedhosting.php be inicial.php pass. Which files are those that I have to change? 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted December 20, 2012 Share Posted December 20, 2012 Assuming that sharedhosting.php is not obfuscated with Ioncube, open it and look for $templatefile variable. It's at the bottom of the page. Set it to equal to the related template file. From: $templatefile = "sharedhosting"; To: $templatefile = "inicial"; Save, close and rename sharedhosting.php as inicial.php. Now open template/yourtemplate (or template/orderforms/yourtemplate in case you are editing Cart Template) and rename sharedhosting.tpl to inicial.tpl. Save and close. If your sharedhosting.php is obfuscated then you will need an htaccess rule to rewrite the URL. 0 Quote Link to comment Share on other sites More sharing options...
My_PeSePe Posted December 20, 2012 Author Share Posted December 20, 2012 This all done as you said and the problem I think style comes from. This is how it goes http://imm.io/PQoW And would have to leave so http://imm.io/PQp0 0 Quote Link to comment Share on other sites More sharing options...
My_PeSePe Posted December 21, 2012 Author Share Posted December 21, 2012 something has to fail http://imm.io/PUSu http://imm.io/PUSx 0 Quote Link to comment Share on other sites More sharing options...
WHMCS JamesX Posted December 21, 2012 Share Posted December 21, 2012 None of your links are working; the images have been deleted. 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted December 21, 2012 Share Posted December 21, 2012 something has to fail http://imm.io/PUSu http://imm.io/PUSx Try with Imageshack 0 Quote Link to comment Share on other sites More sharing options...
My_PeSePe Posted December 21, 2012 Author Share Posted December 21, 2012 Sorry http://img818.imageshack.us/img818/6919/20121221.png http://img442.imageshack.us/img442/2027/201212212.png 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted December 24, 2012 Share Posted December 24, 2012 Uhm... mega lol! I was like "wtf!?" when i opened your links because your are using the same exact template that a client of mine is using for his WHMCS. Anyway i know how to deal with your problem because i worked a lot on that template. Your problem is due to the div banner displayed on top. Do the same exact thing i told you in my previous post. When you finished open header.tpl and footer.tpl. Let's say that you changed file name from "sharedhosting" to "hellokitty". Let's start with footer. In footer.tpl look this Smarty statement (it should be on top): {if $filename eq 'index' or $filename eq 'sharedhosting'} Change to: {if $filename eq 'index' or $filename eq 'hellokitty'} Now do the same for header.tpl. You can find the same exact statement below the <!--headercon-->: <!--headercon--> {if $filename eq 'index' or $filename eq 'sharedhosting'} Change to: <!--headercon--> {if $filename eq 'index' or $filename eq 'hellokitty'} Save all, close and upload. Your problem has been fixed. 0 Quote Link to comment Share on other sites More sharing options...
My_PeSePe Posted December 25, 2012 Author Share Posted December 25, 2012 Ohh thank you very much. 'd Know help me with this --> http://forum.whmcs.com/showthread.php?65742-Module-LiveChat-in-Style-FastHosting 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.