This wiki is managed by www.edeskonline.com - an online operating system. Click here to know more.

Web page creation ( advanced method )

From EDeskWiki

Jump to: navigation, search

Use ePublishing tool of eDesk Online to publish your webpages (Website).


Contents

Setting up XML Template for your Website

XML Link between Website and eDesk eCabinet Help Page Setting up XML Template for your Website You can setup a link between your website and your eDesk eCabinet. The benefit in doing this is that you can now modify your website content using your eDesk eCabinet.


A one time activity needs to be done to setup your site.

Steps to setup your site: 1) Create a file called index.asp. You can even create this in notepad. Copy paste the following code in the file:

<%@LANGUAGE="VBSCRIPT"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Welcome to Gurukrupa Real Estate</title>
<% xmlfile="My_Website.xml" %>
<!--#include virtual="xml.asp" -->
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="158" valign="top">
<%=displayefield(148,"u_BF4C7965")%>
</td>
<td>
<%=displayefield(149,"u_BF4C7965")%>
</td>
</tr>
</table>
</body>
</html>


  • Remember to replace u_BF4C7965 with the Internal Name of your Content field. You can obtain this internal name, by going to your edrawer >> Design View >> Click on the Content Data Type in the right menu. The Internal Name will appear on the side.
  • Also Remember to replace the number in the displayfield with the eform id of your page. You can obtain this eform id, by going to your edrawer >> click on view eform >> The eform id will be displayed on top.
Eg: <%=displayefield(eform_id,"u_BF4C7965")%>

Now create the following eFields in your eDesk environment, if they do not exist:

Field Name: Content
Field Type: Formatted Text

Field Name: Title
Field Type: Single Line of Text 

3) Now create the following eDrawer in your eDesk environment:

eDrawer Name: My Website
Fields:
1. Title
2. Content

Now create one eForm for the left menu.

You can add the links to all your pages here. After saving this eForm, check the eForm Id. Replace the sample eForm Id 148 in the index.asp page which you just created with this eForm Id.

Now create one more eForm and write the content of your home page here.

After saving this eForm, check the eForm Id. Replace the sample eForm Id 149 in the index.asp page with this eForm Id.


With this your home page is ready for upload.

To create other pages for your website,

Just make a copy of the index.asp page which you just created and rename it. For eg. aboutus.asp Now create a separate eForm for this new page. Note down the eForm Id and replace the eForm Id in the asp page. The eForm Id for the left menu remains the same for all your pages.

  • Now publish your eDrawer.
  • Login to your FTP server using the FTP details provided to you at the time of your signup.
  • Delete the index.html page if it exists.
  • Upload all the asp files which you just created.

Your site is now up and running.

Topic Working with FTP Setup Summary Setting up FTP for Publishing my web pages Help Page (A) Click on My Control Panel -> FTP Setup option of eDesk Online Menu.

On the FTP Setup page enter as per the following:

  • FTP Server Details
  • FTP Server Name*
  • FTP Server Port Number* (Default 21)
  • Domain Name* eg. http://www.your-company.com
  • Home Directory*: eg. /httpdocs (You can get your home directory details from your web-host.)
  • FTP Account Details
  • User Name*
  • Password*
*Required Fields

See Also

Personal tools