hi,
i'm trying to save checkbox value in database, but it is not saving 1 value,
always 0!!
echo $this-Form-input('active', array('type' = 'checkbox', 'checked' =
false));
in db active is type of enum with values '0', '1', default - 0
thanks in advance
--
View this message in context:
that's news to me! it works now
thanks
--
View this message in context:
http://cakephp.1045679.n5.nabble.com/Fails-to-save-checkbox-value-in-db-tp5716490p5716493.html
Sent from the CakePHP mailing list archive at Nabble.com.
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on
1) LoadModule rewrite_module modules/mod_rewrite.so ?
2) and this?
Directory /
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
/Directory
3)yes, i have them in those folders
thanks
--
View this message in context:
how should i enabled url rewrite ?
IfModule mod_rewrite.c
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
/IfModule
i have this in app/htaccess
--
View this message in context:
El Tello, i'm still getting those errors in firebug
--
View this message in context:
http://cakephp.1045679.n5.nabble.com/not-loading-js-and-css-tp5716365p5716380.html
Sent from the CakePHP mailing list archive at Nabble.com.
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us
vineet, after adding the code it shows 500 Internal Server Error
--
View this message in context:
http://cakephp.1045679.n5.nabble.com/not-loading-js-and-css-tp5716365p5716381.html
Sent from the CakePHP mailing list archive at Nabble.com.
--
Like Us on FaceBook
js and css files both located in those directory folders..
--
View this message in context:
http://cakephp.1045679.n5.nabble.com/not-loading-js-and-css-tp5716365p5716383.html
Sent from the CakePHP mailing list archive at Nabble.com.
--
Like Us on FaceBook https://www.facebook.com/CakePHP
RewriteBase /
this line redirects to http://localhost/xampp/
i guess there's another problem too and i can't understand what
thanks for your replies
--
View this message in context:
http://cakephp.1045679.n5.nabble.com/not-loading-js-and-css-tp5716365p5716388.html
Sent from the CakePHP
hello
NetworkError: 404 Not Found - http://localhost/css/jquery-ui.css;
NetworkError: 404 Not Found - http://localhost/js/jquery.validate.js;
NetworkError: 404 Not Found -
http://localhost/js/jquery-ui-1.10.3.custom.min.js;
i included those files in default layout, but it doesn't load or have
i forgot the view
Edit Topic
?php
echo $this-Form-create('Topic', array('type' = 'file'));
echo $this-Form-input('id', array(
'type'='hidden',
'value' = $topic['Topic']['id']
));
echo $this-Form-input('title', array(
'type' = 'text',
'error' = array('class' = 'error-message'),
--
View this message in context:
http://cakephp.1045679.n5.nabble.com/Can-anyone-help-me-with-editing-post-tags-tp5715315.html
Sent from the CakePHP mailing list archive at Nabble.com.
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
this is a part of code for adding topic with tags
$save = $this-Topic-save($data['Topic']);
if($save){
$tags = explode(',', $data['Topic']['tags']);
foreach($tags as $tag){
$tag =
I already solved it in another way
Thanks anyway:)
--
View this message in context:
http://cakephp.1045679.n5.nabble.com/Add-items-to-category-tp5714898p5714939.html
Sent from the CakePHP mailing list archive at Nabble.com.
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on
hi
I have two tables` items and categories
/categories/
id
title
description
/items/
id
title
description
category_id
and i want to create a function addItems, that will allow me to add items to
categories, sounds too simple. Can anyone help?
--
View this message in context:
Hello,
I have two arrays
$keyword= array() //actually this is a word, that you must guess letter by
letter
and
for ($i = 0; $i count($keyword); $i++) { //make equal word and keys array
length
$keys[] = '*';
if my word is 'foobar' , keys array will show **
so i want to input a
That's perfect! thanks again!
--
View this message in context:
http://cakephp.1045679.n5.nabble.com/Problem-with-Pagination-of-search-results-tp5714685p5714707.html
Sent from the CakePHP mailing list archive at Nabble.com.
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on
I only had $this-Paginator-numbers() in view.
I'll try to make it via GET.. but after knowing how to use with sessions :)
Thanks for your reply !
--
View this message in context:
http://cakephp.1045679.n5.nabble.com/Problem-with-Pagination-of-search-results-tp5714685p5714704.html
Sent from
Hi people.
I'm new to cakephp and need your help. I have this search function in my
UsersController, so there's a problem with search result pagination. The
first page shows first five names properly, but next pages does not show
anything. I need that this session save all my users, then check and
I see nobody knows...
--
View this message in context:
http://cakephp.1045679.n5.nabble.com/Problem-with-Pagination-of-search-results-tp5714685p5714690.html
Sent from the CakePHP mailing list archive at Nabble.com.
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter
19 matches
Mail list logo