Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

How to make Page


Reply

5 Posts   910 Views

Avatar
Webdoc

14 February 2010 at 12:15pm Community Member, 332 Posts

I need to make Online cameras page so i need fields named : Title, Description, Cameraaddress or htmlfield and also imagefield.
It must work like Articlepage And Articleholder. Or something like Video And Videopage but i need fields talken above.

Best if it can be so that i add object lets say X Camera usinng embed code and its gonna be one of the 8 cameras that i can add to page.

Can someone help me with some code
i did it like this - http://silverstripe.org/general-questions/show/278927#post278927
but the code is messy and it dont work.

Avatar
UncleCheese

14 February 2010 at 12:55pm 4085 Posts

What does "it don't work" mean?

Avatar
Webdoc

14 February 2010 at 4:39pm (Last edited: 14 February 2010 7:56pm), Community Member, 332 Posts

The Pages are working but i wanna use the has many in pages where i can paste the video player embed code

u can see my demo here - http://www.chillweb.eu/interactivezoo/
@ moment the video stuff is added manuali.

http://www.chillweb.eu/interactivezoo/elevandid-holderiga/
Here its using holder and page but in cms i add iframe aadress for already made .html pages

i hope there is a way to do the page so that i have posibility to make the content for iframe.

Avatar
Webdoc

15 February 2010 at 3:45pm (Last edited: 15 February 2010 3:52pm), Community Member, 332 Posts

But if i install the Dataobjectmanager and SWFUpload the page brakes.

I cant use the holder and Pagetype

I have the files attached

Some fields are translated to local so i tell u what is what

Pikkus = Width
Korgus = Height
Video = The address on .html file what haves the embed camera code
Pilt = Image
Pealkiri = Camera Name

Every camera need only one Image.

Avatar
Webdoc

16 February 2010 at 12:42pm Community Member, 332 Posts

One question about the http://doc.silverstripe.org/doku.php?id=tutorial:5-dataobject-relationship-management tutorial
Is there needed also do install the dataobjectmanager and SWFupload.
Or it works without them.