Page 1 of 3
[Released] Simple HTML Module
Posted: Thu Jan 28, 2010 6:06 pm
by saccarrep
Well I try to find simple HTML module in opencart but I can't find one, so I try to make it based on existing module in opencart.
I don't know if this will help anyone else but this make me easier to add custom code to the module.
If anyone want to try it, you can get it here
http://www.opencart.com/index.php?route ... ion_id=396
cheers

Re: [Released] Simple HTML Module
Posted: Fri Jan 29, 2010 7:28 am
by saccarrep
Updated
Now you can change the module header from the admin area
http://www.opencart.com/index.php?route ... ion_id=396
Re: [Released] Simple HTML Module
Posted: Fri Jan 29, 2010 8:46 am
by Qphoria
saccarrep wrote:Updated
Now you can change the module header from the admin area
This is a good idea on paper, but it removes the ability to have multiple languages, unless you've added an array for the fields to create a different title in each language.
Re: [Released] Simple HTML Module
Posted: Fri Jan 29, 2010 9:54 am
by saccarrep
Yes you're right.
But you still can get the multilanguage by emptying the title and set the header to show. And for generic header, title can be used
Re: [Released] Simple HTML Module
Posted: Fri Jan 29, 2010 11:47 pm
by dancing1130
It is a very good model,And i have try as your said.But it is not work,Please help me.I have upload the file.And also set the model.
Re: [Released] Simple HTML Module
Posted: Sat Jan 30, 2010 7:42 am
by saccarrep
dancing1130 wrote:But it is not work,Please help me.I have upload the file.And also set the model.
what error did you get? have you try to reupload the files? maybe some of them are not yet uploaded.
Thank you for trying this module

Re: [Released] Simple HTML Module
Posted: Sat Jan 30, 2010 11:04 am
by dancing1130
saccarrep wrote:dancing1130 wrote:But it is not work,Please help me.I have upload the file.And also set the model.
what error did you get? have you try to reupload the files? maybe some of them are not yet uploaded.
Thank you for trying this module ;
Thank you very much,Here is the file what i have upload and install.But it has some problem,Please check and help me.Thank you very much!!
The front page - 1.JPG (51 KiB) Viewed 7504 times
The admin page - 2.JPG (50.53 KiB) Viewed 7504 times
Re: [Released] Simple HTML Module
Posted: Sun Jan 31, 2010 12:26 am
by saccarrep
Well basically what you could insert is html code
This is the normal view in admin
While this is if you click the source button
And this is how it will display
Hope this help

Re: [Released] Simple HTML Module
Posted: Sun Jan 31, 2010 4:48 pm
by dancing1130
Hi,
Thank you very much,I have try set as you told me.But it is also not work,Is there any file i need to set up.
AS the .htaccess.txt file.Or the other.Thank yu very much!!!
saccarrep wrote:Well basically what you could insert is html code
This is the normal view in admin
While this is if you click the source button
And this is how it will display
Hope this help

Re: [Released] Simple HTML Module
Posted: Sun Jan 31, 2010 5:47 pm
by saccarrep
dancing1130 wrote:I have try set as you told me.But it is also not work,Is there any file i need to set up.
AS the .htaccess.txt file.Or the other.
Well you don't have to modify anything for this module to work.
Do you try this module on a live site or on a local computer? if in a live site can you give the link?
Maybe you could try redownload the the file, there should be 6 files in the zipped file
mymodule\admin\controller\module\mymodule.php
mymodule\admin\language\language\english\module\mymodule.php
mymodule\admin\view\template\module\mymodule.tpl
mymodule\catalog\controller\module\mymodule.php
mymodule\catalog\language\english\module\mymodule.php
mymodule\catalog\view\theme\default\template\module\mymodule.tpl
If you try to put simple text, is there still any error?
I have tried this module in local and also live site but I don't encountered any error
Re: [Released] Simple HTML Module
Posted: Sun Jan 31, 2010 5:55 pm
by richard211986
would this work in 1.3.2?
Re: [Released] Simple HTML Module
Posted: Mon Feb 01, 2010 10:49 am
by saccarrep
richard211986 wrote:would this work in 1.3.2?
Well I didn't try it in 1.3.2, sorry
Re: [Released] Simple HTML Module
Posted: Wed Feb 03, 2010 3:13 am
by saccarrep
Updated!
Simple HTML Module now support multilanguage header and also content
Cheers
Admin View - mymodule_v1.3.jpg (46.17 KiB) Viewed 7423 times
Re: [Released] Simple HTML Module
Posted: Wed Feb 03, 2010 3:14 am
by saccarrep
Somsak2004 wrote:in some module name Freebox Simply for you from Thailand.
Well I guess both of us make the same module

Re: [Released] Simple HTML Module
Posted: Sun Mar 21, 2010 11:40 pm
by txyaaj
I just downloaded this module (mymodule_v1.3) and installed it on a live site on OC v1.4. Everything works great just as expected in Firefox, but when view in IE, all right sideboxes are shown in left at bottom of the left sideboxes and the main/center contents box is only one character wide.
Is this caused by missing DIV's ? I tried to look through the files, but didn't see div's that would cause the problem.
Re: [Released] Simple HTML Module
Posted: Tue Mar 23, 2010 2:33 am
by vitamin X
Hi,
I just installed it and it's not working.
I have a small problem.
Fatal error: Call to a member function https() on a non-object in /home/asyan4/public_html/webshop2/admin/controller/module/mymodule.php on line 66
This is the code on line 66: 'href' => $this->url->https('common/home'),
It's working for others, but on my page not

Re: [Released] Simple HTML Module
Posted: Tue Mar 23, 2010 3:08 pm
by jackfitz
I got the same error,
Fatal error: Call to a member function https() on a non-object in /home/folder/domains/store.com.au/public_html/admin/controller/module/mymodule.php on line 66
Re: [Released] Simple HTML Module
Posted: Wed Mar 24, 2010 12:01 am
by Qphoria
Re: [Released] Simple HTML Module
Posted: Mon Mar 29, 2010 4:10 pm
by saccarrep
Thx Qphoria, I'll try to fix it
Re: [Released] Simple HTML Module
Posted: Sun Apr 25, 2010 10:06 pm
by saccarrep
Updated....
Now works on OpenCart 1.4.7
