Forum Moderators: open
...
<div>
<!--webbot bot="Include"
U-Include="../../database/foo.htm"
TAG="BODY" --></div>
<div>
<!--webbot bot="Include"
U-Include="../../database/bar.htm"
TAG="BODY" --></div>
</div><!--more-docs-->
will remain formatted just that way in the html editor of FP2003.
<!--webbot bot="include" u-include="file.asp" tag="body" -->
<!--webbot bot="include" u-include="file.asp" tag="body" -->
<!--webbot bot="include" u-include="file.asp" tag="body" -->
And then puts them all on one line like this...
<!--webbot bot="include" u-include="file.asp" tag="body" --><!--webbot bot="include" u-include="file.asp" tag="body" --><!--webbot bot="include" u-include="file.asp" tag="body" -->
It's a real pain now as I view quite a bit of code at the browser level and like to see everything on its own line (no wrapping in tags, etc.).
[edited by: pageoneresults at 9:46 pm (utc) on Dec. 27, 2005]
In Page Options, you can format the code for a comment using the Tags Menu and then entering your specifics in the Line Breaks area.
There is an option to format for comments which is what FP includes are wrapped in. But, here's the catch. Notice that FP does not have a space between the (<!--Start...) two dashes and first character. If I add a space there (<!-- Start...) then the code formatting works as it should. FP is not recognizing its own comment tags and therefore it cannot apply formatting to those lines. So, it will take the next line after an include and bring it up to the same line as the include code. It's a real pain right now!
<added> I just posted at the MS Community Newsgroups for FrontPage. Let's see if anyone else is working with this issue and/or has a fix.
In Page Options, you can format the code for a comment using the Tags Menu and then entering your specifics in the Line Breaks area.
I tried changing these settings & have setup up line break of "2" for every option, but still it is making all comments + includes lines join up in 1 line :(
If I edit
<!--webbot bot="Include" U-Include="../include/header.html" TAG="BODY" -->
to
<!-- webbot bot="Include" U-Include="../include/header.html" TAG="BODY" -->
Formating works, however Include function "does not" work.
Can you tell me how you got it working.
Thanks for the help.
Vishal
Can you tell me how you got it working.
I haven't got it working yet. I've got topics in two different places asking for assistance. If I can't come up with a fix, I'm either reverting back to FP2002 or I'm going to make the transition to DW since I just bought Macromedia Studio 8.
FP is not recognizing its own comment as a comment tag since there is no space between those two hyphens and the first character of code. This was not the case with FP2002.
Is this working on both HTML pages and ASP pages?
Yes, the issue exists on both HTML and ASP pages. I did get a response from the MS communities and they say it is a bug in FP2003. One responder said to deal with it or use SSI. :)
I guess I have a few different options right now...
Hmmm, choices, choices, choices. Which one should I go with?
FP / DW is considered a beginner's web development program. When using asp / php, you can use your own includes and they would be a lot better than FP includes. If you are using ASP / PHP, you know more than the basic person knows about web development.
-Corey
FP / DW is considered a beginner's web development program.
Oh-oh, them's fighting words! Actually they can be considered beginner's programs but, there are many here who have taken the programs beyond what most beginners would ever consider doing. ;)
When using asp / php, you can use your own includes and they would be a lot better than FP includes.
Actually, they are not as robust as FP Includes. With FP Includes, you get to see how all includes appear while working locally. They function a little differently than an ASP/PHP Include.
I'm considering all the options above. Actually, I've been playing with DW8 and I like it. Although I'm not too sure I'm ready for the learning curve just yet. Especially after recently changing from Win98 to WinXP. ;)
They were using PHP and FP would not use the includes.
I do believe this is where the PHP Rocket plugin comes into play as it allows you to work with PHP in FrontPage.
Oh-oh, them's fighting words!
Naah, just a troll. :-)
Oh-oh, them's fighting words! Actually they can be considered beginner's programs but, there are many here who have taken the programs beyond what most beginners would ever consider doing. ;)Sorry I really did not see this until the last message. I agree with you fully but I think that MS / DW having created a WYIWYG editor will never fully be able to keep up with the web development side.
FP 2003 does not support CSS fully and even IE does not support it. Maybe in the next decade or so
-Corey
FP 2003 does not support CSS fully
Whether that matters obviously depends on who's using it, and for what.
Notepad doesn't support CSS at all, but some people still write pages with Notepad. :-)