Coda Clips

Magento Skin Url

<?php echo $this->getSkinUrl('images/foo.png') ?>

Added to by Sergei Filippov

Install Clip


Magento Static Block Content

<?php echo $this->getChildHtml('StaticBlockName') ?>

Added to by Sergei Filippov

Install Clip


Codeigniter Paging

// Set pagination
		$config['base_url'] = base_url().'/faq/index/';
		$config['total_rows'] = $this->db->count_all('faq');
		$config['first_faq'] = 'First';
		$config['last_faq'] = 'Last';
		$config['full_tag_open'] = '<p class="footer">';
		$config['full_close_open'] = '</p>';
		$config['uri_segment'] = 3;
		$config['per_page'] = 5;
		$this->pagination->initialize($config);

Added to by Andrew

Install Clip


Fully Loaded Form

<form id="form_id" name="form_name" action="<<**SelectionInsertionPlaceholder**>>" method="post">
	<p><label for="first">Text: </label><input type="text" name="first" id="first" /></p>
	<p><label for="radio">Radio: </label><input type="radio" name="radio" id="radio_one" value="one">One&nbsp;&nbsp;<input type="radio" name="radio" id="radio_two" value="two">Two</p>
	<p><label for="checkbox">Checkbox: </label><input type="checkbox" name="checkbox" id="checkbox" value="checked">Check</p>
	<p><label for="select">Select: </label>
		<select name="select" id="select">
			<option value="alpha">Alpha</option>
			<option value="beta" selected>Beta</option>
		</select>
	</p>
	<p><label for="multiselect">MultiSelect: </label>
	<select name="multiselect" id="multiselect" multiple="multiple" size="2">
		<option value="gamma">Gamma</option>
		<option value="delta">Delta</option>
		<option value="epsilon">Epsilon</option>
		<option value="zeta">Zeta</option>
	</select>
	<p><label for="textarea">Textarea: </label><textarea name="textarea" id="textarea" rows="5" cols="30">Text</textarea></p>
	<p><input type="submit" name="submit" value="submit" /></p>
</form>

Added to by Jeremy Reid

Install Clip


Zend Action

public function <<**SelectionInsertionPlaceholder**>>Action()
{	
}

Added to by Kellan Craddock

Install Clip


Zend Controller

class <<**SelectionInsertionPlaceholder**>>  extends Zend_Controller_Action
{
	public function indexAction()
	{
	}
}

Added to by Kellan Craddock

Install Clip


Zend Db Table Abstract

Class <<**SelectionInsertionPlaceholder**>>  extends Zend_Db_Table_Abstract
{
	function ()
	{
	}
}

Added to by Kellan Craddock

Install Clip


Include file from theme directory

<?php include (TEMPLATEPATH . '/foo.php'); ?>

Added to by Søren Hugger Møller

Install Clip


Sponsored Links: