Skip to content

Commit 5615636

Browse files
Astroid 1.1.0 Updates
As dicussed changes has been Updated
1 parent 72e2519 commit 5615636

File tree

33 files changed

+352
-1083
lines changed

33 files changed

+352
-1083
lines changed

README.md

Lines changed: 32 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
# Introduction
1010
In this tutorial, we will be installing the template using Upload Feature in your Joomla Administration Control Panel.
1111
12-
Be sure you have downloaded the template are and logged into Joomla Administrator Control Panel.
12+
Be sure you have downloaded the template, and logged into Joomla Administrator Control Panel.
1313
1414
Navigate to `Extensions >> Manage >> Install`
1515
1616
# Installation
1717
18-
On the following screen, click the `browse for file` button and select the download files `astroid_vxxx.zip`, Joomla will automatically start the upload and & continue with the installation after selection of a valid zip file.
18+
In order to Install, click the `browse for file` button and select the download files `astroid_vxxx.zip`, Joomla will automatically start the upload and & continue with the installation after selection of a valid zip file.
1919
2020
After installation, you will screen a screen such as following with the success notification.
2121
@@ -81,10 +81,10 @@ Background Attachment | Fixed | Set the background image attachment style: `Scro
8181
## Header
8282
Header section combines with the options such as logo, mega menu, mobile menu & off canvas menu etc that will appear at the top of each page when displayed. Disabling the header would disable all header options.
8383
84-
#### Header Module Position
84+
### Header Module Position
8585
Here you can select a suitable module position where you want to display header.
8686
87-
#### Header Mode
87+
### Header Mode
8888
You can select from 6 different header types, the header layouts provide a visual representation of what your header on the frontend would look like.
8989
9090
1. **Horizontal layout** provides 3 different layouts with logo being on the left & mega menu being on the `left`, `center` or `right`. You also have an option to publish a block on the right that can either be a module position or custom HTML.
@@ -97,22 +97,22 @@ You can select from 6 different header types, the header layouts provide a visua
9797
9898
* **Stacked Divided:** This layout provides you with logo & menu on the left (on top of each other) with option to publish 2 blocks on the right, next to menu and/or the logo.
9999
100-
#### Header Blocks
100+
### Header Blocks
101101
Header blocks are positions that let you publish content inside the header. Based on the layout selected you may see 1 or 2 blocks. You can either directly publish HTML in each block or select a module position of your choice and publish modules to the selected position.
102102
103-
#### Mega Menu
103+
### Mega Menu
104104
You can select from the dropdown list which menu you’d like to publish as your main menu.
105105
106-
#### Mobile Menu
106+
### Mobile Menu
107107
You can select from the dropdown list which menu you’d like to publish as your main menu on mobile.
108108
109-
#### Dropdown Animation
109+
### Dropdown Animation
110110
This options decides the animation that will be used for displaying the dropdown menu.
111111
112112
### Logo Options
113113
You can select a logo for desktop view, mobile view and sticky header.
114114
115-
#### Logo Type
115+
### Logo Type
116116
Logo type gives an option to set the image for logo or the logo text.
117117
118118
* Text Logo Settings - You can enter the text for the logo and an optional tagline as well.
@@ -123,9 +123,8 @@ A sticky header is a menu or navigation bar that stays at the top of the page no
123123
You can enable or disable the sticky header option, By enabling the option the header will stick to the top when you reach its scroll position.
124124
125125
There are 2 different ways you can show the sticky header
126-
*Sticky: A Sticky or Fixed header appears when a page is scrolled down.
127-
*Sticky on Scroll up: Sticky Header only appears when scrolled up to the page.
128-
126+
* Sticky: A Sticky or Fixed header appears when a page is scrolled down.
127+
* Sticky on Scroll up: Sticky Header only appears when scrolled up to the page.
129128
130129
Option | Default | Description
131130
------------------ | ------- | -----------
@@ -234,14 +233,14 @@ Layout manager provides the ability to build flexible layout from the collection
234233
235234
![layout](https://raw.githubusercontent.com/hiteshaggarwal/Astroid-Documentation/master/source/images/Layout.png)
236235
237-
#### Layout Structure
236+
### Layout Structure
238237
239238
* Layout includes a responsive, mobile first fluid grid system that appropriately scales up to 12 columns as the device or viewport size increases. You can select the desired number of columns from the predefined columns grid.
240239
241240
* Icon with arrows allows you to change positions of rows by moving them up or down. Use plus icon to add new Row, then select column structure and insert module position(s) accordingly.
242241
* Sections, rows and elements can be added, edited, copied and deleted directly in the layout manager.
243242
244-
#### Managing Layout
243+
### Managing Layout
245244
In the layout particular section can be edited, drag drop, copy, new section can be added and new row with in the section can also be added. Also we can edit, delete and copy particular column.
246245
247246
* Drag and Drop: Click on Drag icon to Drag and Drop rows/columns to arrange your layout.
@@ -253,22 +252,23 @@ In the layout particular section can be edited, drag drop, copy, new section can
253252
254253
![editoptions](https://raw.githubusercontent.com/hiteshaggarwal/Astroid-Documentation/master/source/images/LayoutOptions.png)
255254
256-
#### Element
255+
### Element
257256
New elements can be created by clicking the Add icon that appears in bottom-center when hovering the element.
258257
259258
Following are the elements within this section:
260259
* Module Position
261260
* Component Area
262261
* Messages
263262
264-
`If we already added component area and messages before than we are not able to add them again`
263+
`If we already added component area and messages before than we are not able to add them again`<br />
264+
`Add messages element to display errors, warnings and notices, if you won't add it you won't be able to see the notifications messages.`
265265
266-
#### Section
266+
### Section
267267
We can add new section by clicking on the add new section option given with in the row level options or we can also add new section by clicking on add section button.
268268
269269
![editoptions](https://raw.githubusercontent.com/hiteshaggarwal/Astroid-Documentation/master/source/images/NewSections.png)
270270
271-
#### Edit Options of Element and Section
271+
### Edit Options of Element and Section
272272
Elements and section both have same edit options i.e General settings , Design Settings , Responsive settings , Animation Settings
273273
274274
* **Position Settings:** In this we can set position of the modules.
@@ -506,9 +506,9 @@ Here we can add Custom CSS , Custom Javascript
506506
507507
Option | Default | Description
508508
------- | ----------- | -----------
509-
Tracking Code | none |
510-
Space Before `</head>` | none
511-
Space before `</body>`| none
509+
Tracking Code | none | A tracking code is a snippet of JavaScript code that tracks the activity of a website user by collecting data and sending it to the analytics module.
510+
Space Before `</head>` | none | For the javascript before `</head>`
511+
Space before `</body>`| none | For the javascript before `</body>`
512512
Custom CSS | none | Here you can add custom CSS to add your own styles or overwrite default CSS, Wrapped within `<style>` tags.
513513
Custom JS | none | Here you can add custom javascript code here, Wrapped within `<script>` tags.
514514
@@ -522,10 +522,10 @@ In this section we have :
522522
* **Module Position :** Select a suitable module position where you want to display this feature.
523523
* **Social Load Position :** If there are other module(s) published to this module position, you can select weather the content of this feature should be displayed below the or after the module(s) published to this position.
524524
* **Style :** Choose the style how you want to show Social profile on your site , default value is Inherit color.
525-
In style we have 2 Options to style our social icons:
525+
In style we have 2 Options to style our social icons:
526526
1. Inherit color.
527527
2. Brand color.
528-
* In this section we have in all 19 types of Social Profiles :
528+
In this section we have in all 19 types of Social Profiles :
529529
1. Facebook
530530
2. Instagram
531531
3. Youtube
@@ -611,7 +611,7 @@ Option | Default | Description
611611
------- | ----------- | -----------
612612
Favicon image | none | Select an icon for a favicon, also known as a shortcut icon, website icon, tab icon, URL icon, or bookmark icon.
613613
614-
![misfavicon](https://raw.githubusercontent.com/hiteshaggarwal/Astroid-Documentation/master/source/images/MisFavicon.png)
614+
![megamenu](https://raw.githubusercontent.com/hiteshaggarwal/Astroid-Documentation/master/source/images/MisFavicon.png)
615615
616616
## Mega Menu
617617
A mega menu is defined as a drop down interface that is triggered by the user hovering over a link or defined area. This dropdown usually shows all options in one main, mega-panel and oftentimes groups related topics into categories. In this section you can configure menu options.
@@ -620,6 +620,8 @@ A mega menu is defined as a drop down interface that is triggered by the user ho
620620
621621
* By default Mega Menu option is disable, you can set icon, subtitle, custom class, width and dropdown Alignment for your dropdown menu.
622622
623+
![megamenu](https://raw.githubusercontent.com/hiteshaggarwal/Astroid-Documentation/master/source/images/Megamenu.png)
624+
623625
Option | Description
624626
------- | -----------
625627
Dropdown Alignment | allows you choose align (left/right/centre) dropdown position.
@@ -631,6 +633,8 @@ Custom CSS Class | allows you to add Custom CSS Class(es) to the menu item.
631633
632634
* By enabling Mega Menu you can easily create and customize Mega Menu with sub menu items and modules, offers you different layouts with drag and drop menu building system. Each menu item contains Astroid Menu Options which provides ability to add rows, columns, links and more to a mega menu.
633635
636+
![megamenu](https://raw.githubusercontent.com/hiteshaggarwal/Astroid-Documentation/master/source/images/Megamenu-enable.png)
637+
634638
Option | Description
635639
------- | -----------
636640
Dropdown Direction | allows you choose align (left/right/centre/full) dropdown position.
@@ -763,7 +767,7 @@ Input Values:
763767
Name | Default value | Type | Description
764768
------- | ----------- | -------- |---------
765769
font-face | Arial | STRING | font-face can be Arial, Times New Roman, Verdana and Trebuchet and other’s can be possible
766-
alt-font-face | Abel | STRING |
770+
alt-font-face | Abel | STRING | If the browser does not support the first font family, it tries the Alternate font family.
767771
font-color | White | STRING | Font-color can be Hex , RGB or RGBA
768772
font-size | 1 | INT | font-size property sets the size of a font
769773
font-unit | em | STRING | font-unit can be px , em pt , ex etc
@@ -894,6 +898,8 @@ The menu form field type provides a drop down list of the available menus from y
894898
```
895899
Input Values:
896900
901+
Value | Description | Required
902+
------- | ----------- | -----------
897903
Name | Description | Required
898904
type | This is mandatory and must be menu | yes
899905
name | This is the unique name of the field | yes
@@ -918,4 +924,4 @@ You can use the Custom CSS to customize the appearance.
918924
919925
```xml
920926
<field code="javascript" name="customjs" type="textarea" label="Label goes here" description="Description goes here"></field>
921-
```
927+
```

astroid/astroid-framework/framework/elements/default.xml

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -2,57 +2,57 @@
22
<element>
33
<form>
44
<fields>
5-
<fieldset name="general-settings" label="General Settings" addfieldpath="/libraries/astroid/framework/fields">
6-
<field type="astroidtext" class="form-control" label="Element Title" name="title"></field>
7-
<field type="astroidtext" class="form-control" label="Custom Class" name="customclass"></field>
8-
<field type="astroidtext" class="form-control" label="Custom ID" name="customid"></field>
5+
<fieldset name="general-settings" label="ASTROID_ELEMENT_HEAD_GENERAL_SEETINGS_LABEL" addfieldpath="/libraries/astroid/framework/fields">
6+
<field type="astroidtext" class="form-control" label="ASTROID_ELEMENT_TITLE_LABEL" name="title"></field>
7+
<field type="astroidtext" class="form-control" label="ASTROID_ELEMENT_CUSTOM_CLASS_LABEL" name="customclass"></field>
8+
<field type="astroidtext" class="form-control" label="ASTROID_ELEMENT_CUSTOM_ID_LABEL" name="customid"></field>
99
</fieldset>
10-
<fieldset name="design-settings" label="Design Settings" addfieldpath="/libraries/astroid/framework/fields">
11-
<field description="" name="background_settings" type="astroidheading" title="Background Options" />
12-
<field description="" name="background" type="astroidtext" astroid-switch="true" default="0" label="Custom Background" />
10+
<fieldset name="design-settings" label="ASTROID_ELEMENT_HEAD_DESIGN_SEETINGS_LABEL" addfieldpath="/libraries/astroid/framework/fields">
11+
<field description="" name="background_settings" type="astroidheading" title="ASTROID_ELEMENT_HEAD_BACKGROUND_OPTIONS_LABEL" />
12+
<field description="" name="background" type="astroidtext" astroid-switch="true" default="0" label="ASTROID_ELEMENT_CUSTOM_BACKGROUND_LABEL" />
1313

1414
<field ngShow="background" description="ASTROID_ELEMNT_COLOR_PICKER_DESC" name="background_color" type="astroidcolor" default="" label="ASTROID_ELEMNT_COLOR_PICKER_LABEL" />
1515

16-
<field ngShow="background" name="background_image" type="astroidmedia" label="Background Image" description="ASTROID_ELEMNT_FILE_MANAGER_DESC"/>
16+
<field ngShow="background" name="background_image" type="astroidmedia" label="ASTROID_ELEMNT_FILE_MANAGER_LABEL" description="ASTROID_ELEMNT_FILE_MANAGER_DESC"/>
1717

1818
<field ngShow="background" description="" name="background_repeat" type="astroidlist" default="" label="ASTROID_ELEMNT_ELEMENT_BACK_REPEAT_LABEL" hint="Background Repeat">
19-
<option value="">Inherit</option>
20-
<option value="no-repeat">No Repeat</option>
21-
<option value="repeat-x">Repeat horizontally</option>
22-
<option value="repeat-y">Repeat Vertical</option>
19+
<option value="">ASTROID_ELEMNT_ELEMENT_BACK_REPEAT_OPTIONS_INHERIT</option>
20+
<option value="no-repeat">ASTROID_ELEMNT_ELEMENT_BACK_REPEAT_OPTIONS_NO_REPEAT</option>
21+
<option value="repeat-x">ASTROID_ELEMNT_ELEMENT_BACK_REPEAT_OPTIONS_REPEAT_HORIZONTALLY</option>
22+
<option value="repeat-y">ASTROID_ELEMNT_ELEMENT_BACK_REPEAT_OPTIONS_REPEAT_VERTICAL</option>
2323
</field>
2424
<field ngShow="background" description="" name="background_size" type="astroidlist" default="" label="ASTROID_ELEMNT_ELEMENT_BACK_SIZE_LABEL">
25-
<option value="">Inherit</option>
26-
<option value="cover">Cover</option>
27-
<option value="contain">Contain</option>
25+
<option value="">ASTROID_ELEMNT_ELEMENT_BACK_SIZE_LABEL_OPTIONS_INHERI</option>
26+
<option value="cover">ASTROID_ELEMNT_ELEMENT_BACK_SIZE_LABEL_OPTIONS_COVER</option>
27+
<option value="contain">ASTROID_ELEMNT_ELEMENT_BACK_SIZE_LABEL_OPTIONS_CANTAIN</option>
2828
</field>
2929
<field ngShow="background" description="" name="background_attchment" type="astroidlist" default="" label="ASTROID_ELEMNT_ELEMENT_BACK_ATTCHMENT_LABEL">
30-
<option value="">Inherit</option>
31-
<option value="scroll">Scroll</option>
32-
<option value="fixed">Fixed</option>
30+
<option value="">ASTROID_ELEMNT_ELEMENT_BACK_ATTCHMENT_OPTIONS_INHERIT</option>
31+
<option value="scroll">ASTROID_ELEMNT_ELEMENT_BACK_ATTCHMENT_OPTIONS_SCROLL</option>
32+
<option value="fixed">ASTROID_ELEMNT_ELEMENT_BACK_ATTCHMENT_OPTIONS_FIXED</option>
3333
</field>
3434
<field ngShow="background" description="" name="background_position" type="astroidlist" default="" label="ASTROID_ELEMNT_ELEMENT_BACK_POSITION_LABEL">
35-
<option value="">Inherit</option>
36-
<option value="left top">Left Top</option>
37-
<option value="left center">Left Center</option>
38-
<option value="left bottom">Left Bottom</option>
39-
<option value="right top">Right Top</option>
40-
<option value="right center">Right Center</option>
41-
<option value="right bottom">Right Bottom</option>
42-
<option value="center top">Center Top</option>
43-
<option value="center center">Center Center</option>
44-
<option value="center bottom">Center Bottom</option>
35+
<option value="">ASTROID_BASIC_BACKGROUND_POSITION_OPTIONS_INHERIT</option>
36+
<option value="left top">ASTROID_BASIC_BACKGROUND_POSITION_OPTIONS_LEFT_TOP</option>
37+
<option value="left center">ASTROID_BASIC_BACKGROUND_POSITION_OPTIONS_LEFT_CENTER</option>
38+
<option value="left bottom">ASTROID_BASIC_BACKGROUND_POSITION_OPTIONS_LEFT_BOTTOM</option>
39+
<option value="right top">ASTROID_BASIC_BACKGROUND_POSITION_OPTIONS_RIGHT_TOP</option>
40+
<option value="right center">ASTROID_BASIC_BACKGROUND_POSITION_OPTIONS_RIGHT_CENTER</option>
41+
<option value="right bottom">ASTROID_BASIC_BACKGROUND_POSITION_OPTIONS_RIGHT_BOTTOM</option>
42+
<option value="center top">ASTROID_BASIC_BACKGROUND_POSITION_OPTIONS_CENTER_TOP</option>
43+
<option value="center center">ASTROID_BASIC_BACKGROUND_POSITION_OPTIONS_CENTER_CENTER</option>
44+
<option value="center bottom">ASTROID_BASIC_BACKGROUND_POSITION_OPTIONS_CENTER_BOTTOM</option>
4545
</field>
4646
<field ngShow="background" name="background_video" type="astroidmedia" media="videos" label="ASTROID_BACKGROUND_VIDEO_LABEL" description="ASTROID_BACKGROUND_VIDEO_DESC"/>
47-
<field name="animation" type="astroidanimations" label="Animation" ></field>
47+
<field name="animation" type="astroidanimations" label="ASTROID_BACKGROUND_ANIMATION_LABEL" ></field>
4848
</fieldset>
49-
<fieldset name="responsive-settings" label="Responsive Settings" addfieldpath="/libraries/astroid/framework/fields">
50-
<field description="" name="device_settings" type="astroidheading" title="Device Visibility" />
51-
<field description="TPL_ASTROID_EXTRA_SMALL_DEVICES_DESC" name="hideonxs" type="astroidtext" astroid-switch="true" default="0" label="Hide on Extra-Small Devices" />
52-
<field description="TPL_ASTROID_SMALL_DEVICES_DESC" name="hideonsm" type="astroidtext" astroid-switch="true" default="0" label="Hide on Small Devices" />
53-
<field description="TPL_ASTROID_MEDIUM_DEVICES_DESC" name="hideonmd" type="astroidtext" astroid-switch="true" default="0" label="Hide on Medium Devices" />
54-
<field description="TPL_ASTROID_LARGE_DEVICES_DESC" name="hideonlg" type="astroidtext" astroid-switch="true" default="0" label="Hide on Large Devices" />
55-
<field description="TPL_ASTROID_EXTRA_LARGE_DEVICES_DESC" name="hideonxl" type="astroidtext" astroid-switch="true" default="0" label="Hide on Extra-Large Devices" />
49+
<fieldset name="responsive-settings" label="ASTROID_ELEMENT_HEAD_RESPONSIVE_SEETINGS_LABEL" addfieldpath="/libraries/astroid/framework/fields">
50+
<field description="" name="device_settings" type="astroidheading" title="ASTROID_ELEMENT_HEAD_DEVICE_VISIBILITY_LABEL" />
51+
<field description="TPL_ASTROID_EXTRA_SMALL_DEVICES_DESC" name="hideonxs" type="astroidtext" astroid-switch="true" default="0" label="TPL_ASTROID_EXTRA_SMALL_DEVICES_LABEL" />
52+
<field description="TPL_ASTROID_SMALL_DEVICES_DESC" name="hideonsm" type="astroidtext" astroid-switch="true" default="0" label="TPL_ASTROID_SMALL_DEVICES_LABEL" />
53+
<field description="TPL_ASTROID_MEDIUM_DEVICES_DESC" name="hideonmd" type="astroidtext" astroid-switch="true" default="0" label="TPL_ASTROID_MEDIUM_DEVICES_DESC" />
54+
<field description="TPL_ASTROID_LARGE_DEVICES_DESC" name="hideonlg" type="astroidtext" astroid-switch="true" default="0" label="TPL_ASTROID_LARGE_DEVICES_LABEL" />
55+
<field description="TPL_ASTROID_EXTRA_LARGE_DEVICES_DESC" name="hideonxl" type="astroidtext" astroid-switch="true" default="0" label="TPL_ASTROID_EXTRA_LARGE_DEVICES_LABEL" />
5656
</fieldset>
5757
</fields>
5858
</form>

0 commit comments

Comments
 (0)