Guide - Category

Limiting Search Results in Expression Engine

Tweet this

Today I was tasked with added pagination to search results for an Expression Engine site. Piece of cake! Or so I thought.

Ellis Labs, the creators of Expression Engine, did an amazing job with the documentation for their other project CodeIgniter, but I find the Expression Engine docs to be somewhat lacking. For example, there is no mention of how to set the number of search results to return on search results page. I believe the default is 50, but if that’s more than you want, which was the case today, there is no explanation (that I could find), in the documentation, wiki or forums for how to achieve this. Please point it out if you can find it.

After a little digging into the search class I managed to find the answer, and I thought I’d share it here. Quite simply, all you need to do is add a hidden field to the search form to set the post variable “RES” to the number of results you want.

eg. <input type="hidden" name="RES" value="25"> - will return 25 results per page.

Hope this helps!

A Guide to Business Blogging v2 - now available for free download

Tweet this

a guide to business bloggingLadies and gentlemen, the afore mentioned Guide To Business Blogging v2 is now available for free download. This 18 page page pdf will help the beginner blogger get up to speed with the decisions that need to be made before a post is written. It will also help bloggers who need an outline for creating successful, popular, highly trafficked blogs.

The guide contains an outline of the planning methods we use to help clients determine if blogging makes sense for them.

The guide was designed to so that you can quickly read it and get on with your life. Download it, read it, and put it to use right away. I hope you find it useful.

Was this post useful for you? If so, consider clicking this Digg This link so we can share this with more folks. Thanks!

Two upcoming free publications

Tweet this

We’re hard at work on two new short guides: A Guide to Business Blogging for Small Business Owners, and A Guide to Hiring and Working With Web Designers.

The Guide to Business Blogging is a thorough rewrite of the popular e-book I released last year. Since I sat down to write it the first time, I’ve had the opportunity to speak to a number of groups and teach a couple of courses aimed at the business blogger. This new edition is more targeted towards the small business owner, and offers a ton of tips and how-to information.

The Guide to Hiring and Working With Web Designers is intended to demystify the design process, and equip the client to make smart buying decisions. Areas covered include rates, timelines, what to expect, a glossary of design terms, samples of work in progress, and more.

Both guides will be available as free pdf downloads.

To be notified when the guides are available for download, please click here to send a quick note.

Note that your email will not be shared, and you will only receive one message informing you of publication. I won’t abuse your email inbox. Ever!




——-

The Guide to Business Blogging is now available

Tweet this

Our free Guide to Business Blogging is a great place to get started. It outlines the planning process, goal setting, choosing software/service options, writing tips, and promotional ideas.

The first annual Guide is now available.

To download your copy of the guide, simply click the download link below.

A note: this is a pre-release version of the guide. As such, it’s a bit rough around the edges in places.

DOWNLOAD 1.5MB pdf——-

The Inevitable Postponement

Tweet this

My sincere apologies to those of you who have requested my Guide to Business Blogging. It’s going to be late.

This blogging thing works so well that I haven’t had enough time to get the guide polished to the point I’m willing to release it. I’m a bit of a perfectionist – in certain areas of my life (that last bit is for the benefit of my wife, who no doubt will guffaw, given the state of my non-work environment).

I am aiming to have the guide ready for download before the end of the month, and hopefully sooner than that. If you haven’t yet done so, and would like to be notified when the download is ready, please shoot me an email——-