On Apr 13, 2011, at 23:23, Krissy Masters wrote:
Is there a simple way to enforce the url to lowercase?
I am not using apache and all I found is apache mod ways to do this. I am
running nginx and no luck finding anything on that front. Not sure if this
could be handled by cake of if it
On Wed, Apr 13, 2011 at 11:37 PM, Brian Sweeney eclecticg...@gmail.com wrote:
Thanks for pondering the issue a bit more. If there's any details you think
might help let me know. I didn't want to bog down the original post with too
much detail, hoping somebody might have run into the problem in
On Thu, Apr 14, 2011 at 12:55 AM, goluhaque afzal...@gmail.com wrote:
Another question, if debug level is 0, is it prevented from being
accessed on some webhosts?
I got the entire copy at http://goluhaque.comoj.com/data/TAA/ but when
visiting that link, a 404 comes up.
Set debug to 1 and
On Thu, Apr 14, 2011 at 12:23 AM, Krissy Masters
naked.cake.ba...@gmail.com wrote:
Is there a simple way to enforce the url to lowercase?
I am not using apache and all I found is apache mod ways to do this. I am
running nginx and no luck finding anything on that front. Not sure if this
could
Hi All,
How to generate a XML template dynamically and parse it.
Thanks in advance,
Rakesh yadav
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their
http://book.cakephp.org/view/1485/Xml
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2011/4/14 rakeshyadav rakeshyadav rakeshyadav@gmail.com
Hi All,
How to generate a XML template dynamically and parse it.
Thanks in advance,
Rakesh yadav
--
Our newest site for the
I would really like to thank everyone for their valuable input.
See, as per the discussion so long, I would like to make some things
clear. I have a picture column that saves the filename and also a dir
column that saves the directory root. I have set the upload path to
img{DS}tablets. that saves
So, when i m on the Edit form,i have to use function afterFind() in my
model ?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To
Hi guys,
I have a checkbox field which suppose to read db... value 0 or 1...
checked=1 or not=0 but its not. What am I missing.
?php echo $form-checkbox('User/show_groups') ?
I have tried with 'checked' = 'checked'
?php echo $form-checkbox('User/show_videos', array('checked' =
'checked')) ?
but
no, afertFind() ist a callback in the model. This will be called
automatically whenever you did a find operation on the model. Check
the book about the callbacks:
http://book.cakephp.org/view/1048/Callback-Methods
On 14 Apr., 09:55, jackgoh kockh...@gmail.com wrote:
So, when i m on the Edit
Have you read the book about using the Helper?
http://book.cakephp.org/view/1383/Form
No offense, but I would suggest you start reading there. There seems
to be quite a misunderstanding in usage of CakePHP Helpers.
http://book.cakephp.org/view/1528/Blog
regards,
Jens
On 14 Apr., 10:48,
Hi,
Then, how can i assign the Datetime value which is from database into
the textbox at Edit form?
On Apr 14, 5:03 pm, Jens Dittrich jdittr...@gmail.com wrote:
no, afertFind() ist a callback in the model. This will be called
automatically whenever you did a find operation on the model. Check
Hello,
I am developing a app in cakephp( ver 1.3) , where i need dynamic
routing. So to do this i call requestAction method in config/
routes.php
$routingData=Object::requestAction(array('controller'='pages','action'='get_routes'));
Router::connect('/pages/blog', array('controller' ='blogs',
Please try this
echo $this-Form-checkbox('fieldname',array('checked'=true));
I use this in many project all work fine.
Thanks
Timir Maji
On Thu, Apr 14, 2011 at 2:37 PM, Jens Dittrich jdittr...@gmail.com wrote:
Have you read the book about using the Helper?
What are you talking about here? By default you would not go through the
login
action before Auth will do, so your code is useless
Did you read the recipe? If so, you'll learn that the intention is to handle
the login *AFTER*
the Auth component processed and found no valid credentials, thus
That is correct, the $this-Session-flash('auth'); message is not part of
the layout
because I relayed on people following:
http://book.cakephp.org/view/1252/Displaying-Auth-Error-Messages
I should've added an Information Box to clear it out :(
Anyway if you get the flash messages, it should be
What is the behavior that you are wanting to achieve?
*** Exactly what you typed, if they type it in wrong case 301 redirect.
Is it that, when a user requests http://www.example.com/FOO, they are 301
redirected to http://www.example.com/foo?
If so, why are your users requesting URLs with
Do this
http://www.sanisoft.com/blog/2010/10/25/cakephp-sending-json-data-in-response/
On Apr 13, 11:29 am, Will 000w.s.s@gmail.com wrote:
Hi all,
I'm brand new to CakePHP, so forgive me if this is a silly question,
but I have been having trouble understanding how render() is supposed
to
in your view file... you should have something that looks like this:
$this-Form-input('savedDate');
change it to:
$this-Form-input('saveDate', array('type'='text'));
OR
$this-Form-text('saveDate');
that should display a textbox (inplace of multiple dropdown menus for
the date).
if it is not
On Thu, Apr 14, 2011 at 2:11 AM, cricket zijn.digi...@gmail.com wrote:
On Wed, Apr 13, 2011 at 11:37 PM, Brian Sweeney eclecticg...@gmail.com
wrote:
I have a view that's fairly computationally expensive (lots of
table-formatted data).
To speed up the page load I'm trying to use view
On Thu, Apr 14, 2011 at 9:26 AM, Krissy Masters
naked.cake.ba...@gmail.com wrote:
What is the behavior that you are wanting to achieve?
*** Exactly what you typed, if they type it in wrong case 301 redirect.
Is it that, when a user requests http://www.example.com/FOO, they are 301
redirected
Thanks for the response! Unfortunately that's not quite what I was
looking for. What I'm trying to do is essentially display the
contents of a view as a result of an Ajax request rather than send
JSON data as a result of a controller function (which is what the blog
article was talking about).
Thanks for the link. Its for Apache, I am on nginX but thanks all the same.
I was just curious if there was a simple way to force the URLs. People don't
normally type out URLs I was just curious if there was a simple way to
ensure that if someone did type something in it would ensure lowercase if
Hey,
I have a little problem with the Auth Messages when logging into an
app. I reworked everything so Auth Errors are displayed correctly
(like Please login to view the requested site) but I'm still having
trouble with one thing:
In my app the session time is set to about 120 Minutes. After
$this-layout = 'ajax';//no actual layout will be rendered just the element
Or $this-render('path/to/element/view', 'ajax'); //2nd param says use ajax
layout
If you look the views/layouts/ajax.ctp all it is is ?php echo
$content_for_layout;? so its nothing but the data / html you send it
HTH
On Thu, Apr 14, 2011 at 11:00 AM, Brian Sweeney eclecticg...@gmail.com wrote:
I think even though some of the content is state-sensitive the page could
still benefit from view caching. It does present some difficulties, though,
which is why I'm here.
But even if I take out the state-sensitive
On Thu, Apr 14, 2011 at 2:59 AM, Mr.Jayesh jayeshach...@gmail.com wrote:
I would really like to thank everyone for their valuable input.
See, as per the discussion so long, I would like to make some things
clear. I have a picture column that saves the filename and also a dir
column that saves
On Thu, Apr 14, 2011 at 2:08 PM, Krissy Masters
naked.cake.ba...@gmail.com wrote:
Thanks for the link. Its for Apache, I am on nginX but thanks all the same.
Oops! Sorry, I did see that earlier.
I was just curious if there was a simple way to force the URLs. People don't
normally type out
On Thu, Apr 14, 2011 at 2:02 PM, Will 000w.s.s@gmail.com wrote:
Thanks for the response! Unfortunately that's not quite what I was
looking for. What I'm trying to do is essentially display the
contents of a view as a result of an Ajax request rather than send
JSON data as a result of a
The last couple of days I've noticed that sections of http://book.cakephp.org
have been going down for extended periods.
Currently, one such case is http://book.cakephp.org/view/957/The-App-Controller,
which returns an 500 error with the message An unexpected condition
was encountered while the
This might help
http://www.pseudocoder.com/Super_Awesome_Advanced_CakePHP_Tips.pdf
search 'Case Insensitive'
On Thu, Apr 14, 2011 at 3:00 PM, cricket zijn.digi...@gmail.com wrote:
On Thu, Apr 14, 2011 at 2:08 PM, Krissy Masters
naked.cake.ba...@gmail.com wrote:
Thanks for the link. Its for
hi,
i'm looking for an IDE with support for cakephp ... i use netbeans,
but i searching for most complete IDE.
sorry for the english
thanks
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org
Hi having the same problem, let me rephrase it:
I have a logout link that is generated with:
?php echo
$html-link('Logout',array('controller'='users','action'='logout')); ?
It works perfectly from any place, except when I'm in the admin/acl
If I click LOGOUT in the admin/acl the url generated
phpDesigner...:)
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2011/4/14 Vinícius Rodrigues rodrigues...@gmail.com
hi,
i'm looking for an IDE with support for cakephp ... i use netbeans,
but i searching for most complete IDE.
sorry for the english
thanks
--
Our newest site for
Eclipse PDT works pretty well for Cake if you configure it properly.
You can find a guide at:
http://bakery.cakephp.org/articles/rynop/2010/11/11/howto_setup_eclipse_3_6_to_get_the_most_out_of_cakephp_1_3_development
On Apr 14, 2:36 pm, Vinícius Rodrigues rodrigues...@gmail.com wrote:
hi,
i'm
You can use Komodo, but netbeans it's the best option just search in
google how to use it
Helpers autoComplete.
just put a dummy.php file on your views root folder.
?php
/**
* @var $this View
* @var $form FormHelper
* @property HtmlHelper $Html
* @property FormHelper
I think netbeans is the best.
What feature you are looking for?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this
I've had this one before. The answer is really simple, too.
$html-link(
'Logout',
array(
'admin' = 0,
'controller'='users',
'action'='logout'
)
);
If you're using 1.3.x you should get in the habit of using
38 matches
Mail list logo