Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Page layouts and how to implement

  Asked By: Brain    Date: Aug 19    Category: Sharepoint    Views: 1030

I've got a semi-usable masterpage set up and I'm not trying to wrap my
head around the concept of page layouts.

I need to create a way to for the site administrator to build what we're
calling 'gateway pages' on the top level site. These are basically
mini-site maps created from arbitrary lists. It'll look something like
this:

Subsite 2 (link to home page)
- page 1 (link to page 1 of that site)
- page 3
- document 4

Subsite 5
- page 3
- page 8
- page 2

Etc.

So, each subsite would have a listing on one of these gateway pages.
It'd be an *arbitrary* list of links directly into parts of each
subsite. We'd list 3 or for sites per column with a total of 3 columns
per 'gateway page'.

What do I do?

I'm thinking of two options:

1) Make a very generic content definition that just consists of one
giant HTML field and have our site owner learn some HTML to maintain the
arbitrary layout of HTML and CSS. This is less ideal from a
support/maintenance standpoint, but will likely be the only way to get
the EXACT HTML + CSS layout they received from their external vendor.

2) Make a page template that the site author can then drag web parts
into the 3 columns to expose link lists. This would be a lot easier to
maintain, though likely impossible to style exactly as they wish.

The Real World Sharepoint book only dedicates 3 pages to the concept of
Page Layouts, so I'm not that well versed in what to do.

Can anyone give some advice on the above two options? Do they make
sense? Are there better ideas I should look into? If I want to implement
them, what kind of 'content types' should I use to define them both?

Share: 

 

3 Answers Found

 
Answer #1    Answered By: Kyle Hernandez     Answered On: Aug 19

Page layouts  are exactly what the name would suggest - a template  to
control the layout  of the content  in a page. This doesn't have any
effect on the CSS for the items in the page, this is generally done at
the master page  level or via a custom CSS file in a publishing site
(which I'm assuming applies since you are asking about page layouts).
As far as getting the CSS for #2 correct, you have a couple options  for
getting better control over display of a Links list  without need to go
to pure HTML.

1) Convert a Link list view web  part into a Data View web part.

2) Use a Content Query web part with custom XSL

 
Answer #2    Answered By: Kedar Phule     Answered On: Aug 19

> This doesn't have any
> effect on the CSS for the items in the page, this is generally done at
> the master page  level or via a custom CSS file in a publishing site
> (which I'm assuming applies since you are asking about page layouts).

Hmm...not idea, but OK, good to know.

That said, could I, in theory, use the fact that it appears that
placeholders in a page layout  can override placeholders in a master page
to add a CSS link  dynamically to the page overall via a page template?
The key would be the ability to hard-code a default value in one of the
content columns  in the content  definition/page template.

> As far as getting the CSS for #2 correct, you have a couple options
for
> getting better control over display of a Links list  without need to go
> to pure HTML.
>
> 1) Convert a Link list view web  part into a Data View web part.
>
> 2) Use a Content Query web part with custom XSL

Custom XSL! That'd work! Good idea.

 
Answer #3    Answered By: Chanel Gaines     Answered On: Aug 19

I'd have to try it to be sure, but I don't think it will work. I think
the CSS links  need to be in place before the placeholders are populated.

 
Didn't find what you were looking for? Find more on Page layouts and how to implement Or get search suggestion and latest updates.




Tagged: