Hello gkc,
I have just tried the following in my app:
$vendors = $this-find('all',
array('conditions'=array('vendor_id ' = 0),
'contain'=array('Vendor.shortname'),
'fields'=array('left(Item.product,10) as p10, COUNT(*) as
Hello Paul,
this one has helped me a lot in using modalbox:
http://nerdnotes.org/2008/02/28/combining-modalbox-cakephp/
On Tue, Jan 13, 2009 at 4:45 PM, WebbedIT p...@webbedit.co.uk wrote:
Hi,
I am having a fair amount of success with ModalBox after playing
around with it for a couple of
Hi Lion29,
have you had a look at
http://book.cakephp.org/view/488/Themes
This does not only look, but provides nearly everything you wanted. Or
did I miss something ?
Siegfried
On Sun, Nov 9, 2008 at 4:44 PM, Lion29 [EMAIL PROTECTED] wrote:
I would like the same power with themes... it
22, 2008 at 10:23 PM, Siegfried Hirsch
[EMAIL PROTECTED] wrote:
Just to make sure, that its my fault:
Using the EmailComponent I was able to send emails - but if I set bcc
addresses, then
I can see the bcc addresses, when I address the email to my gmail account.
Any ideas, what could cause
PROTECTED] Im
Auftrag von .
Gesendet: Sonntag, 12. Oktober 2008 05:53
An: Cake PHP
Betreff: xmlwriter
has anybody worked with xmlwriter (or similar) with cakephp? thanks
--
Siegfried Hirsch
hhS - Welserstr. 1 - 81373 München - (089) 5484 3564 - skype:shirsch
Fax +49 - (0)89 - 943 992 698
At first I would be happy to get also a link to these laws.
Second, there is a cipher behavior in the bakery:
http://bakery.cakephp.org/articles/view/cipher-behavior
which seems just enabling this feature.
Siegfried
2008/10/10 Nate [EMAIL PROTECTED]:
Do you have a reference to these laws that
?
Thank you
Anja
--
Siegfried Hirsch
hhS - Welserstr. 1 - 81373 München - (089) 5484 3564 - skype:shirsch
Fax +49 - (0)89 - 943 992 698 - http://www.rss-blogger.de
http://www.newsbee.de NewsBee 2 - customized RSS solutions
http://abo-stop.de jetzt mit kostenlosem Kündigungsgenerator
$this-data = $this-Hotel-Hotelinfo-add($hotelmaster_id,$this-Hotel-id);
calls the function add() in your model Hotelinfo - not in the controller.
So as Martin has suggested, move the code for retriving or adding your
information into the model and your should be done.
On Thu, Oct 9, 2008 at
Hello
do not know who is in charge of it, but would it be possible to update
the API documention to RC3.
http://api.cakephp.org/ still shows RC2 API docs.
If there is anything I could do to make it happen I am willing to help.
Or am I missing something ?
Thanks a lot
Siegfried
FormHelper in 1.1 is very restricted. There was a great rewrite of
HtmlHelper and FormHelper between 1.1 and 1.2.
Maybe you should give 1.2 a try.
On Thu, Oct 9, 2008 at 9:38 AM, franova [EMAIL PROTECTED] wrote:
how to use form helper in the cakephp 1.1
holds picture thumbnail and link to its
original size and I have to update another div with just link to the
picture.
How can I update two divs with one $ajax-link ?
Cheers!
--
Siegfried Hirsch
hhS - Welserstr. 1 - 81373 München - (089) 5484 3564 - skype:shirsch
Fax +49 - (0)89 - 943 992
Hi everybody
I am just looking into the imap skeleton, that was provided by gwoo in the
bin some time ago. So far I have implemented some basic read functionality.
But now I am thinking about the further implementation of the imap
datasource.
Here are some questions, that I am not sure about:
-
' = 'User.role_id = 3'
)
);
Which seems to work to a degree but is a bit of a hassle when it comes
to editing the profiles and validating the form data.
How would you solve this?
Regards
Guenther
--
Siegfried Hirsch
hhS - Welserstr. 1 - 81373 München - (089) 5484 3564 - skype:shirsch
Fax
Use something like this:
$this-element('your_element');
On Fri, Sep 12, 2008 at 5:45 PM, gabriel [EMAIL PROTECTED] wrote:
I would like to make a simple link to a view which does not have a
controller and model, can anyone help me.
REgards
--
Siegfried Hirsch
hhS - Welserstr. 1
Hi,
using cake 1.2 rc2 I also want to use the Containable behavior.
I have a relation like Post and Comment and I do the following:
$this-paginate['conditions'] = array('Post.ramble_id' = $rambleId);
$this-paginate['contain'] = array('Comment.body LIKE %test%');
Thats the way I do it with prototype:
function selectAll(){
// use prototype to select all elements in an array
$$('input:[type=checkbox]').each(function(e){ e.checked = true; });
}
function deselectAll(){
// use prototype to select all elements in an array
var inputs =
+1
On Thu, Jul 17, 2008 at 8:54 PM, itsnotvalid [EMAIL PROTECTED] wrote:
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe
what about trying with the $ajax-observeField helper.
On Tue, Jul 15, 2008 at 2:45 PM, RJ [EMAIL PROTECTED] wrote:
Thanks for the reply.. The client side requirement is achieved...
but i want to make a check whether the user-name is already registered
on the fly(i.e ajax call on onkey
Did you take a look to this posting in the bakery ?
http://bakery.cakephp.org/articles/view/coding-a-self-join-in-a-cake-application
On Tue, Jul 15, 2008 at 10:01 AM, kaushik [EMAIL PROTECTED] wrote:
I want to introduce the parentID in this Model, this parentId is
actually foreign key to
I use frequecy for 1 seconds updates with the ajax call. Thats the way to handle
it without putting a burden on the server with every key stroke ;)
On Tue, Jul 15, 2008 at 3:11 PM, RJ [EMAIL PROTECTED] wrote:
it doesn't work i guess ... i want to make ajax calls on 'onkeyup'
event
how to use
Hello,
the subject says it all:
is it possible to call a helper function from within the controller.
Of course the helper is
included in the var $helpers = array('Myhelper');
class MyController extends AppController {
function index() {
$this-Myhelper-function_to_call(); // DOES NOT
Hello Chris,
yes I know. Maybe I need a hint for my problem.
I have written a new Helper. Now I want to set some variables, that
I can use from within the helper (yes I know I could handle this with
parameters), but I am trying to save some parameters, cause the
values are always the same.
Hello,
just a simple question, I guess:
How could I load the AuthComponent from a behavior, that I am writing ?
I think it should work with something like:
App::import('Component', 'AuthComponent');
$this-Auth = new AuthComponent();
Hello,
just a simple question, I guess:
How could I load the AuthComponent from a behavior, that I am writing ?
I think it should work with something like:
App::import('Component', 'AuthComponent');
$this-Auth = new AuthComponent();
from within the behavior.
But if I want to
On Tue, Jul 1, 2008 at 5:33 PM, John David Anderson
[EMAIL PROTECTED] wrote:
Two things to note:
and one more question:
the pages_controller is overridden for the test. Could this be a problem ?
--~--~-~--~~~---~--~~
You received this message because you are
2008/4/23 MonkeyGirl [EMAIL PROTECTED]:
Technically, it doesn't matter which character set you use as far as
storing data into a database goes. Whatever you put in, you get the
same stuff out. I would recommend using CHARSET=utf8
COLLATE=utf8_unicode_ci however, because this makes the
I have tried the new version and I still get also the
error: Class 'AppHelper' not found
The problem is, that cake tries to load the xml.php in the view/helper but
should instead load the xml.php from the /cake/libs directory.
I am not sure, how I can tell cake to load this specific file.
BTW,
2008/4/17, Siegfried Hirsch [EMAIL PROTECTED]:
I have tried the new version and I still get also the
error: Class 'AppHelper' not found
I was able to get around the errors by doing the following at the
start of the file
uses('xml');
App::import('Core', array('HttpSocket'));
works
You mean something like this, if you have proto and script loaded
function animateFlashMessage(){
// do the flash disapear (duration 5.0 sec)
var f = $('flashMessage');
if (f f.style.display != 'hidden') {
new Effect.Parallel([
new Effect.Fade(f,
the function flash in SessionComponent in 1.2 has all the
parameters you need. There is a key for different message types like
flash, error, warning, whatever you like. flash is just the default.
This constructs a different id for the div with the flash - like this:
div id=errorMessagethis is a
stuff it into a whatever.js and load it from you default.ctp layout
2008/3/24, John R [EMAIL PROTECTED]:
Excuse me if this is a simple question .. but assuming that is a
Javascript function .. how would I call it from the Controller?
--
Siegfried Hirsch
hhS - Welserstr. 1 - 81373
($whatever)
{
if (validation logic)
$this-modal('Success!', 'This is valid!', '/valid');
else
$this-modal('FAIL!', 'You are a failure', '/fail');
}
That's the part I am missing .. how do you trigger the action from the
controller?
--
Siegfried Hirsch
If you use 1.2 take a look at the new manual, I used it and it worked for me:
http://book.cakephp.org/view/208/ajax
search for autocomplete
2008/3/6, [EMAIL PROTECTED] [EMAIL PROTECTED]:
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Maybe a look into this might help:
http://mentalramblings.info/posts/view/cakephp-rss-helper-implementation
Now, as I said, the lack of an items / tag is hardly a fatal flaw.
What's wrong with just doing this:
items?=echo $rss-items($posts, 'transformRSS'); ?/items
On Feb 1, 3:49 am, leo
Hello grigri,
2008/1/31, grigri [EMAIL PROTECTED]:
The fields 'modified', 'created' and 'updated' are managed internally
within Model::save().
It doesn't matter where you call it from, if you call Model::save()
then those fields will work automagically.
Note that calling
2008/1/31, manish [EMAIL PROTECTED]:
Yes, this is managed by Cake itself.
Check: http://tempdocs.cakephp.org/#TOC62105
What about cake Shells? If I use $model-save() in a Shell, do they
created and modified
fields also get updated ?
I have just the problem and it looks like they are not
, transforming the content with helpers, and *then* use
$rss-items after that.
--
Siegfried Hirsch
--~--~-~--~~~---~--~~
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
]
[justaname]' using FormHelper?
--
Siegfried Hirsch
hhS - Welserstr. 1 - 81373 München - (089) 5484 3564 - skype:shirsch
http://gadgetgui.de / http://www.rss-blogger.de
http://www.newsbee.de NewsBee 2 - customized RSS solutions
--~--~-~--~~~---~--~~
You received
and then mentioned
default.thtml.. I believe the new 1.2 branches use default.ctp ( note the
extension ). It could be that your thtml files are parsing as plain text?
--
Siegfried Hirsch
hhS - Welserstr. 1 - 81373 München - (089) 5484 3564 - skype:shirsch
http://gadgetgui.de / http://www.rss-blogger.de
(Cake 1.2 style) the input method,
specify the class to be used
$form-input('fieldname',array('class'='floatleft') );
I believe floatleft would be appended to the class 'input' (resulting in
'input floatleft'), but you should test it
On 6/26/07, Siegfried Hirsch [EMAIL PROTECTED] wrote:
I
: __
Author: ___
I would like it to be: Title: Author:
how would I do that.
Thanks for your help
Amy
would be the input box.
--
Siegfried Hirsch
hhS - Welserstr. 1 - 81373 M�nchen - (089) 5484 3564 - skype:shirsch
http
on prototype / scriptacolous
and found this one:
http://prototype-window.xilinus.com/
Sorry, no helper yet, but looks promising.
--
Siegfried Hirsch
hhS - Welserstr. 1 - 81373 München - (089) 5484 3564 - skype:shirsch
http://gadgetgui.de / http://www.rss-blogger.de
http://www.newsbee.de NewsBee 2
/index.php, which you have for every of your apps.
--
Siegfried Hirsch
hhS - Welserstr. 1 - 81373 München - (089) 5484 3564 - skype:shirsch
http://gadgetgui.de / http://www.rss-blogger.de
http://www.newsbee.de NewsBee 2 - customized RSS solutions
This is the way, we use it for a textarea field:
echo $form-input('body', array('label'='Description',
'type'='textarea', 'rows'='15'));
Take a look at the input implementation again, there you find all the
bells and whistles.
Siegfried
2007/5/21, DragonI [EMAIL PROTECTED]:
Hi,
When I'm
2007/5/19, Samuel DeVore [EMAIL PROTECTED]:
here is one I have used that builds on prototype and scripta stuff
http://ajaxian.com/archives/tooltipjs-creating-simple-tooltips
there are a ton look in google for tooltip netflix
On 5/18/07, Chris Hartjes [EMAIL PROTECTED] wrote:
More of a
After trying SWFupload with cake 1.2, I found, that
$this-params['form'] no longer is filled. So I recoded some parts of
the SWLupload component from James Revillini for cakePHP 1.2.
I was not able to post a comment to the original posting in the bakery
2007/5/17, [EMAIL PROTECTED] [EMAIL PROTECTED]:
I haven't used 1.1 for a while, so I cant comment about
params['form']. I can confirm that in1.2 you will find your post
data in $this-data
I was asking because the SWFupload component from the bakery is
depending on $this-params['form'] to
Just a simple cakePHP app
http://2big.at
--
Siegfried Hirsch
http://rss-blogger.de
--~--~-~--~~~---~--~~
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
#comment-907
and reading the manual again and again also helps ;)
Siegfried
--
Siegfried Hirsch
hhS - Welserstr. 1 - 81373 München - (089) 5484 3564 - skype:shirsch
http://gadgetgui.de / http://www.rss-blogger.de
http://www.newsbee.de NewsBee 2 - customized RSS solutions
;)
I have a plugin ready to be used just for that case. I have not yet put
it into the bakery, because of the many parts of a plugin. But I guess, if
somebody wants it, I can upload a zip file on my domain.
Siegfried
--
Siegfried Hirsch
hhS - Welserstr. 1 - 81373 München - (089) 5484 3564
Hello,
I have a strange problem. Developing in Win2k with php5 eveything is
working.
But porting to Linux with php4, I get an error when calling
$javascript-link(...);
in a renderElement('header');
First I thought it could be the readerElement, which has problems, but
putting
the same code into
Model within my
menu and i don't really know how to access the data from the Category
Model within the elements.
Any further help for this?
Thanks,
Frank
--
Siegfried Hirsch
hhS - Welserstr. 1 - 81373 M�nchen - (089) 5484 3564 - skype:shirsch
http://gadgetgui.de / http://www.rss
.
Is there any way I can setup cakephp to not urldecode de params of
specifc controllers/actions?
Thanks in advance,
Rodrigo.
--
Siegfried Hirsch
http://www.rss-blogger.de / http://seconds11.com
http://www.newsbee.de NewsBee 2.0 - customized RSS solutions
https://www.openbc.com/net/sxsw/ - Forum
:
function show($url)
{
debug($url);
}
always gets me an 404 error, because the / in the $url are encoded
into %2f but they are still not recognized.
Is this a cake or a mod_rewrite problem ?
Siegfried
--
Siegfried Hirsch
http://www.rss-blogger.de / http://seconds11.com
2006/6/22, Repsah [EMAIL PROTECTED]:
Did you try
$sortby = Model.field1 desc, Model.field2 desc;
the solution is:
$sortby = array(field1 = DESC, field2 = DESC);
--
Siegfried Hirsch
http://www.rss-blogger.de / http://seconds11.com
http://www.newsbee.de NewsBee 2.0 - customized RSS solutions
the list ascending.
While I have a workaround by using query, I wanted to know if
some else had this problem before
Siegfried
--
Siegfried Hirsch
http://www.rss-blogger.de / http://seconds11.com
--~--~-~--~~~---~--~~
You received this message because you
divs times the number of items you want in the
row. So I ended just with printing the elements (121) which produce the grid.
echo div id=casts;
foreach ($data as $cast) {
echo div id=castimg ./div;
}
good luck
--
Siegfried Hirsch
http://www.rss-blogger.de / http://seconds11.com
http
57 matches
Mail list logo