Questions tagged with ext

0 answers

-1 votes

Asked by lars1968, on 24/12/09 in

Avoid Router::parseExtensions()

I need to remove Router::parseExtensions() before I can make routes with the ext specified as shown in

http://mark-story.com/posts/view/fancy-routing-examples-with-cakephp-1-2


Router::connect('/posts/feed', array('controller' => 'posts', 
        ...

1 answer

0 votes

Asked by gmchun83, on 13/4/10 in

How add links at $html->link()?

Hai,

I want to add web url or external links at $html-link() for my website menu.

Please refer following for my code:


<ul>
        <li><?php echo $html->link(__('Home', true), '/'); ?></li>
        <li><?php echo $html->link(__('Register', true),...

1 answer

0 votes

Asked by Matt, on 19/4/10 in

Using textarea for a hasMany model

I'm wondering if I am trying to do something the hard way because usually there is an elegant way to do most things in Cake and I haven't found it yet! I have a user model with a hasMany relationship to email (the idea is that a user can have...

2 answers

0 votes

Asked by panter4, on 14/5/10 in

How to parse JS like ctp

i would like to parse JS files like ctp

i need to parse javascript because i'm using ExtJs framework for the whole user interface, and cake as the backend for ajax

in JS i need to "know" user permissions to hide parts of JS code for wich a certain...

0 answers

0 votes

Asked by gunner1095b, on 22/6/10 in

Grid control?

Does anyone have a good suggestion for a grid helper or plugin that works well with CakePHP 1.2? I'm thinking of ExtJS for example... Or, something with jQuery.

1 answer

0 votes

Asked by louiemiranda, on 2/7/10 in

How to paginate ->find

I been having issues on how can I paginate properly a full-text search inserted to find.

Here's the code as a reference.


$results = $this->Publication->find('all', $params);
$this->set('results', $this->paginate($results));

I tried this approach,...

0 answers

0 votes

Asked by Vicky, on 28/7/10 in

How to disable the next link on reaching the last record.

hi frnds,

i have two tables namely courses and holes. the holes table has a course_id which acts as a foreign key.

On a particular page i want to display the number of holes related to that particular course. i am able to display the contents for...

2 answers

0 votes

Asked by manzapanza, on 2/8/10 in

TextHelper and Debug configuration

Hi at all!

On cakephp 1.3 the textHelper not work only if debug if set to 0.

Why?

Thanks

I tried to post the code on comment box but it cut all code... I try to post it here:


	<ul class="results">
		<?php
		$i = 0;
		foreach ($items as...

1 answer

0 votes

Asked by JaRo, 6 days, 22 hours ago in

Html link with image and text


<a href="#" title=""><img src="#" alt="" />Text here!!!</a>

How can I get this as cake html helper link?

SOLVED

Working example


$html->link($html->image('#') . 'Text here!!!', '#', array('escape' => false), null);

Thanks...

<< previous next >>