
Dogcatfish
User
Nov 5, 2004, 2:35 AM
Post #1 of 7
(7620 views)
Shortcut
|
|
Writing AM Add-ons - Basics
|
Can't Post
|
|
Good day all. So far I have done very little adventurous stuff to my website, simply using all of the tools AM has to offer in it's default condition. As a result, I have not written scripts or add-ons for it so far, not for lack of trying. When I first started using it, I was having trouble linking to the images I wanted to appear for the page layout. I then realised that this could only be done by using the placeholders - $img_url$/... This was alright, however I am still unsure why it did not like either virtual or relative paths without a $img_url$ tag. However, I am drifting from my point. I have tried writing small php scripts to include at the bottom of the page, mabye displaying something as simple as a date in year format. The usual result I get is simply "[there was a problem executing this script]" in place of my date. When you are writing scripts, etc to be included on a page, which directory do you upload them to, and how do you link to them without AM complaining? Nick Lines www.diagnosticsonar.com
(This post was edited by Dogcatfish on Nov 5, 2004, 2:38 AM)
|