glerma
|
| Posted: 05/01/2003, 5:38 PM |
|
I am having problems developing pages in frames because when I try to assign page security access, I am having problems with the sessions not staying set. I am using PHP.
ANyone having or have had problems with frames too? And if so, was there any solutions?
THankx.
|
|
|
 |
RonB
|
| Posted: 05/03/2003, 6:33 AM |
|
Frames and iframes are not supported by CCS, sadlt. I've had my share of trouble with that. The best way to go, for me at least, is to do all the coding on the page and when I'm happy with the result I add the iframe. Once you've added the Iframe you can forget about editing the page with ccs. Most likely any atempt do do so will result in an error message or ccs will just crash.
|
|
|
 |
Roberto
|
| Posted: 05/03/2003, 7:18 AM |
|
I recommend to use somekind of external editor. Just do the statis design, then go back to CCS and fix up the content with the dynamic elements.
|
|
|
 |
RonB
|
| Posted: 05/03/2003, 7:41 AM |
|
with iframes that wont work. You'll have to do the dynamic stuff first with ccs and the add the iframe with for example dreamweavermx. Once you've added an iframe you will not be able to add any grid or records with ccs on that page.
Ron
|
|
|
 |
Headhunter
|
| Posted: 05/04/2003, 1:36 AM |
|
Working with frames works when you have static links in menu navigation etc.
Working within the frame with a CCS generated project will work. I have a project called WeaverNews and I use it in my homepage. All my links in the menu located in the left frame are static.
I created my web outside of CCS for editing frames etc. (dreaweaver) and the homepage shows the WeverNews project in the main frame. When working within that frame in the project web, there is no problem at all.
You can have a look at it at http://www.dbweaver.com
|
|
|
 |
Hamilton
|
| Posted: 05/07/2003, 6:29 AM |
|
Add a Label to your form.
In the example below I called the label "lblIFRAME".
Set the Label content from Text to HTML
In the before show event add the following code
Change the name of the page shown within the script from "MYPAGE.asp" to whatever the page is you're attempting to display in the frame.
Whenever you need to display iFrames whilst maintaining CCS editing capability... this is how you do it.
Function lblIFRAME_BeforeShow()
Dim strIFRAME
strIFRAME = ""
strIFRAME = strIFRAME & "<table width=""100%"" border=""0"" cellpadding=""2"" cellspacing=""0"" class=""text"">"
strIFRAME = strIFRAME & " <tr> "
strIFRAME = strIFRAME & " <td width=""100%"" valign=""top"" class=""BlueNoteDataTD"">"
strIFRAME = strIFRAME & " <iframe name=""MyiFrame"" src=""./MYPAGE.asp"" width=""100%"" height=""250"" marginwidth=""0"" marginheight=""0"" frameborder=""0""></iframe>"
strIFRAME = strIFRAME & " </td>"
strIFRAME = strIFRAME & " </tr>"
strIFRAME = strIFRAME & "</table>"
lblIFRAME.Value = strIFRAME
End Function
|
|
|
 |
RonB
|
| Posted: 05/07/2003, 2:20 PM |
|
Well you did it. I never even thought of adding the iframe that way and I'm sure it will work. Proof that sometimes your mind is so caught up in complex problem solving that the easy way, the simple way doen't even occur to you. Thanks. This reminds me of the design philosophy I try to uphold->
keep it simple, stupid 
Excelent solution!!
RonB
|
|
|
 |
glerma
|
| Posted: 05/08/2003, 8:31 PM |
|
I thank you guys for all of the insight on the issue of frames, however my problem is not with creating frames. I know how to do that. I use Dreamweaver for my HTML editing. The problem is with sessions, Codecharge and maybe with how PHP handles the sessions. I just cannot get the session (which stores the Security Info) to stay in a frameset. I will play around with it some more though.
As far is the Iframes(Inline Frames), I haven't worked with them yet, because the little that I know about them is that they were Introduced by Internet Explorer and just got implemented in the W3C HTML 4.0 Specification. I don't know what cross-browser issues this would cause.
Thanks for the feed back. Feel free to give some more.
Thanks.
g.
|
|
|
 |