PC Review


Reply
Thread Tools Rate Thread

Categories and DWTs

 
 
=?Utf-8?B?UGFt?=
Guest
Posts: n/a
 
      9th Feb 2005
I'm using categories as a navigation tool in a Web site, where pages are
assigned categories, and then category lists are generated using the TOC
component (site map by category).

I'm also using DWTs. When I assign a category, the code is embedded in the
head, and somehow in the DWT that was assigned, but only to that page
(essentially modifying the DWT for that page only).

Generally, that wouldn't be a problem, but when I attach a modified DWT, all
my category code is wiped out, and I have to recatogorize.

Are there any workarounds you can suggest?
 
Reply With Quote
 
 
 
 
Stefan B Rusynko
Guest
Posts: n/a
 
      9th Feb 2005
DWTs do not support Categories (since they rely on writing a html schema tag and write unique code into the Head section)

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________


"Pam" <(E-Mail Removed)> wrote in message news:7B38EAFC-3A48-42E6-855B-(E-Mail Removed)...
| I'm using categories as a navigation tool in a Web site, where pages are
| assigned categories, and then category lists are generated using the TOC
| component (site map by category).
|
| I'm also using DWTs. When I assign a category, the code is embedded in the
| head, and somehow in the DWT that was assigned, but only to that page
| (essentially modifying the DWT for that page only).
|
| Generally, that wouldn't be a problem, but when I attach a modified DWT, all
| my category code is wiped out, and I have to recatogorize.
|
| Are there any workarounds you can suggest?


 
Reply With Quote
 
=?Utf-8?B?UGFt?=
Guest
Posts: n/a
 
      9th Feb 2005
For those interested, I was able to resolve my issue with a workaround so
that I'm able to use both DWTs and categories.

I created a category of None, and assigned my DWT to the None category.

I left the HTML schema intact, but added "Begin Editable" and "End Editable"
tags to the unique code, so that what I have is this:

<!-- #BeginEditable "category" -->
<!--[if gte mso 9]><xml>
<mso:CustomDocumentProperties>
<mso:Categories msdt:dt="string">None</mso:Categories>
<mso:Approval_x0020_Level msdt:dt="string"></mso:Approval_x0020_Level>
<mso:Assigned_x0020_To msdt:dt="string"></mso:Assigned_x0020_To>
</mso:CustomDocumentProperties>
</xml><![endif]-->
<!-- #EndEditable -->

Now, when I go to a page with the DWT attached, I can edit the category
assignment, unchecking "None" and checking the categories as appropriate.

So far, seems to be doing the trick!



"Stefan B Rusynko" wrote:

> DWTs do not support Categories (since they rely on writing a html schema tag and write unique code into the Head section)
>
> --
>
> _____________________________________________
> SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
> "Warning - Using the F1 Key will not break anything!" (-;
> To find the best Newsgroup for FrontPage support see:
> http://www.net-sites.com/sitebuilder/newsgroups.asp
> _____________________________________________
>
>
> "Pam" <(E-Mail Removed)> wrote in message news:7B38EAFC-3A48-42E6-855B-(E-Mail Removed)...
> | I'm using categories as a navigation tool in a Web site, where pages are
> | assigned categories, and then category lists are generated using the TOC
> | component (site map by category).
> |
> | I'm also using DWTs. When I assign a category, the code is embedded in the
> | head, and somehow in the DWT that was assigned, but only to that page
> | (essentially modifying the DWT for that page only).
> |
> | Generally, that wouldn't be a problem, but when I attach a modified DWT, all
> | my category code is wiped out, and I have to recatogorize.
> |
> | Are there any workarounds you can suggest?
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FP 2003 - Detaching DWTs Malcolm Microsoft Frontpage 5 31st Dec 2008 04:57 PM
DWTs and FP Extensions David Kirk Microsoft Frontpage 8 26th Feb 2008 01:21 PM
Using multiple DWTs on a page Dan E Microsoft Frontpage 8 25th Feb 2005 04:19 PM
Attached DWTs Dan E Microsoft Frontpage 9 23rd Feb 2005 01:27 PM
DWTs? RF Microsoft Frontpage 7 15th Apr 2004 11:20 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:05 PM.