Silverstripe CSS layout using Page Elements

Added by Anonymous over 1 year ago

Questions:
a) Compare CSS layout using PageElements wrt to other methods to give a quick idea why use Page Elements


Replies (5)

RE: Silverstripe CSS layout using Page Elements - Added by Anonymous over 1 year ago

Please see the attached picture

PageElement1.jpg - PageElement samples needed (32.8 kB)

RE: Silverstripe CSS layout using Page Elements - Added by Anonymous over 1 year ago

Using latest SvStripe 2.4.2 version
SVN latest install as page_element folder

GridPage_fancypants.ss template
<div class=”Content”>
<div class=”Top”>
$Slot(Top)
</div>
<div class=”Columns”>
<div class=”ColumnRight”>
$Slot(Right)
</div>
<div class=”ColumnLeft”>
$Slot(Left)
</div>
</div>

The icons are all missing

PageElement2.jpg (31.4 kB)

RE: Silverstripe CSS layout using Page Elements - Added by Anonymous over 1 year ago

Click popup does not return back to CMS

No more drag and drop

SVN version is not compatible with silverstripe 2.4.2??

PageElement4.jpg (6.8 kB)

RE: Silverstripe CSS layout using Page Elements - Added by Tim Klein over 1 year ago

ok it is important that you install elements in the SSROOT/page-elements/ folder for it to work (as every SS module)
(this will fix the icons and the javascript dependencies

I will supply more templates / include some examples in the release

thanks!

RE: Silverstripe CSS layout using Page Elements - Added by Tim Klein over 1 year ago

okay,

I added some example girdpage layout in r166 currently only in svn trunk.

this will be included in the soon 2.1 release

see file attached

(1-5/5)