Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Formtool : load javascript file problem

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Add-ons
View previous topic :: View next topic  
Author Message
fuhraih
Smarty n00b


Joined: 11 Aug 2009
Posts: 3

PostPosted: Mon Sep 28, 2009 3:05 pm    Post subject: Formtool : load javascript file problem Reply with quote

Hello,
I have a problem with the load of js file of formtool.

I am developping a script with Smarty, and I would like to load my JS file, whatever the directory of my script is.

for example, I have these directories :
Code:

/DOCUMENT_ROOT
  /my-script
    /js
      formtool.js
    /smarty
    ....


I would like to load my file, even if I don't know where my script is installed.
For example :
Code:

/DOCUMENT_ROOT
   /my-website
     /my-script-with-other-dir-name
        /js
           formtools.js
        /smarty
        ....


I don't know if I am clear. My English is not very good..

Thanks in advance
Code:
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Add-ons All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP