Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [no-results]

The tag has no usage guidance.

1
vote
1answer
52 views

stop google from crawling ajax pages with no <head></head>

I have a static site that pulls in pop up content using ajax. I don't want search engines to index those ajax pages. I know there are ways to block pages with <head> <META NAME="ROBOTS" ...
0
votes
2answers
53 views

Channel data not displaying in channel loop, but does display in query module tag

I recently had a client referred to me who has an existing EE build, v2.73, and some of their entries just stopped displaying on their templates. According to them, no code has changed and no software ...
1
vote
1answer
67 views

No Results Tag Isn't Working

I can't seem to figure out why the no_results tag isn't working for the Who's Attending page I'm working on. I have one page that lists all of the current events. You can click on any of the event ...
0
votes
1answer
458 views

No results not working

I'm trying to display one entry with the search:field_name parameter of ExpressionEngine. This works fine, but I can't get the no results tag to work. I have tried a lot of things, including the use ...
0
votes
2answers
496 views

404 not working; bad URLs show only blank page

My website is displaying a blank page when incorrect/absent URLs are used. But I would like it to show a 404 page such as this template I've created. I have tried to set my global template ...
0
votes
1answer
132 views

no_parents/no_results Using playa entry results based on a url segment, want to display no results

I have a list that builds based on the URL segment. Sometimes there no entries for the segment and need to display "no results". I have tried several varations on this and nothing seems to work. Any ...
0
votes
1answer
162 views

no_results in custom plugin?

Is there a way to return 'no results' from a custom plugin with the standard conditional of: {if no_results}{/if} I have resulted to using: if ($query->num_rows() > 0) { } else { return $...
0
votes
1answer
30 views

Sort and Results on Custom Fields (not category)

I'm trying to add a sort / results feature on 2 custom fields which would look similar to what I've started here using categories but using custom fields instead: http://192.241.255.103/ee272/jdb/...
1
vote
1answer
324 views

Simple Search and Grid field not returning results

EE v2.8.1 - Build Date: 20140314 I have a Grid field that is set to searchable, the columns are also set to searchable. It is in the about channel and is populated using the pages module. I have a ...
0
votes
1answer
61 views

Expresso Store no_results

I am using expresso store:search tag in a page and I am submitting a price range (min/max) to the tag as follows: {exp:store:search channel="products" search:price:min="{post:min_price}" search:...
1
vote
2answers
88 views

Splitting search results into tabs with no results messages

We're building a search that has a tabbed results page, we have a tab for each channel, works great apart from when there's no results for a particular channel and we're struggling to find the correct ...
1
vote
1answer
590 views

Custom no results page not showing, shows default page

I am trying to get a custom no search result page working and all I keep getting is the standar white background/ gray box with the text, Search Results: Your search did not return any results. ...
1
vote
1answer
193 views

Condition if entries exist?

My markup: <section id="box"> <ul id="slide"> <li></li> <li></li> <li></li> </ul> </section> I want to show the section box only if date ...
2
votes
1answer
221 views

stash:cache and no_results inside channel:entries does not redirect

This seems to be linked to the issue discussed on this question however it's using cache tags instead of parse and I'm redirecting to a 404. My code is as follows: {exp:stash:cache name="page"} {...
0
votes
1answer
72 views

Solspace Rating - {if rating_comment_no_results} is never true!

I'm using Rating 3.2.3 and EE 2.7.2. In my template, the tag {if rating_comment_no_results} never returns true and never displays its content, even when there are no comments for that rating. ...
0
votes
1answer
105 views

no_results not working when moved to snippet

I have moved embed code to be a snippet. After that move no_results stopped to work (part of the code below) {exp:channel:entries channel="products" category="{segment_2_category_id}" orderby="title" ...
0
votes
2answers
259 views

How to use stash:parse and no_results

It seems many users have issues with Stash and no_results, but as far as I can tell, nobody is trying to do this scenario. Please forgive me if I missed something. I would like to redirect users to a ...
0
votes
1answer
358 views

Stash no_results problems

I'm having two separate no_results problems with Stash. First, if I visit a page that doesn't have a corresponding last segment using the code below, the page displays stuff like {...
3
votes
1answer
262 views

Handling no results redirect with Stash

This is more an A than a Q. Last week I ran into no results / redirect problem with Stash and more precisely the EE's parsing order. The solution below worked for my case. I don't take credit for it ...
4
votes
1answer
157 views

Restricting search or search results to the logged in member's id

I have a restricted site, where users have to login to see any content. The content they are shown is restricted by their member id. To do this, each entry is assigned to a specific member. I'm using ...
1
vote
1answer
97 views

P&T Assets - How to show no results?

i was playing around with Assets 2.1.4 and i was wondering if there is any way of checking for no results. My code: {my_assets_field limit="30" offset="80"} <li><a href="{url}" alt="{...
1
vote
2answers
626 views

404 redirect with multiple segments not working

I have a page on my site: mysite.com/index.php/staff/staff-bio/john-smith I'm using this 404 redirect: {if no_results OR segment_2 != "staff-bio" OR segment_4 != ""}{redirect="404"}{/if} On a ...
1
vote
1answer
101 views

Hide menu item if no results for a certain channel

I'd like to hide a menu item called 'Events and Activties', if there are no entries in that particular channel. I've tried to do this using this code but it's not working: <ul class="nav-bar"> ...
1
vote
2answers
1k views

Starting with Low Search

I'm new to Low Search, and i'm trying to get Low Search to work. But when i use the expample codes and after a while of experimenting with some parameters i don't get it to work. What i noticed is ...
3
votes
3answers
1k views

If no results for {categories}

Is there a way to display a fallback snippet if a {categories show_group='xy'}-Tag is empty / a entry does not have a category? The example… <p>Category: {categories show_group='xy' backspace='...
4
votes
2answers
87 views

How to send email to admin if no_results?

I have a page that lists programs people can donate to for a non-profit. This list is updated from a separate database. The current flow takes the entries offline via using Solspace Import to mark ...