Page 1 of 5
Updated Modules
Posted: Fri Jun 26, 2009 11:31 am
by fido-x
First up, apologies for my tardiness in getting these done. I should have had them done some time ago, but have been staying at my daughter's place (due to family matters) and my daughter doesn't have access to the Internet.
I've been having a few problems with my own server lately, I run it from home and I haven't been there very often over the past couple of months. There has been a lot of (much needed) rain where I live that has been causing problems with power outages which keeps knocking my server offline. So, to ensure the availability of these modules, I have uploaded them to the main contributions site.
The following packages have been updated and are available from OpenCart Contributions.
All packages have been updated for version 1.2.8 and beyond and have been tested on both 1.2.8 and 1.2.9.
Re: Updated Modules
Posted: Fri Jun 26, 2009 6:28 pm
by phpuk
Hi fido-x,
Thank you very much for your contributions.
They are popular addons especially the Homepage and news modules.
Phil.
Re: Updated Modules
Posted: Sat Jun 27, 2009 8:33 am
by allsop
First, thanks for the modules. But I'm having a problem with the FAQ module. I have followed all of the install instructions to the letter. When I get to the Admin section and select "Admin–>Configuration–>Users–>User Group" and then click the edit link in the action column for the "Top Administrator", tick the checkboxes for "catalog/faq" in both the "Access" and "Modify" lists, then click the "Save" button; I get a "Forbidden" page in my browser. That's it. Can't go any further.
Any ideas would be appreciated.
Re: Updated Modules
Posted: Wed Jul 01, 2009 12:30 am
by allsop
I've tried setting magic_quotes_gpc to OFF and this did not help. Any other suggestions?
Thanks.
Re: Updated Modules
Posted: Wed Jul 01, 2009 11:31 pm
by d0tb0t
You forgot about " . DB_PREFIX . " please fix it

Re: Updated Modules
Posted: Thu Jul 02, 2009 12:40 am
by allsop
The oc database is not shared and there is no prefix. Is this what you were saying? If not, please except my apologies and elaborate.

Re: Updated Modules
Posted: Thu Jul 02, 2009 12:52 am
by d0tb0t
OpenCart v1.2.9
Whats New
DB Prefixes
WorldPay Payment Module
SagePay Payment Module
Seo URL's
Category Descriptions
http://forum.opencart.com/viewtopic.php?f=2&t=4486
Re: Updated Modules
Posted: Thu Jul 02, 2009 1:03 am
by allsop
I'm using 1.2.8, didn't think there were enough updates to warrant a change from 1.2.8 to 1.2.9 - Besides Fido-x said the modules were for both releases.
Re: Updated Modules
Posted: Thu Jul 02, 2009 1:08 pm
by fido-x
The "DB Prefix" is stored in the configuration file (config.php and admin/config.php). Since my contributions aren't involved with payments, I don't need to provide support for any payment modules. I will include support for "SEO URLs" in the next release.
allsop wrote:I'm using 1.2.8, didn't think there were enough updates to warrant a change from 1.2.8 to 1.2.9 - Besides Fido-x said the modules were for both releases.
The modules were built on 1.2.8, but are compatible with 1.2.9.
Re: Updated Modules
Posted: Thu Jul 02, 2009 8:42 pm
by d0tb0t
but are compatible with 1.2.9.
NOT compatible with 1.2.9
1.2.9 use DB PREFIX in all db query
I received an error installing your module on OC 1.2.9
had to rewrite

Re: Updated Modules
Posted: Fri Jul 03, 2009 9:22 pm
by op_sjo
I'm having some problems with the FAQ package on 1.2.9
1) I have no "catalog/controller/module/information.php" file to update, however I do have a "catalog/controller/module/information/information.php" file. I tried putting the text in there but i'm seeing some odd results (see #2 below).
2) On the root page of the site, the menu text isn't working for FAQ. I just get "text_faq" instead of the correct link text. The link does work though. Once I clicked the link and get to the FAQ page (of which all text in the FAQ displays correctly), the menu link has changed text to "Get answers to those commonly asked questions!" (which is also the heading on the faq column itself).
Any thoughts?
Thanks!
Re: Updated Modules
Posted: Wed Jul 08, 2009 8:00 pm
by DannyMacD
hi fido..
great modules. for someone new to OpenCart they ahve been simple to install.
i just wanted to ask if i wanted catagories for the FAQ one is this possible?
example.
i want to have FAQ for different things. maybe one on processes, one on services etc
cheers

Re: Updated Modules
Posted: Fri Jul 10, 2009 12:48 pm
by fido-x
Hi Danny,
In answer to your question, the FAQ package could be modified to include categories/subcategories for questions, making it similar to the "Categories" module. However, this can cause conflicts with the "Category" module if "path" is used (I found this out when I built an image gallery module for my own site). But, having said that, the conflict is easily resolvable with a slight modification to the controller for the "Category" module.
Customizing the module to suit your requirements will require a small donation (which can be made by clicking the "Donate" button at
http://www.fido-x.net/index.php?route=i ... ion/donate). PM me if you would like the customization done.
d0tb0t wrote:but are compatible with 1.2.9.
NOT compatible with 1.2.9
1.2.9 use DB PREFIX in all db query
I received an error installing your module on OC 1.2.9
had to rewrite

I understand where you're coming from (I hadn't looked at the code in the "model" in 1.2.9 before releasing these modules - my bad, I hadn't fully tested them on 1.2.9). This issue will be addressed in the next release. However, it should be noted, that this is not really a DB_PREFIX - it's more of a table prefix, since it is not the database that is prefixed, it is the tables within the database that are prefixed. As for the compatibility issue - if you are not using database prefixes, the modules will work with 1.2.9.
allsop wrote:First, thanks for the modules. But I'm having a problem with the FAQ module. I have followed all of the install instructions to the letter. When I get to the Admin section and select "Admin–>Configuration–>Users–>User Group" and then click the edit link in the action column for the "Top Administrator", tick the checkboxes for "catalog/faq" in both the "Access" and "Modify" lists, then click the "Save" button; I get a "Forbidden" page in my browser. That's it. Can't go any further.
Any ideas would be appreciated.
Does the user you logged in as have the necessary permissions to modify the "Top Administrator"? If you do have the necessary permissions, it may have something to do with ownership or permissions of the files themselves. I haven't come across this problem myself, so I'm not sure how to resolve it.
Re: Updated Modules
Posted: Mon Jul 13, 2009 10:09 pm
by DannyMacD
hi Fido-x,
just wondering if you had a chance to see my PM
let me know .
cheers
Re: Updated Modules
Posted: Tue Jul 14, 2009 11:20 am
by fido-x
The above modules have been updated for OpenCart 1.2.9. Now provide support for DB_PREFIX and include instructions for SEO URLs.
Re: Updated Modules
Posted: Wed Jul 15, 2009 5:12 am
by fossy
Thank you for news-module, works proper
Only a small error has crept in:
In news.sql the 'keyword'-field is missing and its better to set the collation/charset to utf-8.
Re: Updated Modules
Posted: Fri Jul 31, 2009 12:12 am
by Rich
Hi guys
I am trying to get the FAQs' working on OpenCart 1.3. I got it to work perfectly, but one thing.
On the module information it will not show FAQs' link.
If I go to mywebsite.com/index.php?route=information/faq it works perfectly. In admin it works to.
What I find out is that in installation file is: Edit your store‘s "catalog/language/english/information.php" file by adding the following line:–
$_['text_faq'] = 'FAQs';
but in Opencart 1.3 is catalog/language/english/module/information.php
So I looked and looked where i can change the information so I get link in my information module, but i can't find it.
Can you guys help?? FAQs' its grate I really like to use it.
Thaks
Re: Updated Modules
Posted: Fri Aug 07, 2009 1:01 pm
by fido-x
Rich wrote:What I find out is that in installation file is: Edit your store‘s "catalog/language/english/information.php" file by adding the following line:–
$_['text_faq'] = 'FAQs';
but in Opencart 1.3 is catalog/language/english/module/information.php
So I looked and looked where i can change the information so I get link in my information module, but i can't find it.
Can you guys help?? FAQs' its grate I really like to use it.
Thaks
You need to edit the following files:--
"catalog/controller/module/information.php" by adding --
Code: Select all
$this->data['text_faq'] = $this->language->get('text_faq');
$this->data['faq'] = $this->url->http('information/faq');
"catalog/language/english/module/information.php" by adding --
and "catalog/view/theme/default/template/module/information.tpl" by inserting --
Code: Select all
<li><a href="<?php echo $faq; ?>"><?php echo $text_faq; ?></a></li>
While on the subject of FAQs, the FAQ package has been updated and now supports topics and sub-topics. Get it from
http://www.fido-x.net/index.php?route=p ... duct_id=42
The following modules have also been updated for OpenCart 1.3.0:--
Homepage Package --
http://www.fido-x.net/index.php?route=p ... duct_id=40
News Package --
http://www.fido-x.net/index.php?route=p ... duct_id=39
Events Calendar --
http://www.fido-x.net/index.php?route=p ... duct_id=41
Sponsors Module --
http://www.fido-x.net/index.php?route=p ... duct_id=38
Re: Updated Modules
Posted: Fri Aug 07, 2009 9:05 pm
by Rich
fido-x you are a genius

Thank you so much it works perfectly. Just finished installing faq, news and sponsors and they are grate.
I have one question about your sponsors module: after I upload image 160 px by 250 px it will get converted to much smaller version. Where I can set it so if I upload image 300 x 500 or so it will convert it to 160px x what ever length ?
Anyway thank you again for your work its grate.
Re: Updated Modules
Posted: Tue Aug 11, 2009 2:03 pm
by fido-x
Rich wrote:fido-x you are a genius

Thank you so much it works perfectly. Just finished installing faq, news and sponsors and they are grate.
I have one question about your sponsors module: after I upload image 160 px by 250 px it will get converted to much smaller version. Where I can set it so if I upload image 300 x 500 or so it will convert it to 160px x what ever length ?
Anyway thank you again for your work its grate.
Thanks for the compliment.
The default image size for the module is set at 160 x 60 and is hard-coded in the controller (catalog/controller/module/sponsors.php). If you want to change it to a size more suitable for your own purposes, this is the file to look in.
Regards, Fido-X.