aurelkurtula Posted May 28, 2011 Share Posted May 28, 2011 Hi I have been working on prestashop for little over 2 days and this is my first post, so if I am point this in the wrong place, or asking a repeated question (even-though I searched around), sorry!after playing around with the global.css, I designed a theme in photoshop and started to modify the default theme to suite my createion. In the editorial_block_center there is an iphone image at the moment- in there I want to add a slide show, which needs to look like this http://min.us/mvb1KSqIn order to follow the "good practice" rules should I edit the existing code in the modules/editorial./editorial.tpl ? or should I delete the code already in there and creat what I need the way I would normally do (html/css/jquery)If you think I should work with the code that is already there, do you know where can I edit the size of the editorial image? so where does $image_width refer to in this snippet: {if $homepage_logo}getMediaLink($image_path)}" alt="{$editorial->body_title|escape:'htmlall':'UTF-8'|stripslashes}" {if $image_width}width="{$image_width}"{/if} {if $image_height}height="{$image_height}" {/if}/>{/if} Thanks for your help Link to comment Share on other sites More sharing options...
aurelkurtula Posted May 28, 2011 Author Share Posted May 28, 2011 Thanks Angora, I am going to read the article you recommended. the image dimension did work, for some reason when I wrote this thread, the effect did not take place but when I re-opened the browser, the dimensions where fine, I was confused maybe if I uploaded the image (instead or manually copying the file) the dimensions register automatically (without having to close the browser)I am interested in this: Instead of altering the original tpl, place a same-named copy of the tpl file in your theme path/themes/my_theme/modules/editorial]editorial.tpland the app will load this theme-specific copy instead of the original I tried to:a. copy the file and add ] at the frontb. copied the folder, and added ] at the bottombut did not work; if you could explain it again, that be great, as it sounds very usefull Thanks for you help Link to comment Share on other sites More sharing options...
aurelkurtula Posted May 28, 2011 Author Share Posted May 28, 2011 cool, thanks Link to comment Share on other sites More sharing options...
aller Posted December 30, 2011 Share Posted December 30, 2011 Hi aurelkurtula , I faced a similar problem you posted in May. Can I check how exactly you do it? I try doing the modifying the tpl but it can't work. I'm new so maybe my modifications are wrongly done. 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