Hello,
I am using jquery and cakephp.
I wrote some info on this link.
Can you pls tell me if this is the right way to do it ? or if there is
a better way ?
http://pastebin.com/m247e9d3d
Thanks
Salim.
--~--~-~--~~~---~--~~
You received this message because you
I believe there is already a plugin in wordpress that does this.
If not, it wouldn't be too hard to do what you want.
On May 15, 3:28 am, Abhimanyu Grover [EMAIL PROTECTED] wrote:
Looks like I have to do the same thing in coming days for a new
project.
On May 12, 4:37 pm, darkblack [EMAIL
I have two models:
class Store extends AppModel
{
var $name = 'Store';
var $belongsTo = array('Storeregion');
}
class Storeregion extends AppModel
{
var $name = 'Storeregion';
var $hasMany = 'Store';
}
A region can have many stores. Here is an example:
Array
(
I have two models: storeregions and stores.
//models
?php
class Store extends AppModel
{
var $name = 'Store';
var $belongsTo = 'Storeregion';
}
?
?php
class Storeregion extends AppModel
{
var $name = 'Storeregion';
var $hasMany = 'Store';
}
?
//controller:
?php
class
= $row['Attribute']['id'];
foreach ($fieldsIWant as $field) {
$extractedData[$field][$id] = $row['Attribute'][$field];
}}
// Now call $this-set('my_status_arr', $extractedData['status']), ...
On Dec 3, 5:42 am, salimk786 [EMAIL PROTECTED] wrote:
I have this table:
CREATE TABLE
I have this table:
CREATE TABLE `attributes` (
`id` int(10) unsigned NOT NULL auto_increment,
`controller` varchar(25) default NULL,
`category` varchar(25) NOT NULL,
`item` varchar(25) NOT NULL,
`value` varchar(50) NOT NULL,
`created` datetime default NULL,
`modified` datetime
Hello,
I've seen on my sites a feature that allows you to see Who's
Online.
I'd like to implement this on my cake app.
Does anyone know of an existing contribution that allows users to do
this ? If not, does anyone have a high level - conceptual (or low
level- code) undersstanding of how to do
My problem is that every time i update my profile, it does an insert
instead of an update sql command. Is my associations incorrect ?
Thanks.
class Member extends AppModel
{
var $name = 'Member';
var $hasOne = array('Profile' =
array('className'
This is just a thought. What if you create your own helper and extend
the html helper. Then you can override the base functions of select
and radio tags with your own. Then when you upgrade you really only
have to copy your helper over
Just a thought.
Salim.
On Mar 22, 7:30 am, [EMAIL
PROTECTED] wrote:
On Jan 16, 2007, at 2:17 PM, salimk786 wrote:
Hello,
I was hoping someone can piont me in the right direction.
I want to have a select tag where they choose their country and once
they choose a country, anotherselectTagappears asking them to choose
their state and once
Hello,
I was hoping someone can piont me in the right direction.
I want to have a select tag where they choose their country and once
they choose a country, another selectTag appears asking them to choose
their state and once they choose their state, they type in a message
and hit submit...how
Hello,
Can someon please upadte the tutorial on the blog so that i can see how
i'm supposed to used loadmodel
thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send
is this the right way ?
If this is the right way to use LoadMoel (see below code), then won't
the model be
re-instantiated each time the user types in an incorrect password?
//controller
function login()
{
$this-pageTitle = Login;
$this-set('pageImage',
Hello,
I'd like to use google api along with cakephp.
I found an article online explaining how to do this.
Can you tell me, if i was to download NUSoap, where would i place their
lib folder so that my controller can easily call it.
Thanks.
Hello Mikee,
Here is the article that shows you how to integrate the Google Api with
php.
http://www.dankarran.com/googleapi-phpsitesearch/
Salim.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
Hello Mikee,
Here is the article that shows you how to integrate the Google Api with
php.
http://www.dankarran.com/googleapi-phpsitesearch/
Salim.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
//post.thtml
div id=ajax_update
table cellpadding='0' cellspacing='0' border='0'
?php echo $html-formTag('/blogs/viewPost/' , 'get'); ?
tr height='24'tdTitle:/tdtdinput type=text name=post_title
size=50 //td/tr
tr height='24'tdURL:/tdtdinput type=text name=post_url
size=45 maxlength = 255 //td/tr
Hello,
Can you guys provide some constructive criticism on this :
http://salimk786.wordpress.com/
Please leave comments on that site or you can email them to me.
Thank you.
[EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you
Hello,
I am working (Free) on a social networking site for a community.
I have decided to do this in cakephp. I was going to use Jsp or aspx
but for whatever reason Im' choosing CakePHP.
I am in the final stages of datbase design and i was hoping that this
community would look it over for me.
Is there a way for me to watch the checkboxes or remember which ones
are being checked?
I like the effect of clicking on the delete link.
I would like to apply the same effect to all the checkboxes that have a
check, when they cilck on the button that reads 'Delete Selected
Keywords'.
Thanks.
//Error
Missing Method in AdvertisersController
You are seeing this error because the action advertisers is not defined
in controller AdvertisersController
Notice: this error is being rendered by the
app/views/errors/missing_action.thtml view file, a user-customizable
error page for handling
I fixed the problem.
All i had to do was fix the ajax-link
?phpprint $ajax-link('Delete',
'listing_editallkeywords/' . $data[$i]['Keyword']['id'],
array('update'='tasks_done', 'after' = 'new Effect.Fade(\'done_' .
$data[$i]['Keyword']['id'] . '\');')); ?
Thanks.
22 matches
Mail list logo