amartin99 Posted December 24, 2013 Share Posted December 24, 2013 hello I would like to change the direction of the "Comparison" layout on my site offer names are listed on top from left to right with info below I would like the offer names to be on the Left running from top to bottom with the info in grids to the right 0 Quote Link to comment Share on other sites More sharing options...
amartin99 Posted December 29, 2013 Author Share Posted December 29, 2013 can anyone help me ? 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted December 30, 2013 Share Posted December 30, 2013 You edit the .tpl files - same as making any other change to the 'look' of WHMCS ... 0 Quote Link to comment Share on other sites More sharing options...
amartin99 Posted December 30, 2013 Author Share Posted December 30, 2013 more info please iv never done this before 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted December 30, 2013 Share Posted December 30, 2013 more info please start with http://www.smarty.net/ and the WHMCS documentation 0 Quote Link to comment Share on other sites More sharing options...
amartin99 Posted December 30, 2013 Author Share Posted December 30, 2013 ok iv downloaded smarty but have no idea what to do with it 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted December 30, 2013 Share Posted December 30, 2013 actually, you didn't need to download it! I would suggest doing one of two things... 1. search the forum to see if anyone has done this previously. 2. if you have no smarty knowledge or experience, be prepared to pay someone to do this for you! 0 Quote Link to comment Share on other sites More sharing options...
amartin99 Posted December 30, 2013 Author Share Posted December 30, 2013 I don't mind paying a bit but I also have some pretty big server payments coming up so I can't spend to much rate now 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted December 31, 2013 Share Posted December 31, 2013 it's not something i'm going to attempt, but I think it should just be tweaking the two foreach loops in products.tpl (lines 45-74), with perhaps some css changes too. remember that if you want to seriously modify an orderform, it's better to copy it, rename and upload - that way, when you do an whmcs update, you don't overwrite your changes... and would also allow other products to use the normal comparison form if you wish to. if money is a bit tight at the moment, it might be easier to use the existing comparison form for now and come back to it at a later date. 0 Quote Link to comment Share on other sites More sharing options...
amartin99 Posted December 31, 2013 Author Share Posted December 31, 2013 (edited) found the section your talking about but it's all gibberish to me I do have about $50 in bitcoin I could spend Edited December 31, 2013 by amartin99 0 Quote Link to comment Share on other sites More sharing options...
pRieStaKos Posted January 3, 2014 Share Posted January 3, 2014 Hello, in /templates/orderforms/comparison/style.css Try to change line 262 from float: left; to float: right; 0 Quote Link to comment Share on other sites More sharing options...
amartin99 Posted January 3, 2014 Author Share Posted January 3, 2014 hmmm that did change something http://prntscr.com/2g0fq2 not what im looking for but you clearly have the right file in mind gives me something to tinker with thanks - - - Updated - - - been looking that file over I think a grate many things in it would need to be changed 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 3, 2014 Share Posted January 3, 2014 not what im looking for but you clearly have the right file in mind it isn't - products.tpl is the only file that determines the order in which the table is created... no amount of fiddling with css will change that... from a practical point of view, i'm not sure this would work in your case - if you take your screenshot as an example, you'd end up with 10 columns (product name, your 8 infos and order button)... that's going to be a tight squeeze to fit everything in. 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.