Re: VivaWallet payment system
here's my code so far for the catalog/controller <?php class ControllerPaymentVivaWallet extends Controller { public function index() { $this->language->load('payment/viva_wallet'); $data['text_wait'] = $this->language->get('text_wait'); $data['text_loading'] = $this->language->get('text_loading'); ...
Jump to post- Sat Mar 26, 2016 9:41 pm
- Replies 2
- Views 2289
Re: VivaWallet payment system
i've been working off the pp_pro.php files as a 'template'
couldn't find a "from scratch" template to work with....
- Wed Mar 23, 2016 8:28 pm
- Replies 2
- Views 2289
Re: parent child information pages [SOLVED] :D
Thx for pointing me that way .. but I guess I have made more modules - also vq- & ocmods - than many others here 8) Anyway, modifying core db.tables is never a good way for an extension. What if the shopowner does not want your extension anymore? Now you have to alter the database tables again ...
Jump to post- Wed Mar 23, 2016 8:26 pm
- Replies 64
- Views 12368
Re: parent child information pages [SOLVED] :D
Please do not do it that way! Leave the original tables as they are and create new. Combine them when needed, that way the original system stays intact and in case the extension is not needed anymore no troubles will arrise! thx. ocmods can create/alter table as well as remove so that is no problem...
Jump to post- Fri Mar 18, 2016 5:13 am
- Replies 64
- Views 12368
Re: parent child information pages [SOLVED] :D
I say create a module so you can just echo it in the header or footer or anywhere you feel like ;D controller>module>information_menu.php Add all your custom stuff from header controller in here End with return $this->load->view('default/template/module/info_menu.tpl',$data); module folder>info_men...
Jump to post- Thu Mar 17, 2016 3:49 pm
- Replies 64
- Views 12368
Re: parent child information pages [SOLVED] :D
masterbeta -> masterrelease ;D So what was it? i forgot to hook up the doll... lol the controller was botched, so i scrapped it, started from scratch, rewrote it, and now it's perfetto :) Yay, well done can't wait to see it working you will soon! should i seriously turn it into an ocmod? or just si...
Jump to post- Tue Mar 15, 2016 5:12 pm
- Replies 64
- Views 12368
Re: parent child information pages
figured it out finally
now onto testing! working great so far
where is that ocmod tutorial now? lol
- Tue Mar 15, 2016 4:31 am
- Replies 64
- Views 12368
Re: parent child information pages
yes i tried using 'path' ,'path2', 'information_id' , 'information_info['path'], etc.... - the path_id is equal to parent_id but the 'path' is what oc uses to generate the child pages for seo keywords/friendly links what happened to the good old days of simple mod_rewrite for pretty links and using ...
Jump to post- Tue Mar 15, 2016 3:27 am
- Replies 64
- Views 12368
Re: parent child information pages
here's what i have... seo: <?php class ControllerCommonSeoUrl extends Controller { public function index() { // Add rewrite to url class if ($this->config->get('config_seo_url')) { $this->url->addRewrite($this); } // Decode URL if (isset($this->request->get['_route_'])) { $parts = explode('/', $this...
Jump to post- Mon Mar 14, 2016 8:04 pm
- Replies 64
- Views 12368
Re: parent child information pages
i already have it set up that way with the info id - i believe the problem is with this line: return $url_info['scheme'] . '://' . $url_info['host'] . (isset($url_info['port']) ? ':' . $url_info['port'] : '') . str_replace('/index.php', '', $url_info['path']) . $url . $query; where it spits out the ...
Jump to post- Mon Mar 14, 2016 6:29 pm
- Replies 64
- Views 12368
Re: parent child information pages
hmmmm what do you mean to add for the url_alias column? i'm having troubles with the seo_url.php - as is, i can either make info or cats show friendly links, i've went so far as to duplicate the if statements to use 'path' and 'path2' as well as 'url' and 'url2' (cats, info, respectively) to separat...
Jump to post- Mon Mar 14, 2016 3:01 pm
- Replies 64
- Views 12368
Re: parent child information pages
I usually use HTTPS_SERVER.'image/'... If you want to release it, you should wrap it in an ocmod. Inline css, oh no :( Please use addStyle() in your controller to add your custom css file to the head. If you have more than one level of children, css can be tricky :o Enjoy the sun also today, client...
Jump to post- Mon Mar 14, 2016 12:24 am
- Replies 64
- Views 12368
Re: parent child information pages
ok fixed it now it's working
problem?? not awake enough
tomorrow now will test all, and "package" it up for you guys to test out as well
sleep time = now!
- Sun Mar 13, 2016 6:38 am
- Replies 64
- Views 12368
Re: parent child information pages
looks like you have figured out all the main stuff so a bit of css should be easy for you ;D would be good to see the finished product hehe yes a simple css * should * be working.... lol but it's not! ;) background image uploads very well, full size as i've removed the tool/resize function on uploa...
Jump to post- Sun Mar 13, 2016 6:13 am
- Replies 64
- Views 12368
Re: parent child information pages
so my inline css doesn't seem to be working... haha
what is trumping my inline css?
- Sun Mar 13, 2016 5:58 am
- Replies 64
- Views 12368
Re: parent child information pages [SOLVED]
hehehe that's a great plan! :D maybe one day! for now my client wants a working menu ;) hahaha i think i owe you a drink or two :D after i finish this little project i'll post up the code changes i made in case anyone wants to have information become a hierarchy - again thank you all for your wonder...
Jump to post- Sat Mar 12, 2016 11:02 pm
- Replies 64
- Views 12368
Re: parent child information pages
jeanyuss! it works - thanks a whole heck of a lot! :D this was certainly frustrating me :) now everything is working perfectly ;) let's see now if we can figure a way to place the "products" within the information menu headings? lol so now i have: infoparent1 | infoparent2 | infoparent3 | ...
Jump to post- Sat Mar 12, 2016 9:36 pm
- Replies 64
- Views 12368
Re: parent child information pages
hmmmm just noticed, maybe it's supposed to have the column field after all? i removed it thinking it wasn't needed.... thoughts? nope makes no difference... lastly i'm thinking possibly the "bottom" vs "top" fields.... i did not include "top" since i didn't plan to inc...
Jump to post- Sat Mar 12, 2016 9:12 pm
- Replies 64
- Views 12368
Re: parent child information pages
hmmmm just noticed, maybe it's supposed to have the column field after all? i removed it thinking it wasn't needed....
thoughts?
- Sat Mar 12, 2016 8:37 pm
- Replies 64
- Views 12368
Re: parent child information pages
header controller: <?php class ControllerCommonHeader extends Controller { public function index() { // Analytics $this->load->model('extension/extension'); $data['analytics'] = array(); $analytics = $this->model_extension_extension->getExtensions('analytics'); foreach ($analytics as $analytic) { if...
Jump to post- Sat Mar 12, 2016 8:28 pm
- Replies 64
- Views 12368