Articles tagged with "helper"

TextImage Helper

By meek
You want to use a non-standard font for headlines or a navigation on your site, you want to keep them dynamic but you don't want to use Flash - this helper might be for for you.
[Read more]

Pagination Helper

By Andy Dawson
The pagination helper, for instruction on use see: http://bakery.cakephp.org/articles/view/65
[Read more]

SeleniumHelper

By Daniel Hofstetter
A helper to make writing Selenium tests easier. See http://www.openqa.org/selenium-core/
[Read more]

Behaviour.js Helper

By Kjell Bublitz
Helps you using the Behaviour Javacript in your App. Behaviour can be used to attach Javascript to Elements. With this you can easily avoid using inline-Javascript.
[Read more]

Textile 2.0.0 helper

By Walker Hamilton
This let's you easily use Textile to process content for your application.

Just drop it in /views/helpers/textile.php, then $textile->process($thedata).

You can also $textile->processRestricted($thedata) if input is coming from an unreliable source.
[Read more]

Geography Helper

By Mike OToole
The geography helper allows you to easily produce arrays of states and countries for convenient use within the form helper select function, as well as format state names, longitudes, and latitudes.
[Read more]

othAuth helper 0.1.2

By Othman ouahbi
Helper part of othAuth
changes:
0.1.2:
- Fixed another bug in getData ( wasn't calling init())
- Added support for 1.2
- Added a function hasPermission by Brett ODonnell aka cornernote

0.1.1:
- Fixed a bug in getData
- uses the session helper now
[Read more]

cakeinfo() helper for cakePHP

By Siegfried Hirsch
As a newbie in cakePHP it is often hard to get all the constants right and not always easy to recognise, what is already defined in the cakePHP core of constants.
[Read more]

Country Select List Helper

By Tane Piper
If you are having users register for your site, especially a customer - you may want to know their country of residence. Instead of having to create a select list and manually enter each country - this handy helper does it for you all.

[Read more]

CSS Menu Helper

By John Reeves
This is a helper and CSS file for displaying a dropdown menu on your site.
[Read more]

Pagination Helper for Long Content

By Erich Beyrent
In one of my CMS projects, I ran across a case where the user created a post of very long content that scrolled endlessly down the page. In an effort to make the content more easily readable, I created a Pagination helper that breaks that content into discrete blocks of content with "next" and "prev" links.
[Read more]

Excel xls helper

By Cleiton Wasen
Helper to creation of simple xls files.
[Read more]

Sexy Cake with Krumo: Say Goodbye to print_r()

By Stacy Pawlowich
Debugging nested arrays with print_r() can be wicked tough but Krumo makes this task a little less crack-a-lackin.
[Read more]

AssetPackager for CakePHP

By Brad Daily
Multiple javascript and CSS files simplify things in development, but in production they can begin to adversely affect your page loading times. With AssetPackager for CakePHP, we can have the best of both worlds by allowing multiple files during development and combining and compressing those files for deployment.
[Read more]

ViewInFile component

By franck
Sometimes in needed to output a view in a file. Most of the time for debugging, but also for some web service (xml) where you might need to send (by mail as a copy) an xml file reflecting the answer of the webservice.
[Read more]

$anything_for_layout: Making HTML from the View available to the layout

By Rob Conner
Did you ever have a side navigation that you wanted to change based upon changes in the view? Using this helper, you can write HTML and other output for display in the layout. The output itself is written in the your view and then transfered to the layout.
[Read more]

CSV Helper (PHP 5)

By Adam
I was recently outputting some comma-delimited data and thought I would benefit from a simple csv helper. I hope this helper benefits someone else as well. This is my first submission so please give any criticism.
[Read more]

Multiple flashes with different classes

By Danny Ferguson
There were a couple of things I didn't like about using $this->Session->setFlash(), so I wrote my own method for saving flashes and helper for displaying them.
[Read more]

SimpleImg - helper for reducing rows in view

By unigue
When I was playing with images I always messed up with stuff which didn't belongs into view code. Like "if is_file(image" etc. but I want to be sure that there is going to be an image whether wanted or empty-image, so I wrote a following helper to make things easier.
[Read more]

Color Helper (Random)

By Jeff Brown
This is by no means the answer to all your color woes, as it only has one function at this time. But the function can be handy.

Need a way to distinguish one chunk from another? How about easy random background colors that are all within a reasonable range of values that look good with dark text.
[Read more]

Showing a text excerpt around multiple keywords

By JP Mortiboys
On a typical search results page, you want to display an excerpt of each matching item, showing the keywords. TextHelper::excerpt() works, but only for a single word/phrase. This helper finds the chunk of text containing as many keywords as possible.
[Read more]

Tagcloud Helper

By Suhail
This is an intro on how to create well made tag clouds that are normalized based on relative scores. Feel free to use in your projects.
[Read more]

Breadcrumb Helper

By Anoop M
If you are tired of setting up breadcrumbs for your screens, this helper is for you.
[Read more]

JSMin Helper Compress and cache javascript

By Mark Story
JSMinHelper offers an easy to use interface for compressing and caching javascript files, reducing bandwidth and server load.
[Read more]

Asset Mapper

By Marc Grabanski
Map your entire web application's asset (JavaScript/CSS) includes with one file!

Easier way to manage JavaScript and CSS includes. Built on top of Asset Packer which compacts files and put them through CSS Tidy and JSMin.
[Read more]

Persian Date Helper

By Arash Hemmat
As there is no method for using Persian dates in PHP we had to use some codes to convert the dates. Using this helper you can convert the dates in a view. Use pdate_format() just like date() function in PHP.
[Read more]

Overriding specific HTML tags before using helper methods

By Michael Houghton
CakePHP 1.2 allows you to override CakePHP's defined tags. Yeah, I know, so did CakePHP 1.1, but now you can define your own base helper, from which all CakePHP helpers will inherit, and only override the tags you decide. That's right, no more copying tags.ini.php to modify it. Just define what you need, and how you need it. Let's see how.
[Read more]

xStandard wysiwyg Helper

By David Coll
Based on the workaround made for fckEditor, I've made a little helper to render easily a wysiwyg editor that IS xHTML 1.1 compliant :)

This helper assumes you are using the prototype.js framework.

xStandard
[Read more]

Using Security Component and multi Checkboxes

By foxmask
As i did not find the way to do it with the Cake FormHelper i will detail what i did and why.

The helper PcformHelper is usefull when you want to use the Security Component, and need to create an array of checkboxes.
[Read more]

DateHelper for fuzzy date differences

By AG
A semi-useful helper that calculates the difference between two dates and gives it in *slightly* fuzzy logic: "almost 2 years," "over 1 month".
[Read more]

jQuery autocomplete Helper

By Gianluca
I use jQuery becose is fast and concise Javascript library. My helper, jmycake, use jQuery for AJAX autocomplete.
[Read more]

Gravatar Helper

By bryce
Gravatars are very popular way for users to maintain the same avatar across multiple site using just their email address. This helpful helper makes it even easier to implement Gravatars into your site.
[Read more]

Image Magick Resize Helper

By Jean Philippe Doyle
I was looking for a resizing helper and found one which wasn't exactly what I was looking for so I tweaked it a bit.
[Read more]

Tidy Output Filtering

By Matthew Harris
If you'd like to filter all output from your application (layouts and views) through Tidy for cleaner markup, then this article is for you!
[Read more]

jQuery image upload & crop

By Thomas
I was searching for a nice script with that i can upload and crop images.
I found a nice one @ http://www.webmotionuk.co.uk/php-jquery-image-upload-and-crop/ and make it cake ready ;)
So, i hope i can help you with my first Article!

Here we go:
[Read more]