wicker Posted July 31, 2010 Share Posted July 31, 2010 Hi all,I would like a layout for my "contact us" form like this one, which is organized in two vertical columns: http://www.eerensgsb.nl/contact.phpI do not need the google maps picture, just to know how to make a table 1x2 in the contact_form.php or .tpl (on one side, info of the shop, on the other side the form to submit email)thanks in advance Link to comment Share on other sites More sharing options...
eltitos Posted July 31, 2010 Share Posted July 31, 2010 hi,You just have to add div, then play with the cssFor exemple, in the contact-form.tplAfter {l s='For questions about an order or for information about our products'}. You put this lines Then in the global.cssyou add this #contactright{ width:350px; float:right; } #contactleft{ width:250px; float:left; } This is the basic code, after you can display your information as you want. company name Adresse ..... And before [code]{/if} Link to comment Share on other sites More sharing options...
wicker Posted July 31, 2010 Author Share Posted July 31, 2010 Wooow eltitos! it worked great! thanks a lot.I'm changing the subject to [sOLVED]Thanks again. Link to comment Share on other sites More sharing options...
eltitos Posted August 3, 2010 Share Posted August 3, 2010 If you want to use more than one language you need write the tpl like this{l s='INfo comapny'}{l s='Our telephone'}{l s='xxxxx'}Then in the back office you got to Tools -> translation, Front office translation Link to comment Share on other sites More sharing options...
wicker Posted August 3, 2010 Author Share Posted August 3, 2010 Thanks for the answer.I'm not sure if I get it right. Shall I do this?:Take the contact-form.tpland rewritte the div section so it looks like this {l s=‘INfo comapny’}{l s=‘Our telephone’}{l s=‘xxxxx’}..... and administer the translations in the BO with as many languages as I want... Is that right?Thanks in advance Link to comment Share on other sites More sharing options...
eltitos Posted August 3, 2010 Share Posted August 3, 2010 Yes, inside the tpl it should be in english Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now