Design Technologies and Creating Theme: Difference between revisions

From osCommerce Wiki
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
 
Line 1: Line 1:
{{#seo:|title=Design Technologies and Creating Theme}}
{{#seo:|description=This page describes design technologies and the process of creating theme on the osCommerce version 4.x website. }}
{{#seo:|keywords=Design, Technology, Create, Theme}}
'''Note: This manual is for osCommerce v4.'''
'''Note: This manual is for osCommerce v4.'''


<h2>'''Technologies''':</h2>
'''Technologies''':


<h3>- css</h3>
- css


<h3>- html</h3>
- html


<h3>- ajax</h3>
- ajax


<h3>- jQuery</h3>
- jQuery


<h3>- smarty</h3>
- smarty


<h4>In Trueloaded the data connected with the design is kept in the database. CSS and jQuery are cached and while saving the theme CSS and jQuery are automatically updated. Also only those CSS and jQuery that are used on the page are downloaded to the page.  
In Trueloaded the data connected with the design is kept in the database. CSS and jQuery are cached and while saving the theme CSS and jQuery are automatically updated. Also only those CSS and jQuery that are used on the page are downloaded to the page.  


In CSS and jQuery there is version accounting for caching.  
In CSS and jQuery there is version accounting for caching.  
Line 22: Line 19:
All CSS and jQuery changes can be seen under Log tab in the designer.
All CSS and jQuery changes can be seen under Log tab in the designer.
[[File:Image 621.png|none|frame]]
[[File:Image 621.png|none|frame]]
The theme is fully set up based on the widgets. Each widget has its styles and settings.</h4>
The theme is fully set up based on the widgets. Each widget has its styles and settings.  
[[File:Image 622.png|none|frame]]
[[File:Image 622.png|none|frame]]
<h2>'''Creating the theme'''</h2>
'''Creating the theme'''


<h4>Go to the admin area. In the left hand menu choose Design and CMS, then Themes.
Go to the admin area. In the left hand menu choose Design and CMS, then Themes.


Then click on Add Theme button.  
Then click on Add Theme button.  
[[File:Image 623.png|none|frame]]
[[File:Image 623.png|none|frame]]
It is possible to create the theme copying the current theme or creating the blank theme. Also it is possible to download the theme.</h4>
It is possible to create the theme copying the current theme or creating the blank theme. Also it is possible to download the theme.  
[[File:Image 624.png|none|frame]]
[[File:Image 624.png|none|frame]]
<h2>'''Working with widgets'''</h2>
'''Working with widgets'''


<h4>There is the list of widgets in the theme. The template page is divided into three sections: header, content and footer.
There is the list of widgets in the theme. The template page is divided into three sections: header, content and footer.


To add a widget point your mouse cursor to the required place for pop-up button Add Widget to show. Then choose the required widget from the widget list.</h4>
To add a widget point your mouse cursor to the required place for pop-up button Add Widget to show. Then choose the required widget from the widget list.


<h2>'''The first widget Block'''</h2>
'''The first widget Block'''


<h4>With the help of this widget the page layout is made. The system automatically generates the page layout. In the widget Block you can choose the number of columns.
With the help of this widget the page layout is made. The system automatically generates the page layout. In the widget Block you can choose the number of columns.
[[File:Image 625.png|none|frame]]
[[File:Image 625.png|none|frame]]
In the system there are a lot of widgets set up by default.</h4>
In the system there are a lot of widgets set up by default.  
[[File:Image 626.png|none|frame]]
[[File:Image 626.png|none|frame]]
<h2>'''Working with banners'''</h2>
'''Working with banners'''


<h4>To add a banner go to Marketing tools -> Banner Manager.
To add a banner go to Marketing tools -> Banner Manager.


Then click on New Banner button. Switch it on under Sales channels tab for the required platform. Then create the new banner group.
Then click on New Banner button. Switch it on under Sales channels tab for the required platform. Then create the new banner group.
Line 52: Line 49:
Under Name and description tab fill in the data and upload the image.
Under Name and description tab fill in the data and upload the image.
[[File:Image 628.png|none|frame]]
[[File:Image 628.png|none|frame]]
Then go to your theme and add the widget banner. Then point your mouse cursor to it and click on Edit. In the pop-up window choose the required banner group and add your settings.</h4>
Then go to your theme and add the widget banner. Then point your mouse cursor to it and click on Edit. In the pop-up window choose the required banner group and add your settings.
[[File:Image 629.png|none|frame]]
[[File:Image 629.png|none|frame]]
<h2>'''Working with menu'''</h2>
'''Working with menu'''


<h4>To add the menu create it under Design and CMS -> Menus tabs.
To add the menu create it under Design and CMS -> Menus tabs.


Then click on Create menu and in the pop up window fill in the menu name. Then drag and drop the required menu points from the left to the right column and click on Save button.
Then click on Create menu and in the pop up window fill in the menu name. Then drag and drop the required menu points from the left to the right column and click on Save button.
Line 62: Line 59:
Then go to your theme and add the menu widget. Then point your mouse cursor to it and click on Edit.
Then go to your theme and add the menu widget. Then point your mouse cursor to it and click on Edit.


In the pop-up window choose your menu. Also you can add your settings to the widget.</h4>
In the pop-up window choose your menu. Also you can add your settings to the widget.
[[File:Image 630.png|none|frame]]
[[File:Image 630.png|none|frame]]
<h2>'''Working with CSS and jQuery'''</h2>
'''Working with CSS and jQuery'''


<h4>In the designer you can add styles and scripts via the admin area.
In the designer you can add styles and scripts via the admin area.
[[File:Image 631.png|none|frame]]
[[File:Image 631.png|none|frame]]
Under the tab CSS you can find the drop down tool, where the styles are arranged according to widgets. You can also add the new class for a widget.
Under the tab CSS you can find the drop down tool, where the styles are arranged according to widgets. You can also add the new class for a widget.
Line 78: Line 75:
console.log(‘Hello’);
console.log(‘Hello’);


}</h4>
}

Latest revision as of 16:30, 24 February 2023

Note: This manual is for osCommerce v4.

Technologies:

- css

- html

- ajax

- jQuery

- smarty

In Trueloaded the data connected with the design is kept in the database. CSS and jQuery are cached and while saving the theme CSS and jQuery are automatically updated. Also only those CSS and jQuery that are used on the page are downloaded to the page.

In CSS and jQuery there is version accounting for caching.

All CSS and jQuery changes can be seen under Log tab in the designer.

Image 621.png

The theme is fully set up based on the widgets. Each widget has its styles and settings.

Image 622.png

Creating the theme

Go to the admin area. In the left hand menu choose Design and CMS, then Themes.

Then click on Add Theme button.

Image 623.png

It is possible to create the theme copying the current theme or creating the blank theme. Also it is possible to download the theme.

Image 624.png

Working with widgets

There is the list of widgets in the theme. The template page is divided into three sections: header, content and footer.

To add a widget point your mouse cursor to the required place for pop-up button Add Widget to show. Then choose the required widget from the widget list.

The first widget Block

With the help of this widget the page layout is made. The system automatically generates the page layout. In the widget Block you can choose the number of columns.

Image 625.png

In the system there are a lot of widgets set up by default.

Image 626.png

Working with banners

To add a banner go to Marketing tools -> Banner Manager.

Then click on New Banner button. Switch it on under Sales channels tab for the required platform. Then create the new banner group.

Image 627.png

Under Name and description tab fill in the data and upload the image.

Image 628.png

Then go to your theme and add the widget banner. Then point your mouse cursor to it and click on Edit. In the pop-up window choose the required banner group and add your settings.

Image 629.png

Working with menu

To add the menu create it under Design and CMS -> Menus tabs.

Then click on Create menu and in the pop up window fill in the menu name. Then drag and drop the required menu points from the left to the right column and click on Save button.

Then go to your theme and add the menu widget. Then point your mouse cursor to it and click on Edit.

In the pop-up window choose your menu. Also you can add your settings to the widget.

Image 630.png

Working with CSS and jQuery

In the designer you can add styles and scripts via the admin area.

Image 631.png

Under the tab CSS you can find the drop down tool, where the styles are arranged according to widgets. You can also add the new class for a widget.

Image 632.png

Under the tab js you need to use the function tl() and add your code within it.

Image 633.png

For example

tl (){

console.log(‘Hello’);

}