thumbnails appear in left column

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
beeswax

thumbnails appear in left column

Post 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
beeswax

Re: thumbnails appear in left column

Post 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.
Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm

Re: thumbnails appear in left column

Post 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.
Greg
Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm

Re: thumbnails appear in left column

Post 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
Greg
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: thumbnails appear in left column

Post 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
Locked

Return to “Layout and Design (CSS & HTML)”