7935 Posts in 1536 Topics by 943 members
|Go to End||Next >|
1 December 2009 at 1:34pm
Customize in what way?
1 December 2009 at 8:33pm Last edited: 3 December 2009 7:15am
Good Morning UncleCheese,
With customizing i want to know where to change the format of the snippet. Now it's an unsorted list. I want to display a previewImage, some Text-link and a rating-image.
2 December 2009 at 2:40am
Make sure the root directory of ImageGallery is named "image_gallery" and not "image_gallery_r1123", or whatever name Silverstripe gives it.
2 December 2009 at 3:30am
Thanks to you- problem solved. ImageGallery works fine now. I owe you a crate of beer, i think ;-)
Another issue is a preview of 4-6 random Articles with a previewimage of a related ImageGallery. I thought i would store the images in different galleries and call the particular gallery in the articlepages. on the startpage should be a display of 4-6 random articles with a related image. Like this :
[RandomImage from gallery1] [Link to article [Firstsentence of Article1]][Author1]
[RandomImage from gallery5] [Link to article [Firstsentence of Article5]][Author5]
[RandomImage from gallery10] [Link to article [Firstsentence of Article10]][Author10]
[RandomImage from gallery3] [Link to article [Firstsentence of Article3]][Author3]
And so on. Do you know how to realise this issue?
2 December 2009 at 10:30am
How is your model built out? Articles have a relation to ImageGalleries? Can you paste your code?
2 December 2009 at 9:38pm Last edited: 3 December 2009 7:13am
this is my ArticlePage- i've got 4 diffent types of articlePages, because every ArticlePage-type has a different ArticlePage.ss (there are differences in arrangement of divs and applied css).
3 December 2009 at 3:46am
I still don't get it. You're saying your article pages are linked to a specific ImageGalleryPage, but I don't see that anywhere in your code. Am I misunderstanding?
3 December 2009 at 4:04am
Hi again UncleCheese,
Sorry, i'm no native speaker. i'm trying to establish a relation between my ArticlePages and a GalleryPage with 10 Galleries. I want to use the Images from the galleries. For every Article there is 1 Gallery. To Show the Galleries on my ArticlePages i need to establish a relation between them. But i don't know how to do this.
As i understand the $RecentImagesGallery it's related to an url, not to the Name of the gallery.
Until now i have extended my Page with 2 Imagefields (my previous post). But instead of this i want to use the ImageGallery instead of those fields, especially to use the Lightbox, SWFUploader etc.
I'm not sure how to phrase this in a better way. I hope i got it right.
|Go to Top||Next >|