|
Home > Archive > Microsoft Content Management Server > October 2005 > In a framed site browsing postings doesn't run channel script
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
In a framed site browsing postings doesn't run channel script
|
|
| Karina 2005-10-25, 5:52 pm |
| Hi,
I'm building a framed site with two frames; on the left my navigation
controls and on the right the postings. I also have the "Use Script with
Pages" set to "true" in all channels, but it only works when browsing the
default page of each channel, If I switch to another posting into the same
channel looses the frames and shows the posting in the entire page. I thought
it was a problem with my navigation control (target) but I also noticed that
when I close the SiteManager and re-open it, the property "Use Script with
Pages" is set to "No". Why? Did it happened to someone else?
| |
| Stefan [MSFT] 2005-10-25, 5:52 pm |
| Hi Karina,
actually your channel rendering script needs to be the page that contains
the frameset - not a frame when you enable this feature.
Did you set this?
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------
"Karina" <Karina@discussions.microsoft.com> wrote in message
news:C87F94FE-50F7-4F9D-99C9-8A2F58C741C5@microsoft.com...
> Hi,
> I'm building a framed site with two frames; on the left my navigation
> controls and on the right the postings. I also have the "Use Script with
> Pages" set to "true" in all channels, but it only works when browsing the
> default page of each channel, If I switch to another posting into the same
> channel looses the frames and shows the posting in the entire page. I
> thought
> it was a problem with my navigation control (target) but I also noticed
> that
> when I close the SiteManager and re-open it, the property "Use Script with
> Pages" is set to "No". Why? Did it happened to someone else?
| |
| Karina 2005-10-25, 5:52 pm |
| Hi Stefan,
My rendering script is an aspx page that contains this:
<frameset rows="120,*" border="0" frameSpacing="0" frameBorder="0">
<frame name="header" src="/MySite/Templates/FrameTop.aspx?<%=
Request.QueryString%>" noresize scrolling="no">
<frameset cols="130,*">
<frame name="navigation"
src="/MySite/Templates/FrameNavigation.aspx?<%= Request.QueryString%>">
<frame name="contents"
src="<%=CmsHttpContext.Current.ChannelItem.UrlInner%>">
</frameset>
<noframes>
<p id="p1">
Per visualizzare questa pagina utilizzare un Web browser con
versione HTML 4.0 o superiore.</p>
</noframes>
</frameset>
"Stefan [MSFT]" wrote:
> Hi Karina,
>
> actually your channel rendering script needs to be the page that contains
> the frameset - not a frame when you enable this feature.
>
> Did you set this?
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
>
> New to MCMS?
> Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
> ----------------------
>
>
> "Karina" <Karina@discussions.microsoft.com> wrote in message
> news:C87F94FE-50F7-4F9D-99C9-8A2F58C741C5@microsoft.com...
>
>
>
| |
| Karina 2005-10-25, 5:52 pm |
|
I think the real problem is that I cannot set the value of the property "Use
Script with Pages", because when I create a new page or when I close and
reopen the Site Manager the value returns to "No".
| |
| Stefan [MSFT] 2005-10-25, 5:52 pm |
| Hi Karina,
ok, the script looks good.
About your navigation page: you need to ensure that it also uses UrlInner
for the navigation.
About the property: this should not happen. Are you sure that there is no
code in your application that resets this property?
If not, you should open a support case with Microsoft.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------
"Karina" <Karina@discussions.microsoft.com> wrote in message
news:F5E26C51-2033-42A6-8464-E67082AEFC3B@microsoft.com...[vbcol=seagreen]
> Hi Stefan,
> My rendering script is an aspx page that contains this:
> <frameset rows="120,*" border="0" frameSpacing="0" frameBorder="0">
> <frame name="header" src="/MySite/Templates/FrameTop.aspx?<%=
> Request.QueryString%>" noresize scrolling="no">
> <frameset cols="130,*">
> <frame name="navigation"
> src="/MySite/Templates/FrameNavigation.aspx?<%= Request.QueryString%>">
> <frame name="contents"
> src="<%=CmsHttpContext.Current.ChannelItem.UrlInner%>">
> </frameset>
> <noframes>
> <p id="p1">
> Per visualizzare questa pagina utilizzare un Web browser con
> versione HTML 4.0 o superiore.</p>
> </noframes>
> </frameset>
>
> "Stefan [MSFT]" wrote:
>
| |
| Karina 2005-10-25, 5:52 pm |
| Thanks, I'll open a support case with Microsoft.
"Stefan [MSFT]" wrote:
> Hi Karina,
>
> ok, the script looks good.
> About your navigation page: you need to ensure that it also uses UrlInner
> for the navigation.
> About the property: this should not happen. Are you sure that there is no
> code in your application that resets this property?
>
> If not, you should open a support case with Microsoft.
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
>
> New to MCMS?
> Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
> ----------------------
>
>
> "Karina" <Karina@discussions.microsoft.com> wrote in message
> news:F5E26C51-2033-42A6-8464-E67082AEFC3B@microsoft.com...
>
>
>
|
|
|
|
|