10375 Posts in 2190 Topics by 1707 members
|Go to End||Next >|
4 March 2010 at 5:40pm Last edited: 4 March 2010 6:37pm
I'm unsure how to address the problem I have, and it's probably my own fault for not understanding how this all fully works but...
I installed the dataobject_manager, swfupload and image_gallery correctly.
But When I come to this page...(See buttonproblem.jpg attachment) the button is all messed up, but none the less the button works, just not sure why it's like that.
Anyways my main problem is that I create an image gallery page using the image gallery template and then save & publish it, added the images fine, edit the albulm fine.
Then I go to look at it http://127.0.0.1/gallery/ and nothing but a blank template is there...why is this?
I created my own custom theme I don't know if this has anything to do with the problem.
I tried inserting <% include GalleryPageContent %> but that gave me huge missing file errors or something.
This is the error message...
[Warning] file_get_contents() [function.file-get-contents]: Filename cannot be empty
Line 280 in D:\Web\xampp\htdocs\sapphire\core\SSViewer.php
5 March 2010 at 3:03am
Check your template and make sure there are no <% include %> tags for files that don't exist.
5 March 2010 at 9:01am Last edited: 5 March 2010 9:03am
that's the only include i have...
do i need to drag GalleryPageContent.ss into my themes folder?
when i include <% include AlbumList %> it works fine but not what i need, but <% include GalleryPageContent %> does not.
5 March 2010 at 9:11am Last edited: 5 March 2010 9:19am
ok i found the problem with the error message but it still doesn't display any images in my template...
taking out this code in GalleryPageContent.ss and leaving the <% include UserGallery %> fixed the error
<% if AdminGallery %>
<% include AdminGallery %>
<% else %>
<% end_if %>
but again, no images show up or anything.
i also put the code back in there, but i copied UserGallery.ss and renamed it AdminGallery.ss....still no missing file error but also still no images showing up.
5 March 2010 at 9:22am
Oh my lord.. where did you find this distribution of ImageGallery? Those files haven't been in the core for over a year! Did you get this from SVN?
5 March 2010 at 9:42am Last edited: 5 March 2010 9:48am
I don't know
Help me! Send me good links!
I found it on some ultimate image gallery thread.
5 March 2010 at 9:54am
The best way to get it is through SVN..
But the Silverstripe downloads section should have an svn export for download as well.
You're using an archaic version.. wow..
5 March 2010 at 10:11am
When I goto Extensions and Modules under silverstripes website it gives me
DOM version 374
SWFUPLOAD version 373
IMAGE GALLERY version 352
|Go to Top||Next >|