7913 Posts in 1355 Topics by 930 members
|Go to End|
20 July 2011 at 2:04am Last edited: 20 July 2011 2:07am
Hi ! Could anyone point me out, how to get Video and ImageGallery (or any other module) in Page type?
Every website simply needs these functions nowadays...
UncleCheese suggested to move the code to Page class, source here: http://www.silverstripe.org/dataobjectmanager-module-forum/show/10839?start=24#post305229
I tried to move, but had no luck.
What I did is moving the contents of Model and Controller in PHP-file of the Gallery/Video to the respective M. and C. of the Page.php. Then correcting the View (page.ss).
What I did wrong ?
|Go to Top|