Close   

Admin and announcement forums

    30 Mar 2008
structure of oscommerce  
kumar rakesh
create and manage free online surveys with unlimited responses
Online surveys are now basic requirement of everyone who want to review there products or to make studies about anything. But finding a solution who can provide esurveys efficiently is really a big pain. creating an online survey with inefficient tool as irritating and getting survey conducted with limitations on responses is even worse.
cont..
    30 Mar 2008
structure of oscommerce  
kumar rakesh
practice interviews and prepare for interviews
in todays changing world every one want to increase there salaries very quickly.
Changes your employer is an very efficient solution for this. But changing employer and company is not so easy.

cont..

Viewed 9 times
Total posts : 0

    01 Nov 2008
structure of oscommerce  
kumar rakesh
His other forums
structure of oscommerce
Recently one of my clients asked me to make an os commerce website.
I decided to make it from open source cms oscommerce. It's easy to use and make changes in this package, but you need to understand the basics of this package and flow of scripts in the package.
It took me some time to collect all this information. I think it will be useful for everyone who is using oscommerce first time.

So, here's the files location and what is required to change to add new links and where to change to make any change.

OsCommerce

 

Structure of oscommerce

 

Oscommerce

            Catalog

                        Includes (DIR_WS_INCLUDES)

                                    Boxes (DIR_WS_BOXES)

                                                Here the file contains are to create boxes. These files will be called in column files to make any box. To create box in limits of columns you have to make object of  infobox  between <tr><td></td></tr> and if you want them to be free from these limits just don’t include these tr and td. For example let’s examine categories.php. this file will produce a box on left displaying categories navigation. So, all the logic for this goes in to this file. Box is produced by “new infobox ($info_box_contents)”. $info_box_contents is an array containing all the definitions headings, listings and data to display in to categories box.

If you don’t want to display heading of the box just comment the line creating object for heading  new infoBoxHeading($info_box_contents, true, false)”. To use any headings/titles you have to define them in includes/languages/English.php. after that you can use them here.

 

                                    Classes (DIR_WS_CLASSES)

                                    Functions (DIR_WS_FUNCTIONS)

                                    Languages (DIR_WS_LANGUAGES)

                                                English

                                                            Images

                                                            Modules

                                                            Files…

                                                English.php : This file contains variable definitions for localization. i.e. here you will define headings/titles and other text to be displayed statically according to different languages. So English.php will contain headings/titles in English.

                                    Local

                                    Modules

                                    Application_top.php :: this file contains all the security checkups and error configurations

                                    Configure.php :: this file contains server configuration  variables. It contains all the path variables.

                                    Filenames.php :: this file contains file names defined in variables.

                                    Database_tables.php :: this file contains variable definitions for table names in database.

                                    Files….

                        Ext

                        Images (DIR_WS_IMAGES)

                        Admin

                        Index.php : this file is the default template file which opens up on start of the project. It includes left/right/top/bottom files and content for middle section. So, if you don’t want any section on home page, you can remove them from here. Do remember to remove place holders of the left/right/top/bottom sections if you want to remove them completely.

                        Column_left.php : this file is configured to display different boxes on left panel. It is the default left column file. You can configure it to include or remove boxes from left panel

Column_right.php : .

                        Files….

 

 

 

 

 

 

 

 

Scripts used for different processing

 

Boxes :

            You need to change in these files for managing a box.

1.      /catalog/includes/column_left.php

2.      /catalog/includes/languages/English.php

3.      /catalog/includes/boxes/box_file.php (your file)

 

Main file

            These files need to change/create to make a file to display in main area of the page.

1.      /catalog/your_file.php

a.      this file is the main template file which will render your page. You can add or remove any section from the page from this file.

2.      /catalog/includes/languages/English/your_file.php

a.      this file has the same name as main file name. This file contains variable definitions that can be used in the main file.

 

3.      /catalog/includes/languages/English.php

4.      /catalog/includes/filenames.php

a.      this file contains filenames defined as static variable. So, if we’ve to change names of files we can change by only changing at only one location



I hope this document will help you other then vailable documents on inte
structure of oscommerce structure of oscommerce
structure of oscommerce Be first to reply this discussion.
structure of oscommerce structure of oscommerce structure of oscommerce

Login to participate in forums
jump to :
Post reply on this forum

Comment on this forum
Name :
Email :
Comments :
Legends
structure of oscommerce Forums tagged structure of oscommerce Forums tagged. But locked for further reply
="structure Forums locked. can not accept further replies structure of oscommerce General forum