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

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, 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. Ladies 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. 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.

Карта сайта

Информационный сайт