Saturday, November 22nd 2008 | dance | trends | lot10 on Squidoo | my zimbio
Google

What-is-ASM.com ::

ASM2 Landing Pages


Knowledgebase
Installation
Browse Nodes
Customization
Integration
WebDev
Interconnect
New On Squidoo
Browse Node Lookup
The Way Of The Web
Deals & Steals
OneAutoBox
OneHomeChoice
OneHotFuzz
OneHotPick
OnePhotoBox
OneShoeBox
OneToolBox
OneWatchBox
PickABag



ASM2 (Amazon Store Manager Version 2), a free Amazon Store affiliate script defaults, on installation, to a landing (home) page with a short Welcome Message and the Store Category listing with the same category listed again as the main menu items. The Welcome Message is parsed by the %%welcomeMsg%% variable, called from the script/templates/header.tpl file.

An alternative to this setup configuration is setting the landing page to show a specific product category. This is done by editng the script/config.php file to remove the hashes (#) that is currently disabling the $frontpage_SI and $frontpage variables from being called.

Set the default product category display by specifying the SearchIndex (Books, Music, DVD...) and BrowseNode (1000, 1, 45...) that is complementary to your website.

This alternative removes the Welcome Message from the landing/start up page, showing only the Store Category listing and the first page of the specified product category.

Beyond this is the webmaster's creativity...


Editing the Welcome Message

The Welcome Message is in the the script/templates/welcomemsg.tpl file and this can be easily edited to suit or complement your website.

You can remove or choose not to display this message by disabling/deleting the %%welcomeMsg%% variable from the script/templates/header.tpl file.


Adding Content to the default.tpl file

The content of the default landing page is actually a parse of the script/templates/default.tpl file which displays the sitename and contents of %%catlinks%%, the Store Category display (see box below).

Removing, editing or adding content to this file will means that you are removing, editing or adding content to the landing page of ASM2, a nice notion that you can think about.


Create an independant Landing Page

You can, of course, go and create a completely independant start up page for your site, but if you wish to retain the overall look and feel of the site, then you might want to consider working from your own site template.

Have a look at our Integration Template tutorial to help you get started on creating the template dummy, basically starting with a page as shown in the box below.

Give this new landing page of yours a decent name, say home.php, and manage it's access from the .htaccess file.


Managing .htaccess

Edit the .htaccess file to point to your new page as the landing page of your site and you are all set.




© 2006, dinodino :
All articles/tutorials are copyright and may not be reproduced without prior consent of their owners.


Copyright © 2005 - 2008   All Rights Reserved   WebDev by : What-is-ASM.com