Forums / Cotonti / Support / A few questions

SunChase
#1 2009-10-10 20:18
Tell me please the next things:

1.How to make the Searchform work.
I'w put :
 <form class="searchform" action="plug.php?e=search" method="post">
                <input type="text" class="input" name="sq" value="{PHP.skinlang.header.Search}" size="15" onblur="if(this.value=='') this.value='{PHP.skinlang.header.Search}';" onfocus="if(this.value=='{PHP.skinlang.header.Search}') this.value='';" maxlength="32"  />
                <input type="image" src="skins/{PHP.skin}/img/pannels/searchbutton.png" class="search_button" value="submit">
                </form>
in the index page,and when i press the search button i get "Wrong URL" error.

2.How to work with ratings.In the page I've put the needed tags.It seems to be working.
But when I've put the PAGE_ROW_RATINGS tag in the news tpl it showed an image with "vote0" file name(in previous versions when i used the ratings system it showed what i'w voted for in the page).How to fix this?

3.I saw in some topic here (but cant remember where) how to show in the list(like downloads) not only the things from that category,but with subcategories.How to do this?
[url=http://ka13.orgfree.com]KA13[/url] - The essence of creativity
pieter
#2 2009-10-10 20:24
SunChase
#3 2009-10-10 20:52
pieter thanks.One down,two to go
[url=http://ka13.orgfree.com]KA13[/url] - The essence of creativity
Kingsley
#4 2009-10-11 18:41
I tried to use this to, but when I typ in a search, it only directs me to the search page, and then I have to press search again, before seeing results.. How did you bypass that?
Kort
#5 2009-10-11 18:52
<form id="search" name="search" action="plug.php?e=search" method="post">
	<input type="hidden" name="a" value="search" />
	<input type="text" name="sq" value="" maxlength="40" />
	<input type="submit" value="Search" />
	<p class="small"><a href="plug.php?e=search">Advanced search</a></p>
</form>
Should work fine
SED.by - создание сайтов, разработка плагинов и тем для Котонти
musiconly
#6 2009-10-11 18:54
Guys, why don't you simply download FireBug for FireFox and learn how to use it? :)
Many wonderful things can be done with it, meaning that you can view the source on the "search page" and then include it wherever you want - index, header, footer, etc.
Just a suggestion :)
Kort
#7 2009-10-11 18:56
Opera users do it a different way :)
SED.by - создание сайтов, разработка плагинов и тем для Котонти
SunChase
#8 2009-10-11 19:52
Thanks Kort.It works perfect.
Kingsley try Korts method.
[url=http://ka13.orgfree.com]KA13[/url] - The essence of creativity
musiconly
#9 2009-10-12 03:03
# Kort : Opera users do it a different way :)

Or Chrome users ;)
SunChase
#10 2009-10-12 03:09
the third problem remains.How to make the list show material not only from some category but from its subcategories.Can someone help on this one?
[url=http://ka13.orgfree.com]KA13[/url] - The essence of creativity
Kingsley
#11 2009-10-12 04:17
@ kort,

thanks man..