dbennett006 Posted August 13, 2010 Share Posted August 13, 2010 Hi guys not sure if this can be done, but my aim is to push both columns below the homepage editor and then increase the width of the homepage editor to fill the gaps made. Anyone have any ideas on how to do that?CheersDaniel Link to comment Share on other sites More sharing options...
rocky Posted August 13, 2010 Share Posted August 13, 2010 I suggest that you use this mod, then add the following code on line 53 (before the columns div): {if $page_name == 'index'}{mod n='editorial' a='hookhome'}{/if} This should put the editorial module on the homepage above the columns. Link to comment Share on other sites More sharing options...
dbennett006 Posted August 14, 2010 Author Share Posted August 14, 2010 Sorry I'm being a bit thick here... I've just downloaded that php file and put in the suggested code on my localmachine and now i get a 500 internal error??? Is there anything else i should be adding?when you say add the coe on line 53 is that on the init.php file or somewhere else Link to comment Share on other sites More sharing options...
rocky Posted August 14, 2010 Share Posted August 14, 2010 Sorry, I meant make that change in line 53 of header.tpl in your theme's directory, not init.php. Link to comment Share on other sites More sharing options...
dbennett006 Posted August 15, 2010 Author Share Posted August 15, 2010 You are a star Rocky... Everytime I post you are there to help... Thank youThe reason I wanted to do that was to put a promo banner type thing (see attached) with each coloured box linking to seperate pages within my store. Which I ahve now found out cannot be done that way.... Any ideas??? Link to comment Share on other sites More sharing options...
rocky Posted August 16, 2010 Share Posted August 16, 2010 Have you tried adding linked images in the TinyMCE editor in the "Home text editor" module? You can upload your coloured link images to the upload/img or another appropriate place using your FTP client, then click the "Insert/edit image" button (the tree icon near the end of the second row), then enter the "Image URL" as /upload/img/yourimage.jpg" (or /subdir/upload/img/yourimage.jpg if you have installed PrestaShop in a subdirectory), then enter the "Image description". If you want a tooltip on hover, enter a "Title" too, then click Insert. That should add the image to the TinyMCE editor. You can then click the image and then click the "Insert/edit link" button (the chain icon near the tree icon) to add a "Link URL" to the image, then click Insert. Repeat this for the other images, then click Save. 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