Gossamer Forum
Home : Products : Gossamer Links : Discussions :

<%Category%> ??

Quote Reply
<%Category%> ??
When I put <%Category%> into an inputfield I get this showing in the text box:

Arts/Movies <input type=hidden name='CatLinks.CategoryID' value='17'>

How do I specify the box so that the category comes up inside the box without the "<input type=hidden name='CatLinks.CategoryID' value='17'>" on the end of it??

And how do I get add.cgi or add.html or whichever file to include my extra form info with the posted email?



Code:


<tr><td align="right" valign="top">Suggest a Category (optional):</td> <td><input name="sugcat" value="<%Category%>/" size="50"></td></tr>

Last edited by:

sooke: Apr 11, 2002, 7:15 PM
Quote Reply
Re: [sooke] <%Category%> ?? In reply to
Actually, looking at all the last years posts on this, it just looks waaaayyyy to complicated for me to do!

Has anyone already got a decent suggest a category mod, which is pretty easy to install?

Please see my other message at:

http://www.gossamer-threads.com/...orum.cgi?post=190472
Quote Reply
Re: [sooke] <%Category%> ?? In reply to
Come on, sooke!

There are a lot free form mailers on the net.
You can use any of them for Suggest Category, as I suggested in an earlier post. Using a form mailer is the easiest solution I can suggest.
Yes, there would be fine to have an implemented Suggest Category, but it would be much more complicated than using a form mailer.

Check here:
http://cgi.resourceindex.com/...erl/Form_Processing/
http://www.hotscripts.com/...ams/Form_Processors/

Personally I recommend, this powerful one (AlienForm):
http://www.cgi.tj/scripts/alienform/

I hope this helps.

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
Quote Reply
Re: [webmaster33] <%Category%> ?? In reply to
Hmmm, my post does sound desperate! Thanks, but I have not given upSmile I do have a simple form version almost working now, and thanks for those links too.

You hit the nail on the head there... it is complicated for the inbuilt version of this. I am hoping that maybe there will be some support for this in a future version... until then, lets go with this way.


http://www.iuni.com/...tware/web/index.html
Links Plugins
Quote Reply
Re: [sooke] <%Category%> ?? In reply to
I'm sure, there will be support later... But I can not tell you, when will Alex decide to implement this.

My intuition is, that there will be more earlier a plugin for that, instead to be implemented into LSQL. Wink

I would make it a plugin, but currently this feature is only at the last position on my development list, because there is an easy form mail solution for it.

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
Quote Reply
Re: [webmaster33] <%Category%> ?? In reply to
I have a seperate form which someone fills in..... looks bad in my eyes... it really should be in the same place as the add a link I think.... I take it your versions is not part of the add a link form?

I wish I was a the stage where I could write a plug in... this one is begging for itWink
Quote Reply
Re: [sooke] <%Category%> ?? In reply to
In Reply To:
it really should be in the same place as the add a link I think.... I take it your versions is not part of the add a link form?
Then place the form into the add.html template or place the link of the page with form mailer near the add.cgi link.

This is easy, just html knowledge needed to do what you want (only need to use some tags if you want to include the category name or id into the mail, but it is also a basic Links template knowledge).

(now I'm away for 24 hour...)

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...