7913 Posts in 1355 Topics by 930 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » Video and ImageGallery in other page types
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 304 Views |
-
Video and ImageGallery in other page types

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 ?
| 304 Views | ||
|
Page:
1
|
Go to Top |

