Welcome to WebmasterWorld Guest from 126.96.36.199
Forum Moderators: open
Dreamweaver has 'Library' feature available, which in a way works like "Page Include" function. I was wondering if anyone knew whether or not Expression Web has any option similar to Library. (I tried to look for it, but without any success, & would love to learn where am I making a mistake).
Thanks for the help.
1) One website with 10 different sections/categories.
2) Each section with 10 pages.
3) Same header for each section.
4) 'Different' top menu for each section.
...... Same thing with footer, left & right side.
Now if you are only using dynamic web template, you will have to create ‘many’ such templates, however combination of ‘dynamic web template’ & ‘Library’ or ‘Page Include’ function could cut your work significantly.
Dreamweaver's Library & Frontpage's 'Page Include' does not lock the page or restrict you to edit only within certain section. Instead you can have unlimited 'Page Include' calls within the page (or within ‘Page Include’ page) & it still works - however this is not possible with dynamic web template. This is the reason Dreamweaver has 'Library' function along with their 'Dynamic Web Template' function. Hence, I was wondering if there is any hack/plug-in for such feature for Expression Web.
[edited by: Vishal at 6:30 pm (utc) on July 20, 2007]
Under Tools > Page Editor Options there is an Option for Code Snippets. Create a new snippets
Keyword = 1Include
Description = Page Include Function
Text/Code = <!--webbot bot="Include" U-Include="include.html" TAG="BODY" -->
(I use Page Include Function a lot, hence I named it 01Include so it will show up top in the list)
Now anywhere in the page you want to add this function you can either paste <!--webbot bot="Include" U-Include="include.html" TAG="BODY" --> or just hit Ctrl+Enter in the Code View. This will open up Code Snippet function and select 1Include from the list & now from the Design mode, edit the file path like you would normally do while using Frontpage 2003.
It might sound boring, however till Expression Web adds this feature (or DW's library type function) back, this might be the quickest way to workaround this issue.