Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

How to keep html code in page after publishing?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to keep html code in page after publishing?

    Hi,

    I want to use the Favicon (icon in browser tab) function. Therefore I need that the webpage keeps the html code. It seems that locally all the texts like page title and key words are in place, but after publishing to alpha five online...they are all dissapeared... when you view the souce code you only see the basic html without al the extra's...

    Therefore the code cannot put the favicon in place...
    also the page title doesnt show in the webbrowser...


    Anyone a clue??

    Thanks so much,
    best regrds,
    Edwin

    #2
    Re: How to keep html code in page after publishing?

    I don't know why it was designed that way, but (as you say) if you place text between the Title tags on an A5W page, the text disappears on publishing. But if you completely remove the Titlle tags from their standard location, and move them to the very top of your A5W page, just after the HTML and Head tags, your text will be preservered and only those Title tags will appear on the page. I assume it is the same for all meta tags.
    Steve Wood
    See my profile on IADN

    Comment


      #3
      Re: How to keep html code in page after publishing?

      Thanks Steve for your reply again!

      I tried what you suggested but still, the code before and after publishing is still not creating that keywords and page description maintain in the published code...

      Any clue? is it the server settings of Alphafiveonline? or other suggestions...?

      Thanks,

      Edwin



      After publishing:

      Code:
      <html>
      <head><title>www.mysite.nl</title></head>
      <frameset cols='*' rows='*'>
      <frame src='http://mysites.alphafiveonline.com/sp/Index.a5w?' frameborder='0' scrolling='Auto' noresize marginwidth='0' marginheight='0'>
      </frameset>
      <!--
      <noframes><body>Frame required.</body></noframes>
      -->
      </html>
      before:

      Code:
      <html>
      <head><title>De Scheidingspartner maakt het verschil!</title>
      <style fprolloverstyle>A:hover {color: #FF9933; font-family: Tahoma; font-size: 10pt}
      </style>
      <meta name="keywords" content="Scheiding, echtscheiding, mediation, bemiddeling, scheiden">
      <meta name="description" content="Maak kennis met de scheidingspartner voor begeleiding van uw echtscheidingsprocedure. Kies de scheidingspartner uit uw regio en maak een vrijblijvende afspraak.">
      <head>
      <%a5
      Delete tmpl_Navigation
      DIM tmpl_Navigation as P
      tmpl_Navigation = a5w_load_component("Navigation")
      'Following code allows you to override settings in the saved component, and specify the component alias (componentName property).
      'Tip: Keep the componentName property short because this name is used in page URLs, and it will help keep the URLs short.
      'Each component on a page must have a unique alias (componentName property).
      with tmpl_Navigation
      	location = "Home"
      	componentName = "Navigation"
      end with 
      '=======================================compute the HTML for the Component=======================================
      delete x_Navigation
      dim x_Navigation as p
      x_Navigation = a5w_run_Component(tmpl_Navigation)
      ?x_Navigation.Output.Head.JavaScript
      ?x_Navigation.Output.Head.CSS_Link
      %>
      
      
      
      <%a5
      Delete tmpl_Navigation
      DIM tmpl_Navigation as P
      tmpl_Navigation = a5w_load_component("Navigation")
      'Following code allows you to override settings in the saved component, and specify the component alias (componentName property).
      'Tip: Keep the componentName property short because this name is used in page URLs, and it will help keep the URLs short.
      'Each component on a page must have a unique alias (componentName property).
      with tmpl_Navigation
      	location = "Home"
      	componentName = "Navigation"
      end with 
      '=======================================compute the HTML for the Component=======================================
      delete x_Navigation
      dim x_Navigation as p
      x_Navigation = a5w_run_Component(tmpl_Navigation)
      ?x_Navigation.Output.Head.JavaScript
      ?x_Navigation.Output.Head.CSS_Link
      %>
      <!--Alpha Five Temporary Code Start - Will be automatically removed when page is published -->
      <!--CSS for tmpl_Navigation -->
      <link rel="stylesheet" type="text/css" href="file:///C:/Documents and Settings/Edwin/My Documents/DBAll/DBW/Worketing.WebProjects/Shared Resources/css/VBAdds/components/a5navsysToolbar/style.css">
      <!--Alpha Five Temporary Code End -->
      
      
      
      <!--Alpha Five Temporary Code Start - Will be automatically removed when page is published -->
      <!--CSS for tmpl_Navigation -->
      <link rel="stylesheet" type="text/css" href="file:///C:/Documents and Settings/Edwin/My Documents/DBAll/DBW/Worketing.WebProjects/Shared Resources/css/VBAdds/components/a5navsysToolbar/style.css">
      <!--Alpha Five Temporary Code End -->
      
      <meta http-equiv="Content-Language" content="nl">
      <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
      <title>De Scheidingspartner maakt het verschil!</title>
      <style fprolloverstyle>A:hover {color: #FF9933; font-family: Tahoma; font-size: 10pt}
      </style>
      <meta name="keywords" content="Scheiding, echtscheiding, mediation, bemiddeling, scheiden">
      <meta name="description" content="Maak kennis met de scheidingspartner voor begeleiding van uw echtscheidingsprocedure. Kies de scheidingspartner uit uw regio en maak een vrijblijvende afspraak.">
      </head>
      
      
      <body link="#ffffff" vlink="#ffffd5" bgcolor="#b3b3d9" alink="#ffcc66">
      
      <div align="center">
      	&nbsp;<table border="0" cellpadding="0" cellspacing="0" id="table1" width="927">
      		<tr>
      			<td width="8" bgcolor="#ffffff" background="hw-shadel.gif" align="middle">&nbsp;</td>
      			<td width="4" bgcolor="#ffffff" align="middle">&nbsp;</td>
      			<td width="4" bgcolor="#ffffff" align="middle">&nbsp;</td>
      			<td width="890" bgcolor="#ffffff" align="middle" rowspan="2">
      
      <div align="left">
      	<table border="0" cellpadding="0" style="BORDER-COLLAPSE: collapse" id="table29" width="706">
      		<tr>
      			<td colspan="5">
      		<table border="0" cellpadding="0" cellspacing="0" bordercolorlight="#ffcc66" bordercolordark="#71254b" id="table30" width="870">
      			<tr>
      				<td height="5">
      				<div align="left">
      						<div align="center">
      							<p>&nbsp;</p></div></div>
      				</td>
      			</tr>
      			</table>
      		<div align="center">
      			<table border="0" cellpadding="0" style="BORDER-COLLAPSE: collapse" id="table35" width="890">
      				<tr>
      					<td>
      						&nbsp;</td>
      					<td width="800">
      						<table border="0" cellpadding="0" style="BORDER-COLLAPSE: collapse" width="800" id="table36" height="8">
      		<tr>
      			<td align="left" width="207">
      			<p align="center">
      			<img height=42 src="scheidingspartnerfiguur.jpg" width=54 border=0></p></td>
      			<td align="left" width="523">
      			<img height=46 src="scheidingspartnertekst.jpg" width=391 border=0></td>
      			<td align="left" width="39">
      			&nbsp;</td>
      			<td align="left" width="31">
      			&nbsp;</td>
      		</tr>
      		</table>
      							</td>
      					<td>
      						&nbsp;</td>
      				</tr>
      				<tr>
      					<td colspan="3" height="72">
      					<p align="center"><table align=center width="896">
      	<tr>
      		<td width="17" height="30">&nbsp;</td>
      		<td width="125" height="30">&nbsp;</td>
      		<td width="57" height="30">&nbsp;</td>
      		<td width="389" height="30">
      		<marquee style="FONT-SIZE: 10pt; COLOR: #666699; FONT-STYLE: italic; FONT-FAMILY: Tahoma" loop="1" width="333" height="17" behavior="slide">Begeleiding &amp; bemiddeling bij het uit elkaar gaan ...</marquee></td>
                            <td width="294" height="30">
                              &nbsp;</td>
      	</tr>
      	<tr>
      		<td>
                              &nbsp;</td>
      		<td colspan="4">
                              <p align=center>
      <%a5 ?x_Navigation.Output.Body.navsysTBH %>
      </p>
      		</td>
      	</tr>
      	<tr>
      		<td align="middle" colSpan=5>
      					<iframe name="I1" width="874" height="22" marginwidth="18" marginheight="4" border="0" frameborder="0" src="Content.htm" align="left" style="WIDTH: 874px; HEIGHT: 980px">
      					Your browser does not support inline frames or is currently configured not to display inline frames.
      					</iframe>
      			    
      		</td>
      	</tr>
      </table></p></td>
      				</tr>
      				<tr>
      					<td colspan="3">&nbsp;</td>
      				</tr>
      			</table>
      		</div>
      			</td>
      		</tr>
      		<tr>
      			<td width="10" height="24">&nbsp;</td>
      			<td width="10" height="24">&nbsp;</td>
      			<td width="9" height="24">&nbsp;</td>
      			<td width="5" height="24">&nbsp;</td>
      			<td height="24" width="848">
      			<p align="center">
      			<font color="#666699" face="Trebuchet MS" style="FONT-SIZE: 9pt">
      			� Scheidingspartner.nl 2007-2008| </font>
      			<a style="TEXT-DECORATION: none" href="PartnerPage.a5w" target=I1>
      			<font color="#666699" face="Trebuchet MS" style="FONT-SIZE: 9pt"><b>Partner Login</b>
      			</font>
      			</a>
      			<font color="#666699" face="Trebuchet MS" style="FONT-SIZE: 9pt">|
      			</font><font face="Trebuchet MS" style="FONT-SIZE: 9pt">
      			<font color="#666699">
      			<a style="TEXT-DECORATION: none" href ="Privacy.htm" target=I5 >
      			<font color="#666699">Privacy</font></a></font></a><font color="#666699">&nbsp;
      			</font></font>
      			<font color="#666699" face="Trebuchet MS" style="FONT-SIZE: 9pt">| Alle 
      			rechten voorbehouden. </font></p></td>
      		</tr>
      		<tr>
      			<td colspan="5">&nbsp;</td>
      		</tr>
      	</table>
      </div>
      </td>
      			<td bgcolor="#ffffff" background="hw-shader.gif" align="middle">&nbsp;</td>
      		</tr>
      		<tr>
      			<td width="8" bgcolor="#ffffff" background="hw-shadel.gif">&nbsp;</td>
      			<td width="4" bgcolor="#ffffff">&nbsp;</td>
      			<td width="4" bgcolor="#ffffff">&nbsp;</td>
      			<td bgcolor="#ffffff" background="hw-shader.gif">&nbsp;</td>
      		</tr>
      	</table>
      </div><!-- Start of StatCounter Code -->
      <script type="text/javascript">
      var sc_project=2747800;            
      var sc_invisible=0;            
      var sc_partition=27;            
      var sc_security="32de71a6";            
      </script>
      
      <script type="text/javascript" src="http://www.statcounter.com/counter/counter_xhtml.js"></script><noscript><div class="statcounter"><a class="statcounter" href="http://www.statcounter.com/"><img class="statcounter" src="http://c28.statcounter.com/2747800/0/32de71a6/0/" alt="website statistics" ></a></div></noscript><!-- End of StatCounter Code -->
      </body>
      
      </html>
      Last edited by emrprive; 02-14-2008, 09:54 AM. Reason: clear content

      Comment


        #4
        Re: How to keep html code in page after publishing?

        Don't know. I would say run it up as a bug because of the original problem of it not preserving what you type in the native location for the head tags.
        Steve Wood
        See my profile on IADN

        Comment


          #5
          Re: How to keep html code in page after publishing?

          The error is caused by invalid html. You have a number of duplicated code sections, and open html tags. For example, you have 2 <head> opening tags at line 1 and line 7. This section from line 2 through line 6 is repeated after the second <head> tag and should be removed so it only shows once.
          HTML Code:
          <head><title>De Scheidingspartner maakt het verschil!</title>
          <style fprolloverstyle>A:hover {color: #FF9933; font-family: Tahoma; font-size: 10pt}
          </style>
          <meta name="keywords" content="Scheiding, echtscheiding, mediation, bemiddeling, scheiden">
          <meta name="description" content="Maak kennis met de scheidingspartner voor begeleiding van uw echtscheidingsprocedure. Kies de scheidingspartner uit uw regio en maak een vrijblijvende afspraak.">
          The a5 code section for the Navigation is repeated and one section should be removed from lines 8 through 25. The page will then publish and work correctly.

          Comment


            #6
            Re: How to keep html code in page after publishing?

            I see Jerry is right. If I start with a plain page and publish, the title sticks. As I add components it still sticks. When I use a5w_include() to include another page, it either does not stick, or gets superceeded by the blank Title section from the included A5W page.

            I've never quite figured out how to use a5w_include() to include things like headers and footers without also duplicating several html tags. Striping HTML tags out of my Header.A5W does not work because that page contains information that belongs in both Head and Body sections. I suspect I need to break up my Header.A5W in to two files, one each for what belongs in the head and body area, and use a5w_include() twice in my target A5W page to bring each file inside the appropriate HTML tags.

            Sorry for taking the post off-topic.
            Steve Wood
            See my profile on IADN

            Comment


              #7
              Re: How to keep html code in page after publishing?

              Hi Steve & Jerry,
              Thanks, removed the doubles.
              But the problem, I figured out later, was caused by the fact that my hosting is taking place at a different profider then where my domain names are registered. Therefore with "domain name forwarding" something goes bad... Now I need to move my hosting in order to have it all work properly...
              Thanks you both very much, Edwin

              Comment


                #8
                Re: How to keep html code in page after publishing?

                Perhaps you can explain, but I doubt that where your DNS resides is a problem. Most of my DNS records are on a server in HongKong and my main hosting server is in Texas. And my DNS record for my home-based server is, I don't even know where. Unless Alphafiveonline provides DNS services, everyone who hosts there has their DNS records somewhere else.
                Steve Wood
                See my profile on IADN

                Comment

                Working...
                X