Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Two-Level Menu
acezone
Hello Everybuddy,
I have a situation here. I have two-level menu
1. Header (generating shtml)
2. SubHeader (generating shtml)
I am including subheader generated file in header generated file. When I update any subheader DCR and generate the file... it works fine. But query is:
"As my subheader file is already generated with same name, then why it does not reflect when I preveiw header DCR output?"
Could someone put their bright ideas and suggestions for this. Eveyone is welcome.
Regards,
Ace
Find more posts tagged with
Comments
Bhargav Coca
Is your include path right for your subheading? Post your Tpl and DCT. Somone can help you if they see your code.
Thanks
acezone
Hi Lilleywhite,
Include path is fine... Actually when I generate subheader, then again I have to generate the header file to reflect my subheader changes. So query: "is it possible that I only make change in subheader file and do not have to regenrate header file for reflecting my changes?"
Regards,
Ace
nipper
Since your files are .shtml, that implies server side includes. Does header.shtml reference subheader.shtml or does is physically copy some of the data in ?
You may need to kick off iwpt_compile a second time to regenerate the 2nd if it copies the data.
You can also combine the 2 TPLs into 1, using iwload_dcr and iw_ostream to write the correct data to the correct file, however it may not be worth the effort if you done with the development.
Bhargav Coca
Well how would you know the changes are in place if you do not generate the
header any way right?
If at all your include is a server side include , then you do not have to generate the header.
Thanks
acezone
Please find the attached datacaptures and presentation tpls for better understanding of the requirement.
Regards,
Ace