NetTalk Central

Author Topic: Where is the Welcome text to the page?  (Read 4149 times)

jorgemir

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
    • Email
Where is the Welcome text to the page?
« on: March 27, 2011, 10:47:03 PM »
Hi. In the page tab I need to put some text. Where is this setting located? thanks
Jorge

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11245
    • View Profile
Re: Where is the Welcome text to the page?
« Reply #1 on: March 28, 2011, 12:00:55 AM »
I presume you mean form tab?

There's a form-field type called "Display".
This is used to display "anything" - including custom xHtml.

cheers
Bruce

jorgemir

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
    • Email
Re: Where is the Welcome text to the page?
« Reply #2 on: March 28, 2011, 04:26:21 AM »
well, no. I mean the browser page. When I enter the Capesoft site, the tab in the browser says "Capesoft Clarion Tools".
Problem is that Web developer  complement, one of the firefox 3rd party tools says there is an error in my page:
   1. Error Line 3, Column 1: Missing xmlns attribute for element html. The value should be: http://www.w3.org/1999/xhtml

      <html>

      ✉

      Many Document Types based on XML need a mandatory xmlns attribute on the root element. For example, the root element for XHTML might look like:
      <html xmlns="http://www.w3.org/1999/xhtml">


I see the source of my page and it says:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">

<html>
<head>
<title>Bienvenido a Pollonet</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
</head>
<frameset rows="100%">
<frame src="http://168.144.197.26:4321/" title="Bienvenido a Pollonet" frameborder="0" noresize="noresize"/>
<noframes>
<body>
<h1>Bienvenido a Pollonet</h1>
<p><a href="http://168.144.197.26:4321/">http://pollonet.es/</a></p>
</body>
</noframes>
</frameset>
</html>


I want to correct this error but I do not know where is the setting for this welcome area.
Thanks


Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11245
    • View Profile
Re: Where is the Welcome text to the page?
« Reply #3 on: March 28, 2011, 09:21:58 PM »
Hi Jorge,

where is the doctype for your page coming from?
In NetTalk, for generated pages, the doctype is (currently) set to

<!DOCTYPE html>

Which is the new preferred "standard" (especially for HTML 5 browsers).

In the old days we used to generate;

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

- for pages with the Frame extension we generate;

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">

whereas you have

!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">

So I'm wondering if this is a static page you've put in? Or perhaps you've overridden the default in NetTalk somewhere? Note that you've set your doctype to XHTML 1.0, which means you'd have to do more work to change the <html> tag. I recommend setting the doctype back to what we do.

The CapeSoft home page is a static HTML page - ad uses the doctype;
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

but then you'll notice the html tag also has the necessary attribute (which is easy to do given that this is a static page).

<html xmlns="http://www.w3.org/1999/xhtml">

The "title" of the page is set in the header with the <title> tag;

<title>CapeSoft Home Page</title>

In all the templates this is the "Page Title" setting, which is on the "General" tab of the procedure properties.

Cheers
Bruce





cheers
Bruce
 





jorgemir

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
    • Email
Re: Where is the Welcome text to the page?
« Reply #4 on: March 28, 2011, 11:14:26 PM »
Hi Bruce.
I enter into my site www.pollonet.es , right click and click on view source and it comes:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">

<html>
<head>
<title>Bienvenido a Pollonet</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
</head>
<frameset rows="100%">
<frame src="http://168.144.197.26:4321/" title="Bienvenido a Pollonet" frameborder="0" noresize="noresize"/>
<noframes>
<body>
<h1>Bienvenido a Pollonet</h1>
<p><a href="http://168.144.197.26:4321/">http://pollonet.es/</a></p>
</body>
</noframes>
</frameset>
</html>

This is in Firefox. In IE8 it comes entirely different, as well on Chrome. I really don't take mucho of this problem because a) I do not understand it and b) it does not complicate my life right now. I was simply trying to find where in the world the words "Bienvenido a Pollonet" is setted in order to change it. And wondering if this non xhtml code is making related problem with the fact that in IE8 I can not see the popup form data. It comes blank and it goes blank. As you told me several times, I need to have xhtml compliant code, so, if nettalk is inserting some non-compliant code I was eager to know why.

By the way, this is pure NT code. I do not create any static page.

Thanks
Jorge