RE: SharePoint 2007 Picture Library issue with Custom Master Page
- From: Cas van Iersel <Cas van Iersel@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 25 Jul 2008 05:27:00 -0700
I've got a problem like this one too.
I've got the PlaceHolderLeftActionsin my custom MasterPage in the same place
as in the default.master and I can use all the Picture Library views.
However when I choose the Thumbnail view it doesn't show the thumbnails
inline (next to eachother) but as a column (1 image every row). I've checked
the code and it are all <SPAN>'s so the should be lined next to eachother.
When I switch back to the default.master, they are perfectly inline.
"Justin Kobel" wrote:
I believe I have this one figured out. I'm assuming you started with a.
Minimal master page template, which has ContentPlaceHolder
"PlaceHolderLeftActions". Best as I can tell, this region is only used in
Picture and Slide Libraries, and always renders invisible contents.
The javascript WSS uses to render the Thumbnails and Filmstrip views refers
to a local variable inside the page content control that contains a small
invisible thumbnail image. This is called inside a small <SCRIPT> tag after
the initial list view's controls, and if it can't find the thumbnail control,
it doesn't render the two additional controls necessary for the Thumbnail
and Filmstrip views.
In order to get the additional views in a custom master page, you just need
to move your PlaceHolderLeftActions control to within your primary content
region of the master page.
Hope this helps
-Justin Kobel
"Mike H." wrote:
I have noticed an issue on a couple different SharePoint environments that
are using custom master pages. For some reason a user cannot view the
thumbnail or filmstrip view; only the details view will display. No
errors are thrown when a user selects the filmstrip or thumbnail view, in
fact nothing happens at all.
If the master page for the site is changed to default.master then the
picture library functionality returns.
I am trying to narrow down the issue. I am guessing there is some
SharePoint control, zone or script that is not being loaded in the custom
master page.
Has anyone run into this problem? Any suggestions? Currently I am going
line by line between the master pages trying to identify any control or
script differences. So far no luck.
- Follow-Ups:
- RE: SharePoint 2007 Picture Library issue with Custom Master Page
- From: Justin Kobel
- RE: SharePoint 2007 Picture Library issue with Custom Master Page
- Prev by Date: Overriding SPEmailReceiver for Email Enabled libraries
- Next by Date: RE: SharePoint 2007 Picture Library issue with Custom Master Page
- Previous by thread: RE: SharePoint 2007 Picture Library issue with Custom Master Page
- Next by thread: RE: SharePoint 2007 Picture Library issue with Custom Master Page
- Index(es):
Relevant Pages
|
Loading