I would be interested as well in any help on this topic.
The cookbook isn't very verbose on this:
http://manual.cakephp.org/view/623/Xml
In the end I would like to make an XML export out of my database, but at
the moment I don't know how to get expat on my development server
(WinXP) or on my
Hi Claudia,
Since you got it workling you might be able to help:
In the cookbook
(http://manual.cakephp.org/view/162/Localizing-Your-Application) it says to
include the L10n like this:
$uses('L10n');
class RecipesController extends AppController { //... }
I am just
@googlegroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von
Liebermann, Anja Carolin
Gesendet: Dienstag, 14. Oktober 2008 18:11
An: cake-php@googlegroups.com
Betreff: AW: localization
Hi Claudia,
Since you got it workling you might be able to help:
In the cookbook
(http://manual.cakephp.org/view
. Oktober 2008 00:55
An: CakePHP
Betreff: Re: xmlwriter
Well check the xml helper and serialize method, if DB is big you might have to
paginate it ..
I also believe that mysqldump can dump xml (not sure thought)...
On Oct 14, 5:46 pm, Liebermann, Anja Carolin
[EMAIL PROTECTED] wrote:
I would
Hi Mohammad,
Have you checked on typos in your object/controller/function name?
Common typos are e.g. your model is named Foo
$this-data['Foos'] instead of $this-data['Foo']
Or the action goes to foo_controller instead of foos_controller
Lastly check your model foo.php on typos.
Good hunt!
Hi Mohammad,
On the first glance everything looks well and your files are at the right place.
My user model look like this:
class User extends AppModel {
var $name = 'User';
var $useTable = 'users';
}
My users_controller starts the same as yours.
Sorry maybe someone else has
It tells your model in which table it should look for your users.
Anja
-Ursprüngliche Nachricht-
Von: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von xelios
Gesendet: Donnerstag, 16. Oktober 2008 12:29
An: CakePHP
Betreff: Re: Object not found! error...
var
have all your answers.
On Thu, Oct 16, 2008 at 8:29 AM, Liebermann, Anja Carolin [EMAIL PROTECTED]
wrote:
Hello everybody, hi Franky,
Thanks for your reply!
So XML seams to be a core helper. But I don't understand from where I get it
working. Am I right if I use it in my controller?
I
Hello everybody,
It looks like I have found a bug :
I have a complex query with an action whcih contains several parameters
whcih I would liek to keep when I use the sorting functionality in the
view.
I found a ticket on this: https://trac.cakephp.org/ticket/2099
This seems to solve my
:[EMAIL PROTECTED] Im Auftrag von
Liebermann, Anja Carolin
Gesendet: Donnerstag, 16. Oktober 2008 12:18
An: cake-php@googlegroups.com
Betreff: xmlwriter
Hi Siegfried!
Good idea! I will inhale this tutorial :-)
If I get it right finally I even might write an own tutorial for export ;-)
Anja
Auftrag von
Liebermann, Anja Carolin
Gesendet: Freitag, 17. Oktober 2008 13:47
An: cake-php@googlegroups.com
Betreff: xmlwriter
Hi everybody,
I try to follow the sitemap tutorial, but have problems with the layout.
If I call http://localhost/myapp/sitemap.xml it tries to use the default.ctp
= 'default';
-Ursprüngliche Nachricht-
Von: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von
Liebermann, Anja Carolin
Gesendet: Freitag, 17. Oktober 2008 13:47
An: cake-php@googlegroups.com
Betreff: xmlwriter
Hi everybody,
I try to follow the sitemap tutorial, but have
I guess everybody has his or her preferences. Meanwhile I work with Eclipse and
PDT and I like it very much.
Anja
-Ursprüngliche Nachricht-
Von: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von Matthieu
Gesendet: Montag, 20. Oktober 2008 08:46
An: CakePHP
Betreff: PHP
This should help you:
http://de2.php.net/manual/en/function.array-rand.php
Of course for the first array, you have to get all datasets. For the next
selects you can add conditions.
Hope that helps
Anja
-Ursprüngliche Nachricht-
Von: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED]
What also works and doesn't need installation is notepad2 for Windows:
http://www.flos-freeware.ch/notepad2.html
With Linux I like kate.
However now that I am programming nearly fulltime I enjoy the niceties of
eclipse. But of course this needs some time to download, install and get used
Hi Craig,
I asked myself the same, but by making a typo I found out that if you press the
Ctrl. + Shift + M keys your matching model is loaded. Surprise ! :-) So I will
now experiment with some more key combinations.
Anja
-Ursprüngliche Nachricht-
Von: cake-php@googlegroups.com
Some more help
http://opencakefile.sourceforge.net/
Anja
-Ursprüngliche Nachricht-
Von: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von
CraigFisher
Gesendet: Mittwoch, 22. Oktober 2008 00:35
An: CakePHP
Betreff: Re: Best way to manage tags
OpenCakeFile...
How
Same for me.
I tried to find my way through this (I have a quite complex application) when I
stared with my current project, but gave up after 3 days and delayed ACL for
version 1.2 : Hopefully then things will look a bit easier because by now I am
more acquainted with cake syntax.
I haven't
Hi everybody,
I make good progress with my xml-export.
Since I expect the output to become very big, I would like to write the
resulting view rather to the harddisk to download later than show it on
the screen.
Now my questions:
In my controller I have an function which could write strings in
the content of the view
HTH
On 22 oct, 15:49, Liebermann, Anja Carolin
[EMAIL PROTECTED] wrote:
Hi everybody,
I make good progress with my xml-export.
Since I expect the output to become very big, I would like to write
the resulting view rather to the harddisk to download later than show
, 5:08 pm, Liebermann, Anja Carolin
[EMAIL PROTECTED] wrote:
Hi djiize,
Thanks for the hint. But my problem with the size of my view would still
remain.
I guess in the end the view will contain several thousands (litearally) of
lines in xml and would cause a crash of either php / server
of the view
HTH
On 22 oct, 15:49, Liebermann, Anja Carolin
[EMAIL PROTECTED] wrote:
Hi everybody,
I make good progress with my xml-export.
Since I expect the output to become very big, I would like to write
the resulting view rather to the harddisk to download later than show
it on the screen.
Now
Hi Matthieu,
The project I am now coding together with one colleague is quite big (at least
for me). We have about 70 models and tables.
What we did in the start was: sit together and think hard what everything
should do (paper).
Then we went on to think what objects / models we would need
Hi everybody!
Is there a possibility to set the time limit for a script in CakePHP?
With a normal PHP script which has a big execution time I set it to
set_time_limit(0);
to avoid error messages.
Can I do the same with Cake without changing the seetings for the whole
server? If yes
(in the controller), also empty that to get
only the current view.
On Fri, Oct 24, 2008 at 11:11 AM, Liebermann, Anja Carolin [EMAIL PROTECTED]
wrote:
Hi Djiize, hi everybody
At the moment I try your idea with $this-render().
I wrote a function which will write me a string to a file on harddisk
approach?
Every time you call $this-render() in the controller it's output is appended
in $this-output.
Call $this-render(), get the output from there or from $this-output and save
that, the empty $this-output.
HTH,
- Dardo.
On Fri, Oct 24, 2008 at 1:49 PM, Liebermann, Anja Carolin [EMAIL
Hi Niraj,
That sounds like the cookies are switched off and the session-id is attached to
the Url, as they should be, when Cookies are disabled.
Anja
-Ursprüngliche Nachricht-
Von: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von Niraj
Shah
Gesendet: Dienstag, 28.
Hi Mario,
I have similar situations in my application and I guess there is no automatic
way to do it.
So what I do is get the data wth all fields and loop through them and create
another array with value = id and shown sring firstname + family name.
If there is a more elegant solution I
Hi paamayim,
I found what villas posted on this list some weeks ago:
Well we don't know what hacks you've read, but here's a few things I
saw:
FAQ see section: How to retain search param in paging?
http://groups.google.com/group/cake-php/web/faq?hl=en
A few other links I found:
so I'm not sure
why it's happening.
On Oct 28, 2:42 am, Liebermann, Anja Carolin
[EMAIL PROTECTED] wrote:
Hi Niraj,
That sounds like the cookies are switched off and the session-id is attached
to the Url, as they should be, when Cookies are disabled.
Anja
-Ursprüngliche Nachricht
That is how queries with pagination and conditions worked for me:
http://groups.google.ch/group/cake-php/msg/09277228f45365ac
Hope it helps!
Anja
-Ursprüngliche Nachricht-
Von: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von Jason
Qualkenbush
Gesendet: Mittwoch, 29.
Hi all,
I just encountered an error in my program due to inflections.
My model is called Uebsmwinklusive, it uses the table
uebsmwinklusives. What happened, when I tried to use the index.ctp,
which uses arrays like: $uebsmwinklusive['Uebsmwinklusive']['id'], I get
an error Undefined index:
:[EMAIL PROTECTED] Im Auftrag von David
C. Zentgraf
Gesendet: Donnerstag, 30. Oktober 2008 00:25
An: cake-php@googlegroups.com
Betreff: Re: Turn off inflections
Try putting the words you do not want inflected in the $uninflectedPlural array.
Gruß,
Dav
On 30 Oct 2008, at 01:33, Liebermann, Anja
not enter RegEx slashes '/.*/', that screws it up.
BTW, looking at your original problem again, you might rather want to use the
irregular plurals array, since you do need it pluralized for the table name...
On 30 Oct 2008, at 17:46, Liebermann, Anja Carolin wrote:
Hi David,
I tried out several
@googlegroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von
Liebermann, Anja Carolin
Gesendet: Donnerstag, 30. Oktober 2008 13:55
An: cake-php@googlegroups.com
Betreff: AW: AW: Turn off inflections
Hi David,
The test works for me, too.
However in my application I still get Uebsmwinklusife and of course all
Hi everybody,
I need a hint how I get my variables into a translateed string.
E.g. (you surely know that one *g*)
'Page %page% of %pages%, showing %current% records out of %count% total,
starting on record %start%, ending on %end%'
Where do %page% etc come from?
I have several strings like
Hi,
What I have:
function logout()
{
// Redirect users to this action if they click on a Logout
button.
// All we need to do here is trash the session information:
$this-Session-delete('User');
// And we should
Liebermann, Anja Carolin
Gesendet: Freitag, 31. Oktober 2008 11:48
An: cake-php@googlegroups.com
Betreff: Translation and placeholders
Hi everybody,
I need a hint how I get my variables into a translateed string.
E.g. (you surely know that one *g*)
'Page %page% of %pages%, showing %current% records out
Hi, that sounds like pagination with conditions:
http://groups.google.ch/group/cake-php/msg/09277228f45365ac
If I understood you correctly: if you want an average rating you have to read
first all your datasets and loop though the array and create an average value
of the ratings. So paging
Hello everybody,
At the moment I write my help files for my application as static pages
in the pages directory. I wonder if there is a possibility to create an
automatic table of contents with cake.
I know the tutorial
http://bakery.cakephp.org/articles/view/automatically-generate-dynamic-s
Hi Janis,
example.com is a placeholder for the domain name which will host your
future application. Just ignore this as long as you application isn't
running on your final webserver.
If you put your cake folder in the document root ( = htdocs) your
application should show up when you request
Hi Maverick,
As Sam pointed out when you are done, set debuglevel to 0.
Considering themes: There is such a wide range of applications which you can
develop with Cake that themes would be nonsense. Just open your application
with Firefox and Firebug and check where your formats are defined
Hi Tulio,
I guess you developed on a windows system and migrated to an iX system.
Did you check the access right on all your files and folders already?
Anja
-Ursprüngliche Nachricht-
Von: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von Tulio
Faria
Gesendet:
this...
The strange thing is that the generated SQL is wrong too, it does not have the
fields...
Any other guess?
On 5 nov, 11:24, Liebermann, Anja Carolin
[EMAIL PROTECTED] wrote:
Hi Tulio,
I guess you developed on a windows system and migrated to an iX system.
Did you check the access right on all your
Hello everybody,
I wonder what the difference is between
$this-Hotel-read(null, $id);
and
$this-Hotel-findById($id);
Hotel being my model with HABTM relations to a lot of other models.
The returned arrays look the same. Is read just a shortcut for findById?
Bake put me a lot of reads in my
Thank you for the hint!
Containable seems to offer amazing possibilities. I read the cookbook article
on it (http://manual.cakephp.org/view/474/Containable) and 3 Questions arose:
1st:
I wonder about the syntax to get more than one associated model back.
Lets say I call $this-Hotel-find
Hi Clint,
I guess that depends on what your website should do in generaland if and how
the differnet functionalities are related.
1. How many static pages do you have
2. How often chengeas teh content of teh static pages and who changes them?
Based on this you have to decide if you do it
Hi Clint,
You are right. If you don't want to reuse applications you can do that way.
Even if you do want to reuse them it might work, dependihg on relations between
them.
Anja
-Ursprüngliche Nachricht-
Von: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von
Looks like /views/videos/index.ctp is missing
But the name of your controller videos_controller.php should be Videos.
Have a look here: http://manual.cakephp.org/view/22/CakePHP-Conventions
Anja
-Ursprüngliche Nachricht-
Von: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] Im
Hi Roman,
Have you already read this?
http://manual.cakephp.org/view/74/Complex-Find-Conditions
Anja
-Ursprüngliche Nachricht-
Von: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von Roman
Gesendet: Freitag, 7. November 2008 10:53
An: CakePHP
Betreff: Is it possible in
Hi Norman,
What I did, also because I use the most complicated setup possible with cake
is:
I baked the MVCs in the standard folder with a cake folder which is a copy of
my real folder. Then I copied the desired results to my real application
folder.
A bit complicated, but I couldn't get
Hello everybody,
I followed this tutorial
http://manual.cakephp.org/view/641/Simple-Acl-controlled-Application
And tried to adapt it for my application (which isn't simple at all
anymore: about 70 controllers). After doing everything, I cannot sse my
login page. It is just a completely blank
, Liebermann, Anja Carolin
[EMAIL PROTECTED] wrote:
Hallo everybody,
In the Cookbook
(http://manual.cakephp.org/view/648/Setting-up-permissions)itsays:
If you do a SELECT * FROM aros_acos you should see a whole pile of
1's and 0's.
If I have a look at this table I see a lot of 1s and -1s and no 0
Hallo everybody,
In the Cookbook
(http://manual.cakephp.org/view/648/Setting-up-permissions)it says:
If you do a SELECT * FROM aros_acos you should see a whole pile of 1's
and 0's.
If I have a look at this table I see a lot of 1s and -1s and no 0!
Of course my User login isn't working either
guessing that you loginname is the issue.
On Nov 12, 7:40 am, Liebermann, Anja Carolin
[EMAIL PROTECTED] wrote:
Group is Gruppe in German and I adapted the code, models, controllers
accordingly. Or do groups have to be named groups, like the loginname
has to be username?
Thank you in advance
Hi Dardo,
Any idea what went wrong?
A lot of things :P, but try to get simple auth working, i.e. set
$this-Auth-authorize = 'controller', and then try to move on to acl.
My advice is try ACL in a pet application first (the blog can be used),
then when you have full grasp of it, try to
Hi Raremon,
Please can you name the Url you are trying to get and the matching controller
and action name? Have you tried to switch off caching?
Anja
-Ursprüngliche Nachricht-
Von: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von raremon
Gesendet: Montag, 17.
Another solution I use is:
The fields which should be shown but not changeable get the attribure
readojnly and a cssclass which marks them as readonly:
Form:
echo $form-input('foo',array('type'='text', 'readonly' = 'true',
'class' = 'readonlyclass'));
CSS:
input.readonlyclass{
I agree with Günther: Hiding is the best. for all named reasons.
I am still struggling with acl and auth. Until now i did it very roughly in my
menues like this:
$usergruppe = $session-read('User.Gruppe.id');
//echo $usergruppe;
switch($usergruppe){
case 2:
$admin =
Dear Ernane,
Normally your script shouldn't need as long. However in some situations it
cannot be avoided (like creating a huge export file) in this case set
set_time_limit(0);
Direct after the call of your action
Anja
-Ursprüngliche Nachricht-
Von:
12, 10:40 am, Liebermann, Anja Carolin
[EMAIL PROTECTED] wrote:
Hello everybody,
I followed this
tutorialhttp://manual.cakephp.org/view/641/Simple-Acl-controlled-Appli
cation
And tried to adapt it for my application (which isn't simple at all
anymore: about 70 controllers). After doing
And would the group id be
$this-Auth-group('id');
?
Anja
-Ursprüngliche Nachricht-
Von: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von
thatsgreat2345
Gesendet: Donnerstag, 13. November 2008 17:35
An: CakePHP
Betreff: Re: regarding Auth Component..
For just id
Hi Hipnotik,
You would need a controller and model for the realtion also.
I have the same situation with some of my models and work woth a third model
which gives me the connection between then like Conncolourproduct.php and
conncolourproducts_controller.php
Maybe someone has a more clever
,
habtm?]
Hi Anja,
thanks for your reply.
My first idea how to do that was same as your... but I started to think of it
and there should be a more clever way, I think.
On 17 Lis, 12:04, Liebermann, Anja Carolin
[EMAIL PROTECTED] wrote:
Hi Hipnotik,
You would need a controller and model
An: CakePHP
Betreff: Re: regarding Auth Component..
Seems like you might be mixing authorization and authentication to me.
Are you using ACL ?
On 17 Nov, 06:17, Liebermann, Anja Carolin
[EMAIL PROTECTED] wrote:
And would the group id be
$this-Auth-group('id');
?
Anja
-Ursprüngliche
that will break Auth.
HTH,
- Dardo.
On Mon, Nov 17, 2008 at 8:58 AM, Liebermann, Anja Carolin [EMAIL PROTECTED]
wrote:
Hi Mark,
I followed Dardos advice and did everything first in a small test
application, learned something and hurray... There it worked, even when I
renamed Group to the German
the errors.
-Mark
On Nov 12, 10:40 am, Liebermann, Anja Carolin
[EMAIL PROTECTED] wrote:
Hello everybody,
I followed this
tutorialhttp://manual.cakephp.org/view/641/Simple-Acl-controlled-Appli
cation
And tried to adapt it for my application (which isn't simple at all
anymore: about 70
2, then type your password in the
login form and hit submit. Look for the correct hash in the sql log and then
update your password in db and you are done.
HTH,
- Dardo.
On Mon, Nov 17, 2008 at 1:43 PM, Liebermann, Anja Carolin [EMAIL PROTECTED]
wrote:
Thank you Dardo!
So I started again
This is very useful:
http://mark-story.com/posts/view/reducing-requestaction-use-in-your-cakephp-sites-with-fat-models?utm_source=rss
Anja
-Ursprüngliche Nachricht-
Von: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von David
C. Zentgraf
Gesendet: Dienstag, 18.
Hi Yogesh,
As far as I know this is not possible. This is also the reason why you can set
a session timeout. The server and therefore your application has no clue if
your user still views teh browser window or if the windows has bee closed, the
PC shut down etc.
Maybe you can do a kind of
Hi Srini,
I had also trouble with bake first, but to make it work I didn't have to edit
anything.
But adding the -app parameter surely did help.
Anja
-Ursprüngliche Nachricht-
Von: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von Srini
Gesendet: Mittwoch, 19.
Hi everybody,
I have auth and acl in place, but have the strange situation that after
logging in I can view my index of groups and users (admin and normal
routing) and can also edit users, but when I try to access any other
controller I get kicked back to the login form. So also the
Hello Luigi,
I would do it the following way:
In your controller parse your array and create a new one which contains teh
desired values. Pass this array via $this-set on to the view.
Maybe there is a more elegant way to do it, but this is how I do it.
anja
-Ursprüngliche Nachricht-
tell me how to add the -app parameter.. ?
Thanks,
Srini
On Nov 19, 1:37 pm, Liebermann, Anja Carolin
[EMAIL PROTECTED] wrote:
Hi Srini,
I had also trouble with bake first, but to make it work I didn't have to edit
anything.
But adding the -app parameter surely did help.
Anja
She's got it, yeah baby she's got it!
Oh my, thanks for your help Dardo.
So, what messed it up in the end was my old basic authentication method, which
checked for a session variable and when it didn't find it kicked my back to
login. And this was placed in every controller beforeFilter
Hi Marcus,
As I just found out yesterday mayself:
I guess you have to map your actions to the CRUD model like:
$this-Auth-mapActions(array('update'=
array('edit','editFoo','myupdatesomething')));
That is, when you plan on also using Auth
Anja
-Ursprüngliche Nachricht-
Von:
Hi Arvin,
What I do is I add a search action (similar to the index action) to the
controller.
E.g. in my application I have hotels. So in my hotels_controller.php I have the
function search and a view search.ctp in my hotels views folder.
Some searches that I do involve related models so it
Hi folks,
I wonder if I can add additional conditions for authentication.
In my application I have users belonging to different groups (using auth
and acl). For various reasons I don't want to delete user accounts, but
I want to be able to set them inactive.
So far I did that with setting a
dr.
Hannibal Lecter
Gesendet: Donnerstag, 20. November 2008 09:36
An: CakePHP
Betreff: Re: Additional conditions for authentication
You're probably looking for user scope:
http://book.cakephp.org/view/487/userScope
Hope that helps!
On Nov 20, 9:29 am, Liebermann, Anja Carolin
[EMAIL PROTECTED
everything
run through Apache. I am not to sure about the 2nd part of your question. What
do you mean filter?
On Nov 21, 5:54 am, Liebermann, Anja Carolin
[EMAIL PROTECTED] wrote:
Hi everybody,
I have a quite complex find request with contain and my memory gets
exhausted.
2 Questions:
Ist
Hi everybody,
I use Acl and Auth and have the problem that in a certain controller I
need my userid for saving it with the other data.
So what I do is
$this-Katalogplanung-save(array('Katalogplanung' = array(
'auspraegungplanung_id' = $auspraegungplanung_id,
I should add that in my app-controller.php $this-Auth-user('id') is working
fine.
Anja
-Ursprüngliche Nachricht-
Von: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von
Liebermann, Anja Carolin
Gesendet: Freitag, 21. November 2008 15:28
An: cake-php@googlegroups.com
Nachricht-
Von: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von
Liebermann, Anja Carolin
Gesendet: Freitag, 21. November 2008 15:28
An: cake-php@googlegroups.com
Betreff: $this-Auth-user('id') is Null although I am logged in
Hi everybody,
I use Acl and Auth and have
Hi everybody,
I have a model called Text, with a method copyFromMaster. In this methos
I want to set the user id of the user calling the method to save with my
new dataset.
In th controller I would do
$user = $this-Auth-user();
How can I get this information in my model? Piping
Hi everybody,
I try to combine pagination with containable behaviour, but the
contain doesn't seem to have any effect.
I tried two variation of the syntax:
$this-paginate['Hotel'] = array(
'limit' = 10,
'order' = array
meaning that the model wasn't using
containable which led to exactly your problem.
There is now a grigri's-head-shaped dent in the wall)
hth
grigri
On Nov 24, 11:28 am, Liebermann, Anja Carolin
[EMAIL PROTECTED] wrote:
Hi everybody,
I try to combine pagination with containable behaviour
Hi sundar,
I give you an exapmple of a complicated rule combination of one of my models,
which shows the error message in the view when a validation error occured:
class User extends AppModel {
var $name = 'User';
var $useTable = 'users';
var $validate = array(
Hi Josey,
I had the same problem. I needed two submit buttons with different actions
behind it. What I did:
In the view:
/fieldset?
echo $form-submit('saveandleave', array('div'=false, 'name'='saveandleave',
'value'='saveandleave'));
echo ' ';
echo $form-submit('onlysave',
: Pagination with containable: Contain has to effect
May be he's using an older version of 1.2. ¿or not?
On Nov 24, 9:31 am, Mariano Iglesias [EMAIL PROTECTED]
wrote:
[2] What do you mean you had the file in the wrong place? Containable
is part of the core.
Liebermann, Anja Carolin wrote:
[2
is part of the core.
Liebermann, Anja Carolin wrote:
[2] I have contaninable for all my models But I had the file
placed in the wrong folder. Ouch
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Hi everybody,
I am trying to program a search with contain since nearly a week now and
I still don't get it right.
What I want to do:
Hotel belongsto Hotelmaster (Hotel is a kind of blueprint of
Hotelmaster)
I search for Hotel and want only to find datasets where the related
Hotelmaster
Hi Zen,
I had the same trouble like you had. So I pass on Dardos good advice:
Start with a simple testapplication following this tutorial:
http://book.cakephp.org/view/641/Simple-Acl-controlled-Application
and do a bit reading here:
: 1 form, multiple actions
Anja, wanted to get back with you.
I modified my action based upon your recommendation and it worked swimmingly!
Thanks for your help.
On Nov 25, 1:53 am, Liebermann, Anja Carolin
[EMAIL PROTECTED] wrote:
Hi Josey,
I had the same problem. I needed two submit buttons
the others back one
by one.
Also, please paste the SQL logs you're getting. It makes diagnosing the problem
a lot easier :)
hth
grigri
On Nov 25, 1:42 pm, Liebermann, Anja Carolin
[EMAIL PROTECTED] wrote:
Hi everybody,
I am trying to program a search with contain since nearly a week now
and I still
$this-data['Site']['site_id']
Presuming you are wroking in the sites_controller.php
Anja
-Ursprüngliche Nachricht-
Von: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von pkclarke
Gesendet: Mittwoch, 26. November 2008 12:57
An: CakePHP
Betreff: retrieve value of a
Hi Ahmed,
If you have these expressions only at one view that is the easiest solution.
However: if you have a big application working with localization is cleaner.
It has the advantage, that you have all your GUI strings in one place and when
you want to change one of them later you know
Hi Lemp,
If recursive = 0 or recursive = -1 doesn't give you all wanted data use contain
to minimize the data you export. I had the same problem with an xml export and
this heleped.
Anja
-Ursprüngliche Nachricht-
Von: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] Im Auftrag
Hi everybody,
Today I am stuck with setting up the permissions for Auth / ACL and I
have the suspicion it might not only be my tired brain causing the
problems. I try to set up my permissions again today, because some
things didn't work out as desired yesterday. So I did drop table on acos
and
a look at this:
http://www.cakephpforum.net/index.php?showtopic=27st=0
With that, I set up Auth and ACL and it works like a charm.
(You should read the entire thread, though. There are some bugfixes.)
Regards
Guenther
Liebermann, Anja Carolin schrieb:
Hi everybody,
Today I am stuck
',
$new_node,
'*'
);
return $aco_node;
}
Then my logic to set up the
On Dec 2, 2:42 am, Liebermann, Anja Carolin
[EMAIL PROTECTED] wrote:
$this-Acl-allow($gruppe,
'controllers/Bilds/','create'); //This is line 129 which throws
1 - 100 of 169 matches
Mail list logo