Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » [archived] rss_if_search_results

#1 2006-08-10 20:45:47

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

[archived] rss_if_search_results

Notice: This thread is archived, there is a native txp tag now: <txp:if_search_results>

**********************************************************

I was in need of displaying a “no search results found” message while building Mestolando for Claudia and Brian a couple months ago and found that there was no way to do that in TXP 4.0.3. I tracked down this post by wet which showed how to build the message using embedded php. All I did was built it into plugin form.

Come to find out, you can also do this using chh_if_data but hey, I already wrote the plugin, so here it is…

rss_if_search_results

Offline

#2 2006-08-11 00:47:48

bb50014
Member
From: fiesole, italia
Registered: 2004-04-13
Posts: 15
Website

Re: [archived] rss_if_search_results

…the plugin works very well giving us the ability to display a page of our choice. before rob made the plug a blank search page would come back, looked like the page was broken. now we can msg to the viewer and give them some other options… thanks rob.

cheers,
brian & claudia

mestolando.com

Offline

#3 2006-08-11 09:27:27

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

Re: [archived] rss_if_search_results

Rob,
Nice design on the site as well :)


Offline

#4 2006-08-11 11:03:22

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [archived] rss_if_search_results

I agree, but the design was all Claudia and Brian’s doing. They’re also talented designers in addition to being good cooks.

They provided me with HTML templates and a plan for how they wanted the site to work. I then designed and built the Textpattern architecture to run the site.

Offline

#5 2006-08-11 14:02:59

bb50014
Member
From: fiesole, italia
Registered: 2004-04-13
Posts: 15
Website

Re: [archived] rss_if_search_results

hi matthew,
thanks for the kind words.

personally i’m a fan of your site’s design (artiswork.org)… clean, bold, original and emotive. i’ve seen you change it over time and enjoy the changes… last i can remember is you modified the design of your footer area…

cheers,
brian

Offline

#6 2006-08-11 17:04:37

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

Re: [archived] rss_if_search_results

ma_smith wrote:

Rob,
Nice design on the site as well :)

The recipies look great too.

Thanks for the plugin rob
I’m off to the kitchen now


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#7 2007-06-01 15:55:51

rockbeatspaper
New Member
Registered: 2005-01-21
Posts: 5

Re: [archived] rss_if_search_results

I can’t get this plugin to function properly. It seems like it always gets stuck in the “no results” case. Could you give a more detailed example of how and where to use this plugin. Thanks.

Offline

#8 2007-06-07 17:21:06

Transmodiar
Member
Registered: 2007-02-22
Posts: 17

Re: [archived] rss_if_search_results

I get the following error when I attempt install:

Fatal error: Call to undefined function gzinflate() in [site]/textpattern/include/txp_plugin.php on line 207

I don’t have any problems inflating other plugins. Any thoughts?

Offline

#9 2007-07-20 14:43:26

egyarnetsky
Member
From: Madison, Indiana
Registered: 2006-11-27
Posts: 13
Website

Re: [archived] rss_if_search_results

See if this forum thread helps at all…

http://forum.textpattern.com/viewtopic.php?pid=150853

I’m having the same problem, but this gave me some clues

Offline

#10 2007-07-25 08:29:32

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 805
Website

Re: [archived] rss_if_search_results

It must be simple, but it doesn’t work at this site > www.duendestudios.nl

<div class="search">
<txp:rss_if_search_results>
<h4><txp:permlink><txp:title /></txp:permlink></h4>
<p><txp:search_result_excerpt /></p>
<txp:else>
<h4>Oops ... no results found! Try another keyword, please!</h4>
</txp:rss_if_search_results>
</div>

Thanks for any help!

[edit]
Solved … more or less! Go to > http://forum.textpattern.com/viewtopic.php?id=14163

Last edited by RedFox (2007-08-01 15:20:13)

Offline

  1. Index
  2. » Archives
  3. » [archived] rss_if_search_results

Board footer

Powered by FluxBB