Reservation Partner 10 Posted December 27, 2013 Posted December 27, 2013 (edited) About: News with social networking share block module lets you create and show articles in the shop. All of the articles have social network share buttons so they can be shared instantly. Features: Articles are ordered by date; News can to be written in several languages; News link can be hooked at left, right and footer; News link can be with an image and additional text; Share buttons can be turned off; “Read more” button can be hidden; Demo: http://demo2.reservationpartner.com http://demo2.reservationpartner.com/admin4928/ Video: Compatibility: - Prestashop 1.5.xSupport languages:- English- Lithuanian The module is Free Please contact me if you have any questions. Skype: shifftiz info@reservationpartner.com rpadvancednews.zip Edited December 28, 2013 by vekia (see edit history) 4 Share this post Link to post Share on other sites
AppleEater 16 Posted December 27, 2013 Posted December 27, 2013 Hello, First, The module can't be downloaded. Second, by forum rules, you need to attach the module to your post. Share this post Link to post Share on other sites
Reservation Partner 10 Posted December 27, 2013 Posted December 27, 2013 Attached the module Share this post Link to post Share on other sites
francesc 49 Posted December 27, 2013 Posted December 27, 2013 (edited) Thank you for the module, work fine, but the block image doesn't appear I see the next code: <img width="174" height="115" alt="News" src="...shop.com/shop//shop/modules/rpaadvancednews/image.jpg"></img> where I have the problem? you can see here: http://www.faelectronic.com/shop Edited December 27, 2013 by francesc (see edit history) Share this post Link to post Share on other sites
Reservation Partner 10 Posted December 27, 2013 Posted December 27, 2013 Thank you for the module, work fine, but the block image doesn't appear I see the next code: <img width="174" height="115" alt="News" src="...shop.com/shop//shop/modules/rpaadvancednews/image.jpg"></img> where I have the problem? you can see here: http://www.faelectronic.com/shop The problem is that path to the picture is wrong. I believe your prestashop is misconfigured, because the module takes the pictures path from functions that work with standart CMS functionality. If you need help fixing that private message me. Share this post Link to post Share on other sites
mabrur 1 Posted December 28, 2013 Posted December 28, 2013 (edited) The problem is that path to the picture is wrong. I believe your prestashop is misconfigured, because the module takes the pictures path from functions that work with standart CMS functionality. If you need help fixing that private message me. About: News with social networking share block module lets you create and show articles in the shop. All of the articles have social network share buttons so they can be shared instantly. Features: Articles are ordered by date; News can to be written in several languages; News link can be hooked at left, right and footer; News link can be with an image and additional text; Share buttons can be turned off; “Read more” button can be hidden; Demo: http://demo2.reservationpartner.com http://demo2.reservationpartner.com/admin4928/ Video: Compatibility: - Prestashop 1.5.x Support languages: - English - Lithuanian The module is Free Please contact me if you have any questions. Skype: shifftiz info@reservationpartner.com More info: http://www.prestamodulemarket.com/en/prestashop-15-modules/prestashop-15-module-news-module.html This is Great module. Thanks in advance. But there are some problem about creating Title and url. I mean that News Title not appear in site title, also the url can't made dinamic url which is same the title. How can i solve this. Thanks.. my site: http://batiknovita.com Edited December 28, 2013 by mabrur (see edit history) Share this post Link to post Share on other sites
newt96 1 Posted January 17, 2014 Posted January 17, 2014 Just wanted to say THANK YOU for this module. Just one question though - is there a way to display a block (let's say in the left column) showing the XY latest news in their short form? Something like the News link can be added but also in the block with "teasers" in its content. Thanks Share this post Link to post Share on other sites
fulviods 7 Posted January 28, 2014 Posted January 28, 2014 (edited) hi thanks for your module. Installed on a french prestashop 1.5.6.2, added one news that won't appear !The block "news" is there but no link to the news i added. you know why? I added title then intro and content. The news is active! Another thing... it would be nice if we can add this section inside the homepage (in center).... actually only footer/right/left Thanks Edited January 28, 2014 by fulviods (see edit history) Share this post Link to post Share on other sites
cse_king2 2 Posted January 29, 2014 Posted January 29, 2014 Hi, Thanks for great module. Is there any way to add meta-description,meta-tag & friendly url to article? Thanks! 2 Share this post Link to post Share on other sites
askinjew 122 Posted February 1, 2014 Posted February 1, 2014 thanks nice modül Share this post Link to post Share on other sites
houin 5 Posted February 3, 2014 Posted February 3, 2014 Bonjour et merci pour le module.J'ai le même problème je n'arrive pas à voir la photo dans le module. Je suis sur 1.5.6.2 Pouvez vous m'aider Merci Share this post Link to post Share on other sites
kalakrima 4 Posted February 26, 2014 Posted February 26, 2014 Hi, Thanks for great module. Is there any way to add meta-description,meta-tag & friendly url to article? Thanks! Hi did you fin a solution to add those elements to this module? I have the same need.. Share this post Link to post Share on other sites
Hela69 0 Posted March 8, 2014 Posted March 8, 2014 Here you have the translation into Spanish.Thanks for the module es.php Share this post Link to post Share on other sites
damdub 0 Posted March 12, 2014 Posted March 12, 2014 Thank you for your module, is really great ! Just one question : How can I put the date in french format (dd--mm-yy) ? Thanks for your answer Best regards Share this post Link to post Share on other sites
dokorek 0 Posted March 14, 2014 Posted March 14, 2014 How about friendly URLs because this looks shitty: ?fc=module&module=rpadvancednews&controller=news&id_news=1 Share this post Link to post Share on other sites
titpu 0 Posted March 21, 2014 Posted March 21, 2014 I use this module for my shop, but it does not work with vietnamese font. How can I fix it Share this post Link to post Share on other sites
matoola 1 Posted March 27, 2014 Posted March 27, 2014 Hi! How would one go about showing last five news in the home page? Would I need to make another module calling from DB or is there a faster way to do it? Thanks Share this post Link to post Share on other sites
matoola 1 Posted April 1, 2014 Posted April 1, 2014 (edited) Hi, I am no programmer but I managed to call the last five news into the home page. I hope you guys find it useful. Here it goes... I've extended the smartyVariableHook with a db query in rpadvancednews.php like so: public function smartyVariableHook() { $query = 'SELECT rpn.id_rpadvancednews, rpn.date_add, rpnl.title, rpnl.intro FROM `'._DB_PREFIX_.'rpadvancednews` rpn LEFT JOIN `'._DB_PREFIX_.'rpadvancednews_lang` rpnl on rpn.id_rpadvancednews = rpnl.id_rpadvancednews WHERE rpn.active=1 and rpnl.id_lang='.(int)$this->context->language->id.' ORDER BY rpn.date_add DESC LIMIT 0,5'; $news = Db::getInstance()->ExecuteS($query); $this->smarty->assign(array( 'rp_news_img' => Configuration::get('RPADVANCEDNEWS_IMG'), 'rp_news_text' => Configuration::get('RPADVANCEDNEWS_TEXT_'.(int)$this->context->language->id), 'news' => $news, 'rpadvancednews_share' => Configuration::get('RPADVANCEDNEWS_SHARE'), 'rpadvancednews_read' => Configuration::get('RPADVANCEDNEWS_READ') )); } than I copied whatever I needed from views/templates/front/rpadvancednews.tpl to views/templates/hooks/rpadvancednewstext.tpl Regards, Mato Edited April 1, 2014 by matoola (see edit history) Share this post Link to post Share on other sites
amit3092 0 Posted May 11, 2014 Posted May 11, 2014 Hi, I am no programmer but I managed to call the last five news into the home page. I hope you guys find it useful. Here it goes... I've extended the smartyVariableHook with a db query in rpadvancednews.php like so: public function smartyVariableHook() { $query = 'SELECT rpn.id_rpadvancednews, rpn.date_add, rpnl.title, rpnl.intro FROM `'._DB_PREFIX_.'rpadvancednews` rpn LEFT JOIN `'._DB_PREFIX_.'rpadvancednews_lang` rpnl on rpn.id_rpadvancednews = rpnl.id_rpadvancednews WHERE rpn.active=1 and rpnl.id_lang='.(int)$this->context->language->id.' ORDER BY rpn.date_add DESC LIMIT 0,5'; $news = Db::getInstance()->ExecuteS($query); $this->smarty->assign(array( 'rp_news_img' => Configuration::get('RPADVANCEDNEWS_IMG'), 'rp_news_text' => Configuration::get('RPADVANCEDNEWS_TEXT_'.(int)$this->context->language->id), 'news' => $news, 'rpadvancednews_share' => Configuration::get('RPADVANCEDNEWS_SHARE'), 'rpadvancednews_read' => Configuration::get('RPADVANCEDNEWS_READ') )); } than I copied whatever I needed from views/templates/front/rpadvancednews.tpl to views/templates/hooks/rpadvancednewstext.tpl Regards, Mato Hi Mato, You can do something like this : 1) modules/rpadvancenews.rpadvancenews,php public function hookHome($params) { $sql = "SELECT rpn.id_rpadvancednews, rpn.date_add, rpnl.title, rpnl.intro FROM `"._DB_PREFIX_."rpadvancednews` rpn LEFT JOIN `"._DB_PREFIX_."rpadvancednews_lang` rpnl on rpn.id_rpadvancednews = rpnl.id_rpadvancednews WHERE rpn.active=1 and rpnl.id_lang=1 ORDER BY rpn.date_add DESC limit 5"; $rows = Db::getInstance()->executeS($sql); $return = array(); foreach($rows as $row) { if(file_exists(_PS_IMG_DIR_.'rpadvancednews/'.$row['id_rpadvancednews'].'.jpg')) $row['rpadvancednews_img']='img/rpadvancednews/'.$row['id_rpadvancednews'].'.jpg'; $return[] = $row; } $this->smarty->assign('news_arr',$return); return $this->display(__FILE__, 'views/templates/hooks/displayHome.tpl'); } 2) Make views/templates/hooks/displayHome.tpl and copy the code from the leftColumn.tpl. or use this code as I have : <div class="section"> <div class="margin"> {foreach from=$news_arr item=arr} <div class="product"> <i><img src="{$base_dir}{$arr.rpadvancednews_img}" alt="{$arr.title}" height="200px" width="200px" /></i> <h1>{$arr.title}</h1> <h6>Posted in <span>News</span> on <span>{$arr.date_add}</span></h6> <p>{$arr.intro}</p> <a href="#" class="but">Lesen Sie mehr..</a> </div> {/foreach} </div> </div> Thanks. Share this post Link to post Share on other sites
gingko 0 Posted October 1, 2014 Posted October 1, 2014 Merci pour ce super module ! Il fonctionne très bien aussi avec prestashop 1.6.0.9 Pour répondre à Damdub, pour mettre un format de date en français, j'ai juste ajouté un date_format dans mes template, comme ceci {$new->date_add|date_format:"%d-%m-%Y"} ou {$new->date_add|date_format:"%d %B %Y"} ... ma boutique n'est pas multilingue... Share this post Link to post Share on other sites
tUb26 4 Posted October 2, 2014 Posted October 2, 2014 Hello! Thank you for this awesome module, works flawlessly on PS 1.5.6.2. Share this post Link to post Share on other sites
Noobyprestashop 3 Posted April 11, 2015 Posted April 11, 2015 Thank you for this great module work good with 1.5.5 Share this post Link to post Share on other sites
GrandeLupo 13 Posted May 13, 2015 Posted May 13, 2015 Ciao, è possibile integrare i commenti? impostare un codice con il Plug-in sociale di Facebook In questo modo si da la possibilità agli utenti di commentare la notizia. Versione di prestashop 1.5.4.1 Grazie ---- Hello,It is possible to integrate the comments? set a code with the Plug-in Facebook socialThis will be the ability for users to comment on the report. Prestashop version 1.5.4.1thanks Share this post Link to post Share on other sites
Recommended Posts