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

Formsess instalation problems

 
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 -> Plugins
View previous topic :: View next topic  
Author Message
dab
Smarty Rookie


Joined: 17 Aug 2003
Posts: 13

PostPosted: Thu Feb 05, 2004 10:42 pm    Post subject: Formsess instalation problems Reply with quote

Hi
I'm having problems installing the plugin Formsess. I've looked through the forum and it seems I'm the only one that is having difficulties installing it.
The fs tags are parsed just fine but I'm not getting any javascript output.
And it only works when I use the Smarty_formsess.class.php example class. When I use the other, Smarty_fs.class.php I get this error:
Fatal error: Cannot instantiate non-existent class: fs_filter in c:\apache\Smarty\Formsess\smarty_plugins\prefilter.fs.php on line 11

I couln't find anything about that I have to enable the client side javascript check to get javascript output.

Another weird thing is that it parses this template code:
Code:

        <fs:select name="select_field">
          <fs:option value="1">1</fs:option>
          <fs:option value="1">2</fs:option>
          <fs:option value="1">3</fs:option>
        </fs:select>

as:
Code:

        <select  name="select_field">
          <option label="1" value="1">1</option>

          <option label="2" value="1">2</option>

          <option label="3" value="1">3</option>

        </select>

I don't know if it's relevant but notice the double space between select and name.
Back to top
View user's profile Send private message
katana
Smarty Rookie


Joined: 17 Apr 2003
Posts: 26
Location: France

PostPosted: Wed Feb 25, 2004 10:27 pm    Post subject: Reply with quote

Quote:
And it only works when I use the Smarty_formsess.class.php example class. When I use the other, Smarty_fs.class.php I get this error:


Yes, since Smarty_formsess performs a few init steps, like loading the prefilter class, and so on. It's not mandatory, but the steps it performs are mandatory.

For JS validation, do you have <fs:validate> tags in your template ?

Sorry about the delay, but I'm not monitoring the smarty forums, for formsess related support, you should use the formsess mailing lists or the forums at http://www.sourceforge.net/projects/formsess/
Back to top
View user's profile Send private message MSN Messenger
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 -> Plugins 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