Page 1 of 1

thumbnails appear in left column

Posted: Thu Sep 21, 2006 5:12 pm
by beeswax
I'm trying to create an album at the link below, and I'm using the separate thumbnails template. however, the thumbnails also appear in the left column. how do I stop this happening?

http://www.silviasjewellery.co.uk/index ... collection

Re: thumbnails appear in left column

Posted: Sun Sep 24, 2006 7:10 pm
by beeswax
The reason for the thumbnails appearing in the left hand column is that I was choosing "Photo Albums" from the dropdown menu of Content Type when I was editing a page (I think). Leaving the Content Type as "Content" seems to have solved this. Choosing "Photo Albums" from the Content Types also means that you can't edit the page any longer as far as I can see. There's just nothing there. I couldn't see a way round this apart from deleting the page and starting over again.
I'm not swimming with the dolphins yet, but sometimes I can get my head above water just long enough to see them way off in the distance.
Keep up the good work.

Re: thumbnails appear in left column

Posted: Mon Sep 25, 2006 1:51 am
by Greg
Looks like there are javascript errors when you choose content type 'photo album' when creating a page.
document.getElementById(tabs[j].id + "_c") has no properties
in standard.js line 55
This result in the page not even displaying.

Re: thumbnails appear in left column

Posted: Mon Sep 25, 2006 12:36 pm
by Greg
The patch for Album fixes the edit problem in 'pages - edit content'
New problem
Notice: Undefined index: content_id in D:\AAAWeb\cms\modules\Album\classes\module\class.AlbumContent.php on line 119

Re: thumbnails appear in left column

Posted: Tue Sep 26, 2006 8:05 am
by Dee
Greg wrote: The patch for Album fixes the edit problem in 'pages - edit content'
New problem
Notice: Undefined index: content_id in D:\AAAWeb\cms\modules\Album\classes\module\class.AlbumContent.php on line 119
To get rid of the notice in the preview:
On line 119 of class.AlbumContent.php replace

Code: Select all

$variables['content_id']
with

Code: Select all

isset($variables['content_id']) ? $variables['content_id'] : ''
so you get

Code: Select all

$newalbum->DoAction('default', 'album', $params, isset($variables['content_id']) ? $variables['content_id']: '');
(patch is available here: http://dev.cmsmadesimple.org/tracker/in ... 7&atid=725)

Regards,
D