ssion class. (No, it is not just
unserialize()).
Thank you :)
kitten
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To u
it should make
no difference. But 1and1.com might have another server configuration than
1and1.de...
>
> thanks anyhow but it aint happening.
Other hosts sometimes need an additional
RewriteBase /
in the .htaccess. You might want to try this (and experiment with others
paths than /).
Hi :)
I got Cake with mod_rewrite working on 1und1 servers (the german branch...)
with a little change to the .htaccess in webroot:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /index.php?url=$1 [QSA,L]
Please note
Hi :)
As discussed several times in this group, you have to do a mysql_query("SET
NAMES 'UTF8'") to work with UTF-8 in your cake app.
This seems to create a problem with sessions if you store them in DB through
define('CAKE_SESSION_SAVE', 'database');
I tested with CakePHP 1.1.2 and 1.2: in bo
n't require a helper?
Sure, you can code it yourself, but I don't see why you would want to do
this ;-)
Heiner
>
> If we need a helper, any suggestions or code anywhere to solve this
> problem?
>
>
> Please don't slam me, I'm new to Cake but really loving i
I stumbled over the same problem a few hours ago...
var $uses = array('User', 'Profile');
in the controller solved it.
Hope this helps :)
Heiner
>
> On 1/24/07, AD7six <[EMAIL PROTECTED]> wrote:
>> Did you try
>> $user_validates = $this->User->validates($this->data);
>> $profile_validates
is it possible to control the starting year in dateTimeOptionTag()
You have to override the method in your own helper.
Heiner
right now it starts from 1967, I want to start from 2007 is it
possible?
suman
>
--~--~-~--~~~---~--~~
You received this mess
Of course, you could also try to fix TinyMCE so the paths are correct
from the source... ;)
Rosie:
TinyMCE has a configuration option "urlconverter_callback" which lets you
define your own JS function to do this kind of stuff.
HTH :)
Heiner
--~--~-~--~~~---~--
Had the same problem, too. Session in DB instead of files.
Seems as if one line is missing from cake/bootstrap.php that was present in
the previous release:
require LIBS . 'model' . DS . 'connection_manager.php';
If you don't want to change the core, you can also add this line to your own
ap/co
Hi,
> Does no one know how to declare a selectTag, so that the first empty
> entry is selected by default?
Normally, you would set an entry to be selected by default like this:
$html->selectTag(
'User/contact',
$Contactlist,
$html->tagValue('User/contact') ? $html->tagValue('User/c
Hi,
> routes.php
> $parts=split('/',$from_url);
> $lang=$parts[0];
> //Save $lang to session
> $from_url = $parts[1] . '/' . $parts[2] // do it with
> something like join()
>
> $route->
> ?>
>
This works fine, except for saving $lang to session -- the session is n
> I then put code to clean the $this->data array in the app_model to try
> to setup automatic cleaning of all saved data. What I found was that
> because cleanArray() cleans everything without mercy, including html
> encoding on everything, it encoded the hyphens in teh datetime format
> (not the
>> Right now, it seems that a custom query (over 3 tables) is necessary to get
>> the desired result...
>
> Why not create an enhancement ticket to allow for this possibility?
Done :)
By posting to the list, I justed wanted to be sure that I was not overseeing
somthing obvious.
Heiner
>
> Che
> If you mean that a user *hasAndBelongsToMany* submissions, and also a
> submission *hasAndBelongsToMany* users, I think you need a link table
> "users_submissions" to record the associations.
I _have_ the submissions_users table.
The HABTM association is working fine as long as I want to retr
er` JOIN
`submissions_users` ON `submissions_users`.`submission_id` = '70' AND
`submissions_users`.`user_id` = `User`.`id` WHERE
(`submissions_users`.`user_id` = 2)
Heiner
>
> Sam D
>
> On 7/22/06, kitten <[EMAIL PROTECTED]> wrote:
>>
>> Hi :)
>>
&g
Hi :)
I stumbled over a problem with HABTM association that seemed trivial at
first but I could not find a real solution...
I have a HABTM association between model "User" and model "Submission". Each
submission "belongs" to one or more users, each user can be associated with
one or more submiss
ssion, it _should_ be available from within all methods
of the component.
No other ideas than to ask you if you re-checked for typos etc...
Best
Heiner
>
> Regards,
> Langdon
>
>
> kitten wrote:
>> Hi,
>>
>> You can put this in your Component's
Hi,
You can put this in your Component's startup() method:
function startup(&$controller) {
$this->Controller =& $controller;
}
They you can access the Session object (and all other controller data)
through
$this->Controller->Session->read('theData');
Hope this helps ;-)
Hein
18 matches
Mail list logo