Use
GitHub to post feature requests for
phpwcms .
sunflare
Posts: 6 Joined: Fri 21. Nov 2003, 15:35
Post
by sunflare » Wed 7. Jan 2004, 13:17
What about a replacement tag for the search function?
It would simply do something like this (like in thread
http://www.phpwcms.de/forum/viewtopic.php?t=517 )
Code: Select all
{SEARCH:444}
<form action="###search_input_action:444###" method="post">
<input name="###search_input_field###" type="text" size="10" maxlength="200" value="###search_input_value###" style="font-size:10px; width:75px;"> <input type="submit" value="Go" style="font-size:10px;">
</form>
And if you're not glad about it you can change look and feel via the conf.templ.php (like {NAV_TABLE_COLUMN})
frold
Posts: 2151 Joined: Tue 25. Nov 2003, 22:42
Post
by frold » Wed 7. Jan 2004, 14:12
the only problem is if someone want to use a images as the search button or have a different text on the search button, but then they could use a the search form and a phpwcms newbie could use the replacement tag
sunflare
Posts: 6 Joined: Fri 21. Nov 2003, 15:35
Post
by sunflare » Wed 7. Jan 2004, 15:46
like I said:
the look and feel should be in conf.template_default.inc.php
It's a nice and easy way to change layout.
frold
Posts: 2151 Joined: Tue 25. Nov 2003, 22:42
Post
by frold » Wed 7. Jan 2004, 16:24
sunflare wrote: like I said:
the look and feel should be in conf.template_default.inc.php
It's a nice and easy way to change layout.
Ahh I see...
eglwolf
Posts: 70 Joined: Mon 12. Apr 2004, 01:23
Post
by eglwolf » Wed 28. Apr 2004, 05:57
Is there a replacement tag for the search function? What can the site search be set up, I have read some posts in the fourms ( but the PHPBB search functions sucks everytime I search for things, I get like 100 unrelated forum posts, so it is hard to search and actually find what you want in the forums.
Oliver Georgi
Site Admin
Posts: 9907 Joined: Fri 3. Oct 2003, 22:22
Contact:
Post
by Oliver Georgi » Wed 28. Apr 2004, 08:29
No, there is no replacement tag for search - and there is no need for it - in my eyes.
Oliver
1996 328ti
Posts: 317 Joined: Mon 19. Apr 2004, 06:10
Location: Greenville, SC USA
Contact:
Post
by 1996 328ti » Sat 19. Jun 2004, 05:05
This is probably far fetched but. . .
I have a phpBB forum on my WCMS site.
Is it possible to include phpBB in the search?
Will
Posts: 55 Joined: Mon 9. Aug 2004, 05:30
Post
by Will » Fri 13. Aug 2004, 07:41
Oliver Georgi wrote: No, there is no replacement tag for search - and there is no need for it - in my eyes.
Oliver
Hi Oliver, thanks for this damn good thing!!!
Could you explain why you don't see the need of this RT???
What if you want to include a little search box in a side bar? not just into a document.
Thanks in advance,
Will
Oliver Georgi
Site Admin
Posts: 9907 Joined: Fri 3. Oct 2003, 22:22
Contact:
Post
by Oliver Georgi » Fri 13. Aug 2004, 08:05
this is possible - check forum. There are some replacement tags for having such "external" search form.
Or create one by using the search function and copy the source.
Oliver
Will
Posts: 55 Joined: Mon 9. Aug 2004, 05:30
Post
by Will » Fri 13. Aug 2004, 14:20
Oh, sure... I meant to say... as an easy and straighforward way to do it: A la phpWCMS so to speak... Not a workaround.
Anyway... Ionly have a bunch of days using phpWCMS... perhaps I still need to play with it a bit longer.
Thanks for your answer,
Will
Oliver Georgi
Site Admin
Posts: 9907 Joined: Fri 3. Oct 2003, 22:22
Contact:
Post
by Oliver Georgi » Fri 13. Aug 2004, 16:00
but this is nearly not possible (at the moment) - there is a replacement tag for search form action and the serach field
Most time people want to use a custom serach forms if outside in another place than the main content section.
Here is a sample (result looks like this
http://www.rondo-promotion.de/index.php - right column)
Code: Select all
<form action="###search_input_action:10###" method="post" name="kuenstlersuche" target="_self">
<table width="160" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><input name="search_input_field" type="text" id="search_input_field" size="20" style="width: 120px" value="###search_input_value###" title="Nutzen Sie Platzhalterzeichen (*/?)"></td>
<td align="right"><input type="image" src="img/rondo/button/suchen.gif" alt="Senden" width="35" height="17" border="0"></td>
</tr>
</table>
</form>
Oliver