function logout() {
$this-Auth-logout();
$this-redirect('/', null, true);
}
this fully work
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are
i have the same problem lok at api i think this havent solution now..
On 30 Lis, 22:05, Raph ra...@epoczta.pl wrote:
Well, It's not very elegant solution and I need to make those inserts
in one transaction.
On 13 Lis, 23:47, David Roda davidcr...@gmail.com wrote:
I would probably split
yeah i think had the same problem but session time solved my
problem...
On 29 Lis, 14:55, Ixus asumaw...@gmail.com wrote:
Hi, I'm wondering if it's normal that my application logs out a user
after let's say he clicks a checkbox like crazy which triggers an Ajax
action?
Check out the new
, andrzejborkow...@gmail.com
andrzejborkow...@gmail.com wrote:
if ( $userValidate $userProfileValidate $this-User-saveAll
($this-data,array('validate'=false))) {
//$sendRegisterEmail
}
so saveAll pass true, even dont commit data (rollback true ;P)
any solutions ?
Check out the new
if ( $userValidate $userProfileValidate $this-User-saveAll
($this-data,array('validate'=false))) {
//$sendRegisterEmail
}
so saveAll pass true, even dont commit data (rollback true ;P)
any solutions ?
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their
how is best solutions for merge exist po translation (stay translated
msgid) with new extract pot file (empty msgstr) ?
--
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-...@googlegroups.com.
To unsubscribe
u should add `email_temp` field in users table and overwrite `email`
after click information email i this is best method..
On 12 Lis, 17:49, Dave make.cake.b...@gmail.com wrote:
What is the best way to determine if a user changes a specific field when
updating account?
I want to suspend the
action(){
$this-layout = false;
}
On 12 Lis, 17:10, jburns jeremybu...@me.com wrote:
Not sure I totally get what you mean, but have you created your own
default layout? If not, do so, and then you can control the header.
Seehttp://book.cakephp.org/view/96/Layouts
On Nov 12, 10:20 am,
beforeSave(){
if($this-data['date_field']=='-00-00')
unset($this-data['date_field']);
this set NULL for data_field
On 12 Lis, 14:38, Braindead markus.he...@gmail.com wrote:
Hi all,
In my form I have a date field. I use the form helper to generate a
year, month and day field for the date.
[autoRender] = 0 [autoLayout] = 0
On 12 Lis, 11:20, lionmate bensongeor...@gmail.com wrote:
Ho w iremove header in cake?
--
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-...@googlegroups.com.
To unsubscribe
man u have a good show by example post model so check it
http://book.cakephp.org/view/334/Create-a-Post-Model
On 12 Lis, 03:52, ChiCake chirag.patel6...@gmail.com wrote:
I have experience of Codeignitor, but rite now i am learning cake,
can you please tell how to insert data in cake? i have
filesname and model names should be in singular name e' = 'Thesis',
- theses etc...
On 12 Lis, 00:08, death.au death...@gmail.com wrote:
If anyone's interested, it turns out it WAS a really noobish problem.
I had the filenames for my models plural instead of singular (Category
model was in
On 3 Lis, 17:17, kwameda...@gmail.com kwameda...@gmail.com wrote:
Please help me resolve this ACL issue. I'm going through the tutorial
10.2.6 An Automated tool for creating ACOs
(http://book.cakephp.org/view/647/An-Automated-tool-for-creating-
ACOs)
and getting stuck with the following
maybe put in before find in B $this-B-behaviors-attach
('Translate'); its stupid solutions but maybe work..
On 2 Lis, 16:43, Marco marco.lehman...@googlemail.com wrote:
Had to add some facts:
I removed AppModel's beforeFind and beforeSave (I forgot to write
Config.language, which is used by
i have works content model and bahaviors (/app/model/behaviors/
[multivalidatable, who_did_it])
?php
class Content extends AppModel {
public $name = 'Content';
public $actsAs = array('Multivalidatable', 'WhoDidIt');
[...]
so when im put content model to a contents plugin my
save section is ok, but this triger beforeSave don't execute and dont
return any value, only working trigers are in LikecontentAppModel
whats going one ?
?php
class LikecontentSection extends LikecontentAppModel {
public $validate = array(
'title' = array('notempty'),
WTF loks at namespaces LikecontentSection Section
my VIEW
?php echo $form-create('Section',array
('plugin'='likecontent','controller'='sections','action'='add'));?
fieldset
legend?php __('Add');?/legend
i want to change default route after login my users, i try like this:
[/project/app_controller.php]
public function beforeFilter() {
(...)
if($this-Auth-user()){
Router::connect('/', array('controller' = 'users', 'action'
= 'profile'));
Router::promote();
fk find(){
echo $id; //3
debug($this-Position-find('all',array('conditions' =
array
('position_id'=$id),'fields'='position,position_id')));
}
at page
miopromo\controllers\signups_controller.php (line 70)
Array
(
[0] = Array
(
[Position] = Array
its a normal situation ? file configure.php load 67% of available
resources
lease check datasheat http://images47.fotosik.pl/150/0bfee59431dc96d6.png
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
so i have problem with Xml component
my arry from find loks like that
array(
[Invoice] = array(...)
[Seler] = array(...)
so its good...
after
$xml = new Xml($invoice);
xml loks like that (this is stupid...)
invoice ... /seler .../invoice
after
$result = Set::reverse($xml);
arr loks like
i try sent email by
$this-Email-to = $email;
$config['Email']['from'] = 'andrzej.borkow...@lowcy.com.pl';
$config['Email']['fromName'] = 'a.borkowski';
$config['Email']['port'] = '110';
$config['Email']['host'] = 'poczta.hti.pl';
$config['Email']['username'] = 'andrzej.borkow...@lowcy.com.pl';
Nr Query Error AffectedNum. rows Took (ms)
1 DESCRIBE `locations`5 5 3
2 DESCRIBE `countries`4 4 4
3 DESCRIBE `cities` 4 4 3
4 DESCRIBE `states` 3 3 3
I think so its simple but not for me :) I want unload app_controller
in /app/controllers/sugest_controller.php
so i create
/app/xhr_controller.php extends Controller
class XhrController extends Controller {
public $components = array('xhr');
public $helpers = array();
public $uses =
24 matches
Mail list logo