bhtoys Posted March 7 Share Posted March 7 So I wanted to download this module and use it on my site... However when I click download, it takes me to a Github page... I have no clue what to do with a GitHub page. So, any suggestions? Link to comment Share on other sites More sharing options...
0 the.rampage.rado Posted March 8 Share Posted March 8 Which module? Link to comment Share on other sites More sharing options...
0 bhtoys Posted March 8 Author Share Posted March 8 (edited) 22 hours ago, the.rampage.rado said: Which module? That would of been helpful, huh. 😉 https://store.thirtybees.com/shop-modules/front-office/block-advertising It takes me to this page : https://github.com/thirtybees/blockadvertising Edited March 8 by bhtoys Link to comment Share on other sites More sharing options...
0 the.rampage.rado Posted March 9 Share Posted March 9 You can download this module from here but it only supports left and right column hooks, don't know how useful it will be for you. blockadvertising.zip Link to comment Share on other sites More sharing options...
0 bhtoys Posted March 13 Author Share Posted March 13 Well, that didn't work. Source file: modules/blockadvertising/blockadvertising.php 198: } 199: } 200: 201: // If the link is not set, then delete it in order to use the next default value (either the global value or the group value) 202: if ($link = Tools::getValue('adv_link')) { 203: Configuration::updateValue('BLOCKADVERT_LINK', $link); 204: } elseif (Shop::getContext() == Shop::CONTEXT_SHOP || Shop::getContext() == Shop::CONTEXT_GROUP) { 205: Configuration::deleteFromContext('BLOCKADVERT_LINK'); 206: } 207: 208: // If the title is not set, then delete it in order to use the next default value (either the global value or the group value) 209: if ($title = Tools::getValue('adv_title')) { 210: Configuration::updateValue('BLOCKADVERT_TITLE', $title); 211: } elseif (Shop::getContext() == Shop::CONTEXT_SHOP || Shop::getContext() == Shop::CONTEXT_GROUP) { 212: Configuration::deleteFromContext('BLOCKADVERT_TITLE'); 213: } 214: 215: // Reset the module properties 216: $this->initialize(); 217: $this->clearCache('blockadvertising.tpl'); 218: 219: if (!$errors) { 220: Tools::redirectAdmin(AdminController::$currentIndex.'&configure='.$this->name.'&token='.Tools::getAdminTokenLite('AdminModules').'&conf=6'); 221: } 222: echo $this->displayError($errors); 223: } 224: 225: } 226: 227: /** Stack trace 1. modules/blockadvertising/blockadvertising.php:164 source BlockAdvertising->postProcess() 2. controllers/admin/AdminModulesController.php:1648 source BlockAdvertising->getContent() 3. controllers/admin/AdminModulesController.php:1511 source AdminModulesControllerCore->postProcessCallback() 4. classes/controller/Controller.php:197 source AdminModulesControllerCore->postProcess() 5. classes/Dispatcher.php:837 source ControllerCore->run() 6. admin123/index.php:63 source DispatcherCore->dispatch() Link to comment Share on other sites More sharing options...
0 the.rampage.rado Posted March 13 Share Posted March 13 Hmmm... I did not give it a try to save the module. Sorry! Probably somebody with coding experience could fix it. Link to comment Share on other sites More sharing options...
0 yaniv14 Posted March 14 Share Posted March 14 try from here https://github.com/thirtybees/blockadvertising/archive/refs/heads/master.zip Link to comment Share on other sites More sharing options...
0 datakick Posted March 14 Share Posted March 14 There's a bug in this module on line 217. It should read $this->_clearCache('blockadvertising.tpl'); Obviously, nobody is using that module, or at least never bothered to report this error on github. Link to comment Share on other sites More sharing options...
0 datakick Posted March 14 Share Posted March 14 I've fixed the bug and released new version of this module. You should be able to download see it in your back office 1 Link to comment Share on other sites More sharing options...
Question
bhtoys
So I wanted to download this module and use it on my site...
However when I click download, it takes me to a Github page...
I have no clue what to do with a GitHub page.
So, any suggestions?
Link to comment
Share on other sites
8 answers to this question
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