Username Password
    Search

Electos Tutorial / Address Bar


Electos comes with default ASP templates: normal.asp, news.asp, and gallery.asp. These templates are there to help you get started. One thing that has always bugged me is having my address bar look like this http://www.redeemedsoftware.com/normal.asp?pageid=31.

Normal.asp just isn’t descriptive at all. What I want is to have it show home.asp, products.asp, and contact.asp. But what I don’t want it to now have to maintain all those additional ASP templates. If I am going to have to create that many ASP templates, I might as well be running a static HTML website! What I want is to have one design, but display different names. 

Thankfully, the solution is quite simple: Create empty ASP template files with the names as you want them to appear. This way the visitor sees what you want them to see http://www.redeemedsoftware.com/home.asp?pageid=31. It only takes a few minutes to do this yourself. Put this line of text in each of the newly created ASP template files (note: you use this technique for any ASP template, including ones you created.):

<!-- #include file=’normal.asp’ -->

Next, you need to tell Electos you created new ASP templates that you want to use within the studio. Go to the CONTROL PANEL and add each of the ASP templates you created.

asptemplates

TIP: by default, all ASP templates are created as "inherit from parent". This means that they will use the same template assigned to the parent. If you created a category named "Products", you could create an ASP template named "products.asp" and assign it to your "Products" category. The result is that each product in your "Products" category would use the "products.asp".

TIP: When add your ASP template to Electos, the way you enter the file name is how it will appear in the address bar. DO NOT USE SPACES because they will be converted to " " in the address bar. Please consider the following:

./newproducts.asp?pageid=101       
./NewProducts.asp?pageid=101      
./New Products.asp?pageid=101
./New-Products.asp?pageid=101    
./New_Products.asp?pageid=101    

TIP: Keep in mind these will also be used in links to your website. Whether you have your product listed on Download.com, send an email link to a client or prospective client, another website owner links to your site, or your site gets indexed by search engines, consider what everyone will see in the link name.