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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, Ed, biapar, Willr, Ingo, swaiba

Banners/Headers image


Go to End


2 Posts   1824 Views

Avatar
biapar

Forum Moderator, 435 Posts

25 June 2009 at 7:36pm

Hi,

How can I build a banner/header rotation. I wish to add at home page 3-4 image field type to upload image, but I have only page type. If I use normal page type then I've this fields in every page, but empty and I can not upload the same images in every fields.
How Can refer that Home page fields in sub pages?
Thank you

Avatar
Willr

Forum Moderator, 5523 Posts

25 June 2009 at 8:14pm

If I use normal page type then I've this fields in every page, but empty and I can not upload the same images in every fields.
How Can refer that Home page fields in sub pages?

Yes if you have image uploads on the homepage you can do

<% control Page(home) %>
 ... now you have anything the homepage has
<% end_control %>