0 answers
-1 votes
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
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
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
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
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
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,...
1 answer
0 votes
Cake1.3, Paginate with fulltext search is having problems when going to page 2 and so on?
My code here at the bin (controller/action):
http:bin.cakephp.org/saved/60040http:bin.cakephp.org/saved/60040
View of that controller:
http:bin.cakephp.org/view/87988950http:bin.cakephp.org/view/87988950
Is capturing data using.
$keywords =... 0 answers
0 votes
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
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...