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

What-is-ASM.com ::

Integration Templates


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



While many webmasters took to Amazon Store Manager as an add-on component to their current or existing websites, we look at it from the other end, looking at whether other service scripts can be adopted into ASM's content management system.

The first step, preparing the integration templates is quiet easy. ASM2 came with a prototypical script page in it's root directory, links.php, which we use. Do a copy of the file, remove all reference to the links section of the programme and you have the basic template dummy, shown below :


Adding the Bells and Whistles
The PHP bit at the top of the page is where you add the title of the page. This text line will be passed back to ASM as a BrowseNode and it will diplayed accordingly as programmed.

We also adopted the table style of the script/templates/browsepage/catpage.tpl to retain the look and feel of the page layout, which again will return the BrowseName variable as the main page title :


Run from different content folders
Add the appropriate relative links back to /script sub-directory and you can call these pages from any content subfolder that you have created...


The next few tutorials in this section will cover the scripts that we have integrated in our Amazon Store sites. »


© 2005, 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