<head> element
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > <head> element




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    <head> element  
bill tie


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-18-04 12:51 PM


All the templates in the Woodgrove sample site include the <head> element:

<head>
<meta ... >
<meta ... >
..
</head>

If this element is common to all the templates, is there a reason why it
isn't converted into a user control invoked by the templates?






[ Post a follow-up to this message ]



    Re: <head> element  
Glenn Vassallo [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-18-04 12:51 PM

"bill tie" <billtie@discussions.microsoft.com> wrote in message
news:212BA15B-D569-441A-8485-254AC27E366C@microsoft.com...
>
> All the templates in the Woodgrove sample site include the <head> element:
>
> <head>
>  <meta ... >
>  <meta ... >
>  ...
> </head>
>
> If this element is common to all the templates, is there a reason why it
> isn't converted into a user control invoked by the templates?
>

Hi Bill,

The <HEAD> tag is a container, and hence can contain many other tags
including the below. By leaving these tags in place the templates can be
edited to include any of these additional tags.

<BASE>
<ISINDEX>
<LINK>
<META>
<NEXTID>
<TITLE>


Glenn.

--
This posting is provided "as is" with no warranties, and confers no rights.







[ Post a follow-up to this message ]



    Re: <head> element  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-18-04 12:51 PM

Hi Bill,

you could do this - but this is more an ASP.NET related question and a
ASP.NET related newsgroup would be better for such questions.

Cheers,
Stefan.

--
This posting is provided "AS IS" with no warranties, and confers no rights.

MCMS FAQ:
http://download.microsoft.com/downl...>
MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...nagement+Server
MCMS Whitepapers and other docs:
http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
--------------------------------


"bill tie" <billtie@discussions.microsoft.com> wrote in message
news:2EC9D3DE-008A-4B0B-BDC8-F7E18EB1ED23@microsoft.com...
>
> Glenn,
>
> Let me rephrase my question.
>
> Suppose, I know which meta, link or script tags I want in my entire site.
> Only TITLE will vary according as a page.
>
> Is it possible or good practice to "wrap" the HEAD in a control to be
> invoked from each template?
>







[ Post a follow-up to this message ]



    Re: <head> element  
Spencer Harbar [MVP]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-18-04 10:52 PM

Sure it's possible - but watch out - VS.NET's design mode designer doesn't
like this type of thing and you may well be stuck with the HTML view only.

hth
Spence
www.harbar.net/mcms/



"bill tie" <billtie@discussions.microsoft.com> wrote in message
news:2EC9D3DE-008A-4B0B-BDC8-F7E18EB1ED23@microsoft.com...
>
> Glenn,
>
> Let me rephrase my question.
>
> Suppose, I know which meta, link or script tags I want in my entire site.
> Only TITLE will vary according as a page.
>
> Is it possible or good practice to "wrap" the HEAD in a control to be
> invoked from each template?
>







[ Post a follow-up to this message ]



    Re: <head> element  
bill tie


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-20-04 07:49 AM


> VS.NET's design mode designer doesn't like this type of thing

Thank you for warning me.

So, we've established it's possible.  I'd still like to know whether it's
good practice.  Is there some rule when I should apply this technique, if
ever?  If I have many templates, would it make sense to do that?  Is there a
n
efficiency price to pay?





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:13 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register