Because Joomla/Drupal are CMS and CakePHP is a framework. Perhaps you
should read a bit more on the difference.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to
Hello Jitka :) I remember You from our discussion about my performance
trick in cake.1.1 ;)
On 30 Maj, 03:41, jitka (poLK) slunii...@gmail.com wrote:
There's ArticleVersion model, which have this fields: id, name:
varchar, introduction:text, created:datetime.
I've defined to name and
For my application I need a ACL with habtm.
In my book Webentwicklung mit CakePHP there´s only an example with a
hasMany relation.
I can't find anything I the web belonging to ACL and habtm (with the
ACL of cakePHP and no custom solutions).
For testing purposes I only have a simple aco tree:
There's ArticleVersion model, which have this fields: id, name:
varchar, introduction:text, created:datetime.
I've defined to name and introduction fields to be translatable:
var $actsAs = array('Translate' = array('name', 'introduction'));
Table for ArticleVersion model should
Instead of AppModel contructor, I would vote for AppModel::beforeFind
() - and one thing to keep in mind: locale for translation you're
looking for should be first in locale array.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
In AppModel::beforeFind() would be useful to check
$this-Behaviors-attached('Translate')
$this-Behaviors-enabled('Translate')
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group,
Hi Jorge;
Easiest way is to do a find with condition that TreeModel.lft+1 =
TreeModel.rght
On May 31, 8:42 am, Jorge Horacio Cué Cantú jorge@gmail.com
wrote:
Hello,
I have a system with a Model behaving as Tree, the question is.
I need to get a list of rows with out children meaning
or:
TreeModel-query('SELECT * FROM model_things WHERE model_things + 1 =
model_things.rght').
'TreeModel' is obviously the name of your model that behaves as Tree
and 'model_things' is its db table.
On May 31, 8:42 am, Jorge Horacio Cué Cantú jorge@gmail.com
wrote:
Hello,
I have a system
Personally, I don't think using an integrated cake-Joomla approach is
such a great idea.
What do you gain?
Creating article management capabilities is trivial in cake. Do you
really want all of Joomla code for that?
Perhaps you are enticed by all the Joomla extensions? I can understand
that,
Thanks
It works great!.
2009/5/31 delocalizer conrad.leon...@hotmail.com
or:
TreeModel-query('SELECT * FROM model_things WHERE model_things + 1 =
model_things.rght').
'TreeModel' is obviously the name of your model that behaves as Tree
and 'model_things' is its db table.
On May 31,
Hey guys, i'm trying to do this, but i can't get to work:
function verclones($id){
$this-layout = limpio;
$clones=$this-Visitante-query(SELECT DISTINCT usuario_id FROM
visitantes WHERE ip=(SELECT ip FROM visitantes WHERE usuario_id=$id
ORDER BY ip DESC LIMIT
I will try those things and get back to you. About the perms though,
they are correct, as those are the perms on my images directories that
I upload to as well and that works fine, so I'm pretty sure the perms
are correct.
On May 30, 2:13 pm, brian bally.z...@gmail.com wrote:
On Sat, May 30,
Hi!
I'm trying to capture the ID of an autocomplete Field, but I didn't
get notring... :S
I'm using the prototype autocomplete function in cake, someone told me
to utilize jquery, but I didn't find some helpfull example... can
someone help me?
Best Regards
Franco Tampieri
Try debug($clon) and you'll see.
On Sun, May 31, 2009 at 9:06 AM, Unaxillo comerc...@tuamo.net wrote:
Hey guys, i'm trying to do this, but i can't get to work:
function verclones($id){
$this-layout = limpio;
$clones=$this-Visitante-query(SELECT DISTINCT
In your model EventAdmin is there any relationship with some model
matched with test_event_admins's table?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to
If you want a 1-n relantionship, use $belongaTo, and not $hasOne, like
you've done. But, i dont think that will correct your problem. Could
you put the error's message, please?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
If you want to use code like you had before, check the livequery
plugin. It reattached applicable events as new elements are added to
the DOM (ie. Your change event to a new select box)
On May 30, 2:47 pm, DigitalDude e.blumsten...@googlemail.com wrote:
Hey,
THX for the response. I already
Hi,
I have form where the site admin create articles.
While creating the article for links he is using a href=http://
google.comgoogle/a , But this is not getting saved in my database.
When i click on save, it is not throwing any error also.
Normal text is getting saved.
database filed's type
Hi all,
when i activate persistent model to true in my application, it breaks
my models, I'm getting the following fatal errors:
Fatal error: PhotosController::index() [a href='http://php.net/
photoscontroller.index'photoscontroller.index/a]: The script tried
to execute a method or access a
MeioUpload is made for images..
If you have modified it, to handle all kinds of files, check to see if
you can upload other kind of files.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to
maybe because you sanitize input ?
http://book.cakephp.org/view/462/html
--
pietro
--~--~-~--~~~---~--~~
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
Here's my problem: If the foreign key in the HABTM join table isn't
unique and could therefore return multiple matching records, all the
records should be part of the returned dataset. The way it works now,
only the first record is returned and the others are skipped.
Simple example:
Model
It wont work, so set it to false.
$persistModel only works in some instances and not in others. It will
cause model conflicts with other controllers, hence the error you are
getting. Nothing you can really do about it.
--~--~-~--~~~---~--~~
You received this
role, group ... pretty much the same thing, no?
On Sun, May 31, 2009 at 8:45 PM, Dave Maharaj :: WidePixels.com
d...@widepixels.com wrote:
This is fairly simple question but I think saying it in my head and hearing
it sounds wrong and confusing me further.
User signs up and selects the Group
Yes exactly the same thing...user can only have one role/groupjust
saying user can only have one group sounds wrong...whereas user belongs to a
group sounds right (as in English language sounds right) and confusing
myself further..
Basic ideas is user has 1 one role/group but I need a
hi,
everyone!
I used the Auth Magic login method.
so, I don't need do anything, anyone can login in by the example of login
for example the method
function login() { }
but now I want to add some condition for the login,
what should I do?
Thank you!
rimoe
This might help.
http://www.milesj.me/blog/read/5/using-cakephps-auth-component
--~--~-~--~~~---~--~~
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
Miles J,
Thank you for your answer!
now, I can add some conditions.
by the way, in your example the $this-Auth-loginError has been set in the
beforefilter,
so, the error will be show anytime, when you have no login.
maybe I have use it wrong.
how to show the loginerror, do you know, and can you
A forum is not a hard task really.
Take a look at this:
http://code.google.com/p/expertforum
On 30 май, 10:40, thethanghn thethan...@gmail.com wrote:
HI everyone,
I'd like to build a website by CakePHP and it needs a reliable forum
and it's surely a hard task. Could anyone tell me whether
29 matches
Mail list logo