Jump to content


Global Moderators
  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by razaro

  1. Go to back office, Customers > Titles > Edit , and edit or delete titles for each language you use.
  2. Think it is best to check few modules that comes with Prestashop, like homeslider, blockreinsurance and productcomments.
  3. Check http://www.prestashop.com/forums/index.php?/topic/242057-forum-font/
  4. First to say that theme is not developed by Prestashop, it say by Community but actually it is probably from "themes-prestashop.com" which is not currenly available. Note that it is not in any way connected with official Prestashop.com. You can try "Contact the developer" link and also asking in addons section of forum. But back to your problem, you could try to to uninstall that module and try some of free alternatives like minic slider for 1.5 which is also uses Nivo slider script, and latest version of it I think.
  5. Check http://doc.prestashop.com/display/PS15/Overriding+default+behaviors#Overridingdefaultbehaviors-Overridingamodule'sbehavior But you use same folder structure in theme as it is in modules. So for example blockuserinfo.css is in modules/blockuserinfo/ and if you need to change some styles then path should be themes/your_theme/css/modules/blockuserinfo/ and blockuserinfo.css should be there.
  6. Thing it is similar issue like in this topic So instead $('#center_column').html('<div id="noSlide">'+$('#center_column').html()+'</div>'); try $('.container').html('<div id="noSlide">'+$('container').html()+'</div>'); Code is in authentication.tpl.
  7. Why not just <p class="lost_password"><a class="button" href="[color=#343943]{$link->getPageLink('password')}[/color]">[color=#343943]{l s='Forgot your password?'}[/color]</a></p> and here class button is from default theme and if you have other class like btn use that.
  8. Well you could make simple module for that. For example you can create additional tab in back office, when editing a product. For this you can use hook displayAdminProductsExtra. And there you enter link to demo website. http://blog.belvg.com/how-to-create-a-custom-product-tab-in-prestashop.html And in front office add small code for button and hook it in extra left/right or at productActions.
  9. Sorry did not type correctly it is "block reinsurance". That is default module but maybe you have custom theme. And you did not mention your version, your theme, and link to your website so I am just guessing.
  10. That is module block reinsurance , you can disable it or upload new images.
  11. Your theme does not have element with id="center_column" so code $('#center_column').html('<div id="noSlide">'+$('#center_column').html()+'</div>'); does not work. This code is in authentication.tpl. You could try to replace center_column with columns.
  12. Well for some reason in your theme product.tpl there is code that set for first thumbnail to have "large" size for fancybox popup image but for rest it uses original image for fancybox popup. And that is I think reason original images been cut off. Check code on lines 213,214 and 218.
  13. Think you should leave __FrontController.php like that. It is just for testing. And rename one from theme to for example _OTFrontController.php.
  14. Code I posted worked for me, but I put 1 for gallery id in $azgallery->getImages( 1) but maybe you have galleries with other id's.
  15. I would suggest to contact shokinro as Agile multi-seller is his module.
  16. Well you did not say some info that could help like what version of Prestashop do you use. And what theme you are trying to install. Maybe theme is not compatible with your Prestashop. But from error you got it try to rename Front controller to _FrontController.php so it will not use it.
  17. Ok here is controller, done in a bit of hurry and probably not the greatest solution. But you can start from that. <?php class CmsController extends CmsControllerCore { public function initContent() { $this->getGallery(); parent::initContent(); } public function getGallery() { include_once(_PS_MODULE_DIR_.'azgallery/azgallery.php'); $azgallery = new AzGallery; $this->context->smarty->assign(array( 'gallery_url' => _PS_BASE_URL_.__PS_BASE_URI__.'index.php?fc=module&module=azgallery&controller=gallery', 'gallery_dir' => _PS_BASE_URL_.__PS_BASE_URI__.'modules/azgallery/' )); /* List albums */ if( !isset( $_GET['id_album'] ) ) $this->context->smarty->assign('albums', $azgallery->getAlbums()); /* List images */ $this->context->smarty->assign('images', $azgallery->getImages( 1 )); if( isset( $_GET['id_album'] ) ) $this->context->smarty->assign('backhome', true); $this->setTemplate(_PS_MODULE_DIR_.'azgallery/views/templates/front/gallery.tpl'); } } and in cms.tpl <div class="rte{if $content_only} content_only{/if}"> {$cms->content} </div> <ul id="image_list" class="gallery_list"> {foreach from=$images item=item name=images} <li> <a href="#"> <img src="{$base_dir}modules/azgallery/images/{$item.id_image}-large_default.jpg" width="128" height="128"></a> <p class="caption">{$item.caption}</p> </li> {/foreach} </ul> Notice that in cms controller /* List images */ $this->context->smarty->assign('images', $azgallery->getImages( 1 )); I manually set id to 1 for first album. Also you should try to contact module developer, maybe he could be of better help.
  18. Is this paid module ? If it is you should not post files from module. Edit sorry, my bad I found it on forum. It is free.
  19. For example create new file in your root override/controllers/front named CmsController.php And code should be something like <?php class CmsControllerCore extends CmsControllerCore { public function initContent() { $this->getGallerry(); parent::initContent(); } public function getGallerry() { // here goes code for getting images from gallery module $gallerry_images = ...; $this->context->smarty->assign('images', $gallerry_images); $this->setTemplate(_PS_MODULE_DIR_.'nameofgallerymodule/gallery.tpl'); } } Note this is not tested and you could try to follow logic from gallery.php.
  20. That just call template file gallery.tpl, but for variables there must be some other code. For example in ProductContraoller.php you have $images = $this->product->getImages((int)$this->context->cookie->id_lang); $product_images = array(); foreach ($images as $k => $image) { if ($image['cover']) { $this->context->smarty->assign('mainImage', $images[0]); $cover = $image; $cover['id_image'] = (Configuration::get('PS_LEGACY_IMAGES') ? ($this->product->id.'-'.$image['id_image']) : $image['id_image']); $cover['id_image_only'] = (int)$image['id_image']; } $product_images[(int)$image['id_image']] = $image; } . . . if (count($product_images)) $this->context->smarty->assign('images', $product_images); So here is $product_images assigned to variable images that will be used in product.tpl file. And to use it on different page, well that depends on where you what to add that gallery. Maybe you could use some of existing hooks and add gallery. Or you can override some controller...
  21. It does not understand those lines because variable $images is not defined in files(controllers) that are connected with those other tpl files. If you check gallery.php you will probably find code that takes same data from database and then make array of images that is passed to tpl file as variable $images.
  22. Check this tutorial http://nemops.com/alphabetical-prestashop-manufacturers/ and with some adjustments you probably could get look like image you posted
  23. Hi and welcome to the forum. Check http://doc.prestashop.com/display/PS15/Setting+up+your+local+development+environment for detailed guide.
  24. You have few java script error that maybe interfere with jcarusel script that holds manufacturers logo. Solution for second error you should be able to find on forum, but first from what I see is connected with theme so check maybe theme topic on forum or try to contact theme developer. But in meantime try with this css: #lofjcarousel { clear: both; height: 87px; } #leo-footer li { padding: 7px 0; font-size: 12px; float: left; }
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More