Post by DigitariaGlobal » Mon May 02, 2011 8:27 pm

Quick one please.

The fields in the modules in Admin which file/folder is that written in?

get that?

Where in MVC-L can I find the code?
If I wanted to add another option to bestsellers module which file would I put the front end code in?

I hope I am not confusing anyone I have tried to put the question in several forms in order to explain myself.

thankx


Posts

Joined
Wed Apr 27, 2011 6:38 pm

Post by ckonig » Mon May 02, 2011 8:47 pm

backend:
admin/controller/module
admin/view/template/module
you dont need to make ur own model, but u can use the setting model
frontend:
catalog/controller/module
catalog/view/module

User avatar
Active Member

Posts

Joined
Wed Feb 16, 2011 4:26 pm
Location - Netherlands

Post by SXGuy » Mon May 02, 2011 8:52 pm

admin side:

admin/controller/module/yourmodule.php
admin/view/template/module/yourmodule.tpl
admin/model/module/yourmodule.php (if module needs an sql query)
admin/language/module/youmodule.php (for adding text)

view side

catalog/controller/module/yourmodule.php
catalog/view/theme/yourtheme/template/module/yourmodule.tpl
catalog/language/module/yourmodule.php

follow bestseller module as an example.

Active Member

Posts

Joined
Sun Nov 08, 2009 2:07 am

Post by DigitariaGlobal » Mon May 02, 2011 9:45 pm

SXGuy wrote:admin side:

admin/controller/module/yourmodule.php
admin/view/template/module/yourmodule.tpl
admin/model/module/yourmodule.php (if module needs an sql query)
admin/language/module/youmodule.php (for adding text)

view side

catalog/controller/module/yourmodule.php
catalog/view/theme/yourtheme/template/module/yourmodule.tpl
catalog/language/module/yourmodule.php

follow bestseller module as an example.
admin/model/module/

this folder does not seem to exist in my version, 1.4.9.4

do I have to create one?


Posts

Joined
Wed Apr 27, 2011 6:38 pm

Post by DigitariaGlobal » Mon May 02, 2011 9:46 pm

admin/model/module/

this folder does not seem to exist in my version, 1.4.9.4

do I have to create one?


Posts

Joined
Wed Apr 27, 2011 6:38 pm

Post by ckonig » Mon May 02, 2011 9:48 pm

only if you need to access an sql table on your own. If storing your values in the settings table is sufficient, use the settings model

User avatar
Active Member

Posts

Joined
Wed Feb 16, 2011 4:26 pm
Location - Netherlands
Who is online

Users browsing this forum: Majestic-12 [Bot] and 56 guests