error message here so all you have to do is change the class to whatever you want
On 11/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Is there any way to change the font or font size of the error messagedisplayed by tagErrorMsg
I think you are asking how to render a different view.
If you have an action called "new" but want to use edit.thtml for your
view, then inside your action call
$this->render('edit');
But if you were in fact asking how to use a different layout, then you
can use
$this->layout = 'other_layout';
Friends,I'm new to cakephp and can't figure out yet how to see the first blogs example (I always see a blank screen). My computer has debian sarge, postgres, php5 with apache2.Thanks in advance for your help,
--I put on my browser: http://localhost:8080/fya/posts/index. The cake's packa
I'm trying to get a redirect working to refresh a page when a form in
it is sent. The page in question is imported into my main view using
$this->renderElement('index')
I've put all sorts of combinations in my controller;
$this->Session->setFlash('saved'); then various redirects.
I have put upda
On 11/7/06, Synchro <[EMAIL PROTECTED]> wrote:
>
> Well I already posted the absolutely minimal (so minimal you probably
> missed it!) example that was not working for me. With routing enabled
> in core, this code results in a 404 for xmlrpc.txt:
>
> The model is just an empty class. In
> app/con
i use elements ( see http://manual.cakephp.org/chapter/views about
half way down)
for the common form element parts of these two views
On 11/7/06, dieter.randolph <[EMAIL PROTECTED]> wrote:
> Hello! I'm in the middle of my first Cake PHP project, and, though I'm
> thrilled about working in thi
On Nov 7, 1:39 am, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> Without seeing some code, it's pretty hard to fix it. Can't imagine
> why it's looking for xmlrpc.txt unless you're explicitly asking for
> it. Code sample are always welcome when diagnosing bugs.
Well I already posted the absolu
Hi, kind bakers,
I am reading the http://wiki.cakephp.org/tutorials:ajax_sortable_list,
about how to make a $ajax->sortable list.
I am do the Create the List of Items and make it works.
BUT for the following
Create the Form: The form contains a hidden text area that is filled
with the data that t
Hello! I'm in the middle of my first Cake PHP project, and, though I'm
thrilled about working in this environment, I have a lot of lame newbie
questions -- here's the one I'm wrestling with now:
I've noticed that the views for Edit and Create are very similar, and
that it might make sense to com
Is there any way to change the font or font size of the error message
displayed by tagErrorMsg (from HTMLHelper)?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Cake PHP" group.
To post to this group, send email
How would I change the font/font size of the error message displayed by
tagErrorMsg using HTMLHelper?
--~--~-~--~~~---~--~~
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@
Rpc Example:
I have just posted an Rpc plugin on http://blog.itbytez.com/
The actual plugin code is very simple and quite brief.
You can use it as a plugin, or take the code and do your own thing
I am new to cake and new to Rpc, so beware...
--~--~-~--~~~---~--~
I look at the wiki.cakephp.org, and there is a tutorial about the
$ajax->sortable.
Now, I can use it to drag and sort the items,like the code I paste
below.
This is the first list
sortable ("firstlist",array()) ?>
It works!
I can get data for ['Topic']['created']. BUT I am quite confuse
I'm trying to cache images from mysql, but it doesn't seem to work.
Images are loaded slowly and "tmp/cache/views" folder is empty.
To display a image, I use the view "images/display/$id". I have added
the CACHE_CHECK thing to core.php. I wrote this on images controller:
var $helpers = array('Ca
Thanks Andy, you rock!
I was looking through the comments on your solution
(http://noswad.me.uk/MiBlog/SessionsAndPlugins) and truster presents an
alternate solution. Truster suggests setting CakeSession->path='/' and
ini_set('session.cookie_path', '/') in beforeFilter(). Correct me if i'm
wrong
Hi Gonçalo,
Did you try this:
http://groups.google.com/group/cake-php/search?group=cake-php&q=session+plugin
If there is always a new session for each plugin there is a solution on
my site (see the results above), although I found that with an upgrade
the 'problem' went away. If it is, as you sa
Hi,
thanks for your reply. You are right - i seem to work against the
framework due to my working habbits. I need to get used to cake first i
think.
Even so - do you know how to create your own query function. It looks
really confusing to me.
Cheers
Phil
On Nov 7, 1:33 pm, "lloydhome" <[EMAIL
Phil,
For most things it is better to have the data the way it is returned.
I would encourage you to work within the framework and not against it.
That said, maybe you have some logic that is legacy like I do. I am
porting a clumsy mess of code into Cake but it cannot be done all at
once. I hav
Hi all,
i was wondering why cake gives me a weird output array for my query
Query:
SELECT
jobName,
ujc.id,
roleName,
userName,
disciplineName
FROM user_job_con
hi,
since you have created the action xmlrpc_dosomething in things
controller,
the view should in
/app/views/things/xmlrpc_dosomething.thtml
try keep the action casing simple to follow. either use
someThingLikeThis or some_thing_like_this. Dont mix it
something_likeThis. Can be confusing for the
Hell all,
Just a quick question about the existing way in cake to remove all the
association records in a join table, base on the shared table id ?
Well if we get the sample Post/Tag, the post declare an HABTM relation
with Tag, everything is ok to manage the posts_tags table from the the
post mo
I'm using PHP's native session management. I'll try Cake's and see if the
problems persists. Either way i don't think it is a permissions problem.
The session data files are there. The problem is that Cake creates a
different session/cookie for each plugin!
Thanks for your help.
On Mon, 6 Nov 2
I'm using Linux, so i guess our problems aren't OS related.
On Mon, 06 Nov 2006 21:43:35 -
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> What operating system are you using? I use OS 10.4 and have recently
> downloaded a software update for it which has cancelled my computer's
> abil