-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
46 changed files
with
964 additions
and
566 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 53 additions & 0 deletions
53
assets/plugins/pagebuilder/config/2col_photo_text.php.sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<?php | ||
|
||
return [ | ||
'title' => 'Two columns: image and text', | ||
|
||
// 'show_in_templates' => [ 4 ], | ||
|
||
// 'show_in_docs' => [ 2 ], | ||
|
||
// 'hide_in_docs' => [ 5 ], | ||
|
||
// 'order' => 1, | ||
|
||
'image' => 'assets/plugins/pagebuilder/images/2col-photo-text.jpg', | ||
|
||
// 'container' => 'default', | ||
|
||
'templates' => [ | ||
'owner' => ' | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-sm-6"> | ||
<img src="[[phpthumb? &input=`[+image+]` &options=`w=540,f=jpg`]]" alt="" class="img-fluid"> | ||
</div> | ||
|
||
<div class="col-sm-6"> | ||
<div class="user-content"> | ||
[+richtext+] | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
', | ||
], | ||
|
||
'fields' => [ | ||
'image' => [ | ||
'caption' => 'Image', | ||
'type' => 'image', | ||
], | ||
|
||
'richtext' => [ | ||
'caption' => 'Text', | ||
'type' => 'richtext', | ||
'default' => '', | ||
'theme' => 'mini', | ||
'options' => [ | ||
'height' => '200px', | ||
], | ||
], | ||
], | ||
]; | ||
|
53 changes: 53 additions & 0 deletions
53
assets/plugins/pagebuilder/config/2col_text_photo.php.sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<?php | ||
|
||
return [ | ||
'title' => 'Two columns: text and image', | ||
|
||
// 'show_in_templates' => [ 4 ], | ||
|
||
// 'show_in_docs' => [ 2 ], | ||
|
||
// 'hide_in_docs' => [ 5 ], | ||
|
||
// 'order' => 1, | ||
|
||
'image' => 'assets/plugins/pagebuilder/images/2col-text-photo.jpg', | ||
|
||
// 'container' => 'default', | ||
|
||
'templates' => [ | ||
'owner' => ' | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-sm-6"> | ||
<div class="user-content"> | ||
[+richtext+] | ||
</div> | ||
</div> | ||
|
||
<div class="col-sm-6"> | ||
<img src="[[phpthumb? &input=`[+image+]` &options=`w=540,f=jpg`]]" alt="" class="img-fluid"> | ||
</div> | ||
</div> | ||
</div> | ||
', | ||
], | ||
|
||
'fields' => [ | ||
'image' => [ | ||
'caption' => 'Image', | ||
'type' => 'image', | ||
], | ||
|
||
'richtext' => [ | ||
'caption' => 'Text', | ||
'type' => 'richtext', | ||
'default' => '', | ||
'theme' => 'mini', | ||
'options' => [ | ||
'height' => '200px', | ||
], | ||
], | ||
], | ||
]; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
assets/plugins/pagebuilder/config/container.samplecontainer.php.sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php | ||
|
||
return [ | ||
'title' => 'Page Builder Container', | ||
|
||
// 'show_in_templates' => [ 3 ], | ||
|
||
// 'show_in_docs' => [ 2 ], | ||
|
||
// 'hide_in_docs' => [ 10, 63 ], | ||
|
||
// 'addType' => 'images', | ||
|
||
'placement' => 'content', | ||
|
||
'templates' => [ | ||
'owner' => ' | ||
<div> | ||
Container: | ||
[+wrap+] | ||
</div> | ||
', | ||
], | ||
]; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?php | ||
|
||
return [ | ||
'title' => 'Image with text', | ||
|
||
// 'show_in_templates' => [ 4 ], | ||
|
||
// 'show_in_docs' => [ 2 ], | ||
|
||
// 'hide_in_docs' => [ 5 ], | ||
|
||
// 'order' => 1, | ||
|
||
'image' => 'assets/plugins/pagebuilder/images/image-title.jpg', | ||
|
||
// 'container' => 'default', | ||
|
||
'templates' => [ | ||
'owner' => ' | ||
<div class="container"> | ||
<img src="[[phpthumb? &input=`[+image+]` &options=`w=1110,f=jpg`]]" alt="" class="img-fluid"> | ||
|
||
<div class="user-content"> | ||
[+richtext+] | ||
</div> | ||
</div> | ||
', | ||
], | ||
|
||
'fields' => [ | ||
'image' => [ | ||
'caption' => 'Image', | ||
'type' => 'image', | ||
], | ||
|
||
'richtext' => [ | ||
'caption' => 'Text', | ||
'type' => 'richtext', | ||
'default' => '', | ||
'theme' => 'mini', | ||
'options' => [ | ||
'height' => '100px', | ||
], | ||
], | ||
], | ||
]; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?php | ||
|
||
return [ | ||
'title' => 'Image', | ||
|
||
// 'show_in_templates' => [ 4 ], | ||
|
||
// 'show_in_docs' => [ 2 ], | ||
|
||
// 'hide_in_docs' => [ 5 ], | ||
|
||
// 'order' => 1, | ||
|
||
'image' => 'assets/plugins/pagebuilder/images/image.jpg', | ||
|
||
// 'container' => 'default', | ||
|
||
'templates' => [ | ||
'owner' => ' | ||
<div class="container"> | ||
<img src="[[phpthumb? &input=`[+image+]` &options=`w=1110,f=jpg`]]" alt="" class="img-fluid"> | ||
</div> | ||
', | ||
], | ||
|
||
'fields' => [ | ||
'image' => [ | ||
'caption' => 'Image', | ||
'type' => 'image', | ||
], | ||
], | ||
]; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?php | ||
|
||
return [ | ||
'title' => 'Text', | ||
|
||
// 'show_in_templates' => [ 4 ], | ||
|
||
// 'show_in_docs' => [ 2 ], | ||
|
||
// 'hide_in_docs' => [ 5 ], | ||
|
||
// 'order' => 1, | ||
|
||
'image' => 'assets/plugins/pagebuilder/images/text.jpg', | ||
|
||
// 'container' => 'default', | ||
|
||
'templates' => [ | ||
'owner' => ' | ||
<div class="container"> | ||
<div class="user-content"> | ||
[+richtext+] | ||
</div> | ||
</div> | ||
', | ||
], | ||
|
||
'fields' => [ | ||
'richtext' => [ | ||
'caption' => 'Text', | ||
'type' => 'richtext', | ||
'default' => '', | ||
'theme' => 'mini', | ||
'options' => [ | ||
'height' => '300px', | ||
], | ||
], | ||
], | ||
]; | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.