Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
VFE Configuration
Uttara
Hello All,
I have one VFE field on my DCT. When I type in something, and try to see it's source (View source in VFE), I see what I should. But when I save that DCR, the VFE filed is getting saved as HTML file, and not paragraph. It is appending all <HTML></HTML>, <body></body> tags in it.
Following is what I see as (View Source) in VFE when DCR is open:
<p>The first public display of the 40/50 hp model as it was called then was at London's Olympia Motor in November 1906 with deliveries commencing from April 1907.<br>
</p>
And following is what gets saved in DCR...say testdcr.xml
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
</head>
<body><p>The first public display of the 40/50 hp model as it was called then was at London's Olympia Motor in November 1906 with deliveries commencing from April 1907. <br>
</p>
</body>
</html>
Anybody has any idea about his? Any help is highly appriciated.
Could this be problem with some VFE configuration? I looked into visualformatconfig file, and that atleast 'looked' fine to me.
Find more posts tagged with
Comments
Bhargav Coca
Uttara.....
It might a probelm with the content you are putting in, try typing in content in your DCT and then generate and see, if this can get rid of unwanted tags. please post the source code for that generated page. better way to get this fixed is use REGEX, to rip off the unwated tags.
Thanks
Uttara
I have tried typing in text, and even that doest the same. I can use RE-EXs to strip off unwanted HTML, but what exactly do I strip-off? Rather, why in first place, it started happening?
Following is my generated page's code:
<TR>
<TD colspan="3" id=gn1><A name=gn1></A><B>Grliudor</B><br></TD>
</TR><tr><td> </td></tr>
<TR><TD colspan="3" id=q1><A name=q1></A><B>Question1</B></TD></TR>
<TR><TD colspan="3"> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
</head>
<body><p>Answer 1 kusdyb kdjfhgidh fgbdkshfgdfg</p>
</body>
</html>
</TD></TR>
Bhargav Coca
As i can see you have a table inside the VFE, for some how itis included there, check for any occurances of table in your VFE, or in your tpl. IF possible do one more thing, while trying the DCT again, try totally removing the VFE, i.e. remove, external-editor=visualfomat. And then see the generated souce code.
If this doesn't help, post me your DCT.
Thanks
Uttara
Well,
the HTML table part was coming from my tpl, so I am not worried about that.
And this is happening to all my templates, not one specific. Still, sending you one of the DCT
I appriciate your help.
Thanks.
Bhargav Coca
is your problem resolved? If so please post , as what you did to get that taken care of.
Thanks
Uttara
Its not yet solved. I am still looking for it. Please let me know, if you could help.
Bhargav Coca
try these regex on the fields which give you extra tags, viz for Fonts
use this
~ s|</?font\b[^>]*>||gi;
Thank you