Yup, although you might wanna make sure and wait for someone else here to confirm my answer as I am not confident. Better yet, why don't you give a call to the Verisign guys because they can assist you better...
Wow, ultra fast reply and spot on. thanks ever so much. this worked a treat for anyone else wanting to know how to do this..
You have made a lady very happy, been searching for ages..
Thanks again...
Quick question how could I get it so that it opens in a fresh window. I know html it's the _blank command. but php I dont know...
<?php echo '<a href="'tep_href_link(DIR_WS_DOCS'returns.doc')'".
Target="_blank".
>Returns document</a>'; ?>.
Opens in a new window..
Hi,.
This may be well simple but want to know what the best way to do it is for os commerce..
Basically I have a returns page for goods and want to create a document link that when the person wants to return an item they click and can print off the created document..
So a) how do I do the link..
And.
Where do I put the document. can I create a new folder called docs say and then link to there..
Anyone know a better way! any ideas I will be up till 4am...
Place the document anywhere you want ... then link to it using your tep_href_link function.
For instance you can place your documents as you said in a folder called.
Docs.
(lets say your document is called returns.doc).
Then you can link to the file like so:.
<?php echo '<a href="'tep_href_link(DIR_WS_DOCS'returns.doc')'">Returns document</a>'; ?>.
BUT then you need to add this in your.
/includes/configure.php.
File ANYWHERE before the closing.
?>.
Define('DIR_WS_DOCS', 'docs/');.
So then you can place all your documents in this folder.
Docs.
And link to them using the tep_href_link function I showed you above and simply changing the filename to the doc you want to link to (.
Returns.doc.
In above example) and what you want to be displayed to the browser (.
Returns document.
In above example).
BACKUP YOUR FILES BEFORE MAKING ANY CHANGES.
This post has been edited by.
SLaV-.
: 13 January 2009, 01:05..

