thanku guys the last one works for me but still it cant show my RTL
font properly, plz help me tru
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to
i'm using utf-8 as my both DB and html encoding, the problem is the
methods in Model, encode records and it displays data with strage
chars,
i cant find where to modify it, or any solution for this problem plz.
--~--~-~--~~~---~--~~
You received this message
it's possible to specify different app_controller?
i have some controller that have the same function, so i put these in
the app_controller.
but now i have a controller that doesn't need to inherit them.
--~--~-~--~~~---~--~~
You received this message because
i found out that the problem is with $html-link() and the solution is
here :
https://trac.cakephp.org/ticket/1160
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to
ok i found i a previous post(extends a class that extends AppModel )
--~--~-~--~~~---~--~~
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 unsubscribe
But in the above example ajax is my default layout.
As you can see
function view($id)
{
if($id==test){
$this-render('test', 'ajax');
}
}
The first time is rendered properly,
but when I click on the link to itself through ajax-link I have the
same problem
even when I load all the external
Fine. I'll follow your tips trying not to duplicate actions, though you
cannot passing parameters through requestAction.
I hope things will improve on the next versione of Cake.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Fine. I'll follow your tips trying not to duplicate actions, though you
cannot passing parameters through requestAction.
I hope things will improve on the next versione of Cake.
This sounds like routing will be the answer:
in /app/config/routes.php
$Route-connect ('/users/*',
Your database configuration file is present.
Fatal error: Call to undefined function mysql_connect() in
D:\Project\cake\cake\libs\model\dbo\dbo_mysql.php on line 101
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
The error message means that you don't have mysql extension enabled.
MySQL is not enabled by default with PHP5.
See http://us2.php.net/mysql
Cheers,
AD7six
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
Having mod_rewrite loaded isn't the only thing necessary to permit you
to use pretty urls.
You probably need to set AllowOverride All in your http.conf file.
HTH,
AD7six
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Thanks AD.
--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more
I have install against cake 1.0 and trunk 1.x and place rdbloggery in
same level as /app.
I found in earlier post that i can point DocumentRoot in apache httpd
conf to /app instead of /app/webroot to enable multiple app folder as
suggested..
it didn't work for me sadly.
anyone?
Missing
Even if you have controllers that don't *need* to inherit something
from AppController, they still can. Or if there's a method that a
controller shouldn't inherit, you can override it in that controller.
--~--~-~--~~~---~--~~
You received this message because
did you try searchinghttp://www.google.com/search?q=cakephp+and+drupalstart=0ie=utf-8oe=utf-8client=firefoxrls=org.mozilla:en-US:unofficial
On 7/29/06, Kuma_Pageworks [EMAIL PROTECTED] wrote:
So this project that I'm working on has basically become a CMS.Soinstead of building an entirely new CMS
So there is no way to solve the problem?
--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to
No, you're not getting it. Here's how your code should look:
(1) You should render your 'view' page in the default layout
(default.thtml), like so:
function view($id) {
if($id==test){
$this-render('test');
}
}
(2) All of this:
?= $javascript-link('dojo/dojo.js') ?
?=
I've made one from cakesheet (http://cakephp.org/files/cakesheet.pdf)
but i prefer it simple BW with better readability. I find it useful
especially for windows users + 'Show desktop' icon.
You can download it here:
http://www.mrkef.net/public/cakesheet.png - 1280*1024 (484kB)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Good information to get you started:
http://www.thinkingphp.org/category/drupal/
Samuel DeVore wrote:
did you try searching
http://www.google.com/search?q=cakephp+and+drupalstart=0ie=utf-8oe=utf-8client=firefoxrls=org.mozilla:en-US:unofficial
Nice!On 7/30/06, Bumbo [EMAIL PROTECTED] wrote:
I've made one from cakesheet (http://cakephp.org/files/cakesheet.pdf)but i prefer it simple BW with better readability. I find it usefulespecially for windows users + 'Show desktop' icon.
You can download it
Minor correction; that should be
var $layout = layout;
;-)
Ryan
--~--~-~--~~~---~--~~
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 unsubscribe from
Have you tried adding dir=rtl to your html or body tags?
For more info:
http://ppewww.ph.gla.ac.uk/~flavell/charset/text-direction.html
HTH,
Ryan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To
Thanx for the reply...
I have tried all the above and the problem remains.
The new rendered view ignores dojoType=Checkbox.
I wonder if the problem has to do with dojo.
Has anyone worked with dojo and cakephp
using ajax requests that has the above working?
I don't know if I have to quit dojo or
but you can pass parameters in request action:
$somevar = $this-Modelname-requestAction('/listings/show/4',
array('return'));
or in the view
?php echo $this-controller-requestAction('/listings/show/4',
array('return')); ?
spark
On 7/30/06, darx [EMAIL PROTECTED] wrote:
Fine. I'll
Hi there. Total noob here, so please be patient :P
I'm developing an application that manages tasks for different
projects.
I've been able to have a links of projects displayed, and to retrieve
the information relative to a specific project, with this link
structure:
/projects/ (this one finds
When i use the html helper in an element it works fine if it is called
directly. If, however, it is called from a function in the element, it
does not work: Notice: Undefined variable: html in.
For example, this doesn't work:
?php
function printUpDown() {
echo $html-image('up.gif');
probably you have a controller 'Projects' , with a action name() inside
if you take the task name as a variable for the name() action, you
might call the Tasks controller with requestaction()
function name($projectid=null)
{
if(!projectid)
{
//finds the project with a specific name
}
Thnx to all of you guys. I keep on trying different solutions and..some
fit better than others my needs. MVC is a new world to me but i like it
and i like Cake so i'll keep on learning it bit by bit. Really want to
thanks this group: when you're learning something completely new is
good to have
Hey all, brand new to Cake but I'm loving it so far. I ran into a
hitch trying to save some form data, and was wondering if anybody could
help me figure out what the problem is. Two values, both the result of
select boxes, are being changed when the form is submitted. The values
are correct in
oh ok YES it is the Byte Order Marker. The point is that the layout
file that is used in the view that generated the upload form needs to
be set to 'unix' byte order marker. Usually you can choose betwene
unix, mac and dos. Use unix.
robdeman wrote:
hello all,
I'm having trouble inserting a
What you are doing (the commented out line) is a good way to do it.
You could write a Judge mySave() function that does just that (saves
the User and Judge separately), but it wouldn't really be any better.
The only thing to improve it would be to manually run the
Judge-validates($this-data) and
Hello all.
I am using the following:
if ($this-Login-save($this-params['data']))
and having some issues. Basicaly its not saving, so its never going
into the if but instead the else. Is there anyway I can find out why
its not saving? Any suggestions on how to figure this out?
Thanks!!
Do you have anything in your Login::validate array? If so, perhaps it
isn't passing the model validation, and hence not saving. You should
have $html-tagErrorMsg() calls inside your view to display any
validation errors. An easy mistake to make is to have the 'id'
attribute in the validation,
new theory... when i bake the views for this controller, the
project_status and project_priority fields are checkboxes instead of
input fields... i changed the tinyint(1) fields to tinyint(2) fields,
and everything works as it is supposed to now.
so i'm guessing any tinyint(1) field in a
I don't see it specifically in the Cake Conventions (
http://manual.cakephp.org/chapter/22 ), but I think you should stick to
lowercase underscore separated titles for your field names - it can
prevent issues like this.
--~--~-~--~~~---~--~~
You received this
From my experience (limited) case is VERY important no matter what OS
you are on, and you are ok with whatever naming you want (ie: lastName,
last_name, lastname) as long as you make VERY sure you always use the
exact same scheme
--~--~-~--~~~---~--~~
You
In both scaffolding and bake, where Cake automagically interprets your
fields, tinyint(1) will be represented as a checkbox. However, with
your own views you should be able to use any form element you like.
If I am understanding your issue correctly (that when a field is
tinyint(1), without
I agree with that. And since Cake uses CamelCased for class names, and
lower_cased_underscored for filenames, database names, and foreign
keys, it makes sense to use this for all database fields.
--~--~-~--~~~---~--~~
You received this message because you are
Hi Dear Google Members,
THNX 4 using Google Groups
I have also started following new groups
I invite you to join my following groups
IF YOU ARE LOOKING FOR JOBS, JOIN OUR FOLLOWING YAHOO GROUP
A2ZHRINFOSERVICES, WE WILL POST JOBS IN YOUR EMAIL
39 matches
Mail list logo