On Wed, Jan 28, 2009 at 6:47 AM, Arafat arafa...@gmail.com wrote:
Dear i cant integrate the paypal in my site. The tutorial is too
critical. Can any one make it easier.
Thanks
It's not that hard
--
Fedora 9 : sulphur is good for the skin
( www.pembo13.com )
On Tue, Jan 13, 2009 at 12:59 PM, Webweave webwe...@gmail.com wrote:
Or even easier (although less cake-like, probably more efficient at
the DB level):
'fields' = array('Group.*', '(select count(1) from users User where
User.group_id = Group.id) as users_count')
Genius. I should have
I was trying to do what would be a fairly simple thing in plain SQL.
The bake script generated a nice groups_controller for me which
paginated the groups listing. Fairly simple.
All I wanted to do was add a user count to the index. The required SQL would be:
SELECT `Group`.`id` ,
On Sat, Jan 10, 2009 at 2:36 AM, AussieFreelancer
patr...@aussiefreelancer.com.au wrote:
Hi,
does anyone have a working example of where acl and auth components
are being used for a membership base of 10,000+ and there are no speed
issues? I really need to find an effective permissions
Lazy deletes being setting a field appropriately so that the row is
'deleted' but still in the database.
--
Fedora 9 : sulphur is good for the skin
( www.pembo13.com )
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
On Fri, Jan 9, 2009 at 12:56 PM, Bernardo Vieira
bvieira.li...@gmail.com wrote:
Try the delatable behavior. Not built in, but close.
http://bakery.cakephp.org/articles/view/soft-delete-behavior
Arthur Pemberton wrote:
Lazy deletes being setting a field appropriately so that the row
First of all, I started dev with the release candidate available at
the time, so I know I'm going to have to update to the latest release.
I will have to turn of debugging mode of course, but anything others
experience with this can share with me?
Thank you.
--
Fedora 9 : sulphur is good for
I can easily create a model which simply houses key/value/type
triplets and use that to store random user editable config. I am just
wondering if there is a better way to do this in CakePHP.
Thank you.
--
Fedora 9 : sulphur is good for the skin
( www.pembo13.com )
On Fri, Jan 2, 2009 at 10:53 PM, Webweave webwe...@gmail.com wrote:
First, you should reall be using find('all') not findAll, as in:
$friends = $this-User-find('all', array('conditions' = array
('User.id' = $target)));
To find all the users who are not friends, simply use the following:
On Wed, Dec 31, 2008 at 1:54 PM, mike mwu...@gmail.com wrote:
thanks for the response. thats not quite what I want. Each user can
have multiple ethnicities, so its a many to many relationship. In my
models, I have User hadMany UsersEthnicities, Ethnicity hasMany
UsersEthnicity and
On Tue, Dec 30, 2008 at 9:19 PM, mike mwu...@gmail.com wrote:
can someone help me with this please? the documentation is not good
enough for dumbasses like me. thanks.
You'll have to remind us what you are trying to do.
--
Fedora 9 : sulphur is good for the skin
( www.pembo13.com )
On Mon, Dec 29, 2008 at 2:59 PM, WebFeathers webfeath...@gmail.com wrote:
Hey-
I'm trying to generate a list of users who are not friends of the
currently logged in user.
I have two tables: profiles, and users_users
profiles includes the fields: id, first_name, last_name, etc...
On Mon, Dec 29, 2008 at 4:21 PM, WebFeathers webfeath...@gmail.com wrote:
Thank you Arthur - I figured I'd have to do it that way - was just
looking for a more elegant solution.
Thanks!
~R~
Keep in mind that I have only been using CakePHP for about a month
now, someone else may have a more
that it doesn't know the Sequence table. Thoughts?
Do I
have to recode the associations already in the models?
Chad
On Fri, Dec 26, 2008 at 6:26 PM, Arthur Pemberton pem...@gmail.com
wrote:
On Fri, Dec 26, 2008 at 5:14 PM, Chad Casselman
ccassel...@gmail.com
wrote
On Sat, Dec 27, 2008 at 4:22 AM, gearvOsh mileswjohn...@gmail.com wrote:
No thats the thing, XHTML is not supported.
You would need to put the content-type as application/xhtml+xml which
in most cases breaks the layout and always breaks IE. Everyone usually
puts it as text/html which then
On Sat, Dec 27, 2008 at 10:47 AM, Marcelo Andrade mfandr...@gmail.com wrote:
On Sat, Dec 27, 2008 at 12:43 PM, Bernardo Vieira
bvieira.li...@gmail.com wrote:
gearvOsh wrote:
In CakePHP you can choose the Doctypes of XHTML or HTML but the
taglist is all XHTML, which then causes markup
On Sat, Dec 27, 2008 at 1:09 PM, Chad Casselman ccassel...@gmail.com wrote:
So does than mean I can't run MySQL commands beyonds selects or just for
this one example?
I never said you can't do it, just said it would be easier. Consider
that you know everything necessary to do the calculations
On Sat, Dec 27, 2008 at 1:54 AM, mike mwu...@gmail.com wrote:
I saw a helper class for this for 1.1, but nothing for 1.2.
Is their an example of a checkbox group that maps to the same database
field? for example, one checkbox maps to a value of 1, another maps
to a value of 2.
Assuming that translates to:
SELECT
Friend.*,
User.username,
User.avatar,
User.handler
FROM
friends AS Friend,
INNER JOIN users AS User
ON User.id = Friend.user_id
WHERE
Friend.status = 'approved' AND
(
(Friend.user_id =
On Fri, Dec 26, 2008 at 4:39 AM, vikas vikas...@gmail.com wrote:
Hi..
I am learning cakephp myself and uptill now ACL is the tuffest topic..
I am working on a project called TMS-Task Management System.
In that
There is groups table which has a entry like
On Fri, Dec 26, 2008 at 5:14 PM, Chad Casselman ccassel...@gmail.com wrote:
I have a Controller for Jobs with a model Job.
When I hit /jobs (the index function of Job Controller), I need to run a
query on 2 other tables (not joined to Job) to find values to manually
insert into jobs before
On Fri, Dec 26, 2008 at 7:40 PM, Chad Casselman ccassel...@gmail.com wrote:
Should it bring in all hardcoded (model) associations when I import them?
Here is what I have and I can't pull any fields from Sequences or
PackagesSequence objects/tables
var $uses =
On Fri, Dec 26, 2008 at 10:54 PM, gearvOsh mileswjohn...@gmail.com wrote:
Honestly I really dislike the xhtml type of tags in CakePHP. There
are no reasons for that, I think it would be a better idea to make it
html 4 strict.
Heres an article on why xhtml is retarded.
On Sat, Dec 27, 2008 at 12:32 AM, gearvOsh mileswjohn...@gmail.com wrote:
Please explain your cleanliness? HTML 4 can do everything XHTML can
except self closing tags /.
Also your XHTML is being parsed as HTML and removed, so whats your
point?
What exactly is CakePHP doing that you find
On Sat, Dec 27, 2008 at 1:41 AM, gearvOsh mileswjohn...@gmail.com wrote:
Most browsers dont support XHTML
I don't know, all the sites where I use XHTML seem to work just fine.
and most people dont even write XHTML
correctly.
Not exactly my problem now is it. That's kinda like saying don't
On Sun, Dec 21, 2008 at 2:44 AM, Petr Vytlačil petr.vytla...@gmail.com wrote:
Hi i developing a application for my friends, i try this applicaton on
two webhosting (on local and other) all go very fine, but when i
uploaded application on webhosting my friends application show bad.
My problem
On Sat, Dec 20, 2008 at 12:04 PM, ark0n3 nicolabeg...@gmail.com wrote:
Yes I've already accomplished it that way but it seems to me like a
too low-level solution: CakePHP let us centralize models so I hope I
could achieve the same result in the whole app.
Is there no way to access the Helper
On Wed, Dec 17, 2008 at 2:24 AM, Liebermann, Anja Carolin
anja.lieberm...@alltours.de wrote:
Hi Arthur,
Thank you for your answer. I tackled my problem now in a kind I did hope I
didn't need.
Instead of setting CRUD permissions for each controller and mapping the
actions to the CRUD
On Wed, Dec 17, 2008 at 11:30 AM, caminante running.ba...@gmail.com wrote:
Hello, I'm having a problem in which the Email component
This sucks so bar. For some reason I though Email wuld be a helper and
not a component.
Spent a few hours last night trying to get email to work properly,
only
Looks like I am going to need to use 'POP before SMTP' as that is what
my web hosts support (at least for code not running on the webserver,
such as my dev code).
Does the email component support this?
--
Fedora 9 : sulphur is good for the skin
( www.pembo13.com )
On Tue, Dec 16, 2008 at 8:34 AM, Liebermann, Anja Carolin
anja.lieberm...@alltours.de wrote:
Another strange thing: my user has no rights to logout.
Question: What are the proper permissions for the user controller? Do I have
to set the permissions for login and logout?
I have heard here
When using the form helper to bind controls to data, validation errors
are helpfully passed onto the page. How do I replicate this for custom
controlls (PHP in the views)?
Thank you.
--
Fedora 9 : sulphur is good for the skin
( www.pembo13.com )
On Mon, Dec 8, 2008 at 6:07 PM, xfhxfh [EMAIL PROTECTED] wrote:
Hi,
.. I was trying since half an hour but was not able to get close to
cakephp @ irc.freenode.net
like trying out irc.freenode.net/cakephp etc. in the addressvar of
IExplorer
What's the process ?
1. Install Firefox
On Tue, Dec 2, 2008 at 3:00 AM, Tóth Imre [EMAIL PROTECTED] wrote:
I did it in a brue force way:), so i am intersted in a smooth solution
too.:)
2008/12/1 dr. Hannibal Lecter [EMAIL PROTECTED]
I'd like to know this too.. I didn't get the time to look into it in
detail, but when I do and if
On Fri, Nov 28, 2008 at 12:04 AM, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
If your looking for an easy content management system that you can
easily extend upon you might wanna look at wildflower which is a cms
built in cakephp
wf.klevo.sk
Good luck
Thanks, I really wasn''t looking for
Is it possible chain of the Router to catch all routes that it can't resolve?
I know that it normally hands of to the Missing Controller if it can't
find a route.
I would like to insert a controller between these two, check against
my DB for a page, create the page if it is available, if not
I'm just looking into CakePHP for a small website I need to build
(mostly static pages, but some logic with persistent data).
The screencasts and tutorials I have looked through so far provide
good starting information, but not much on making use of CakePHPs
themeing engine, and how it deals
On Wed, Nov 26, 2008 at 4:18 PM, James K [EMAIL PROTECTED] wrote:
For static pages, just add them to views/pages/
Name them with a .ctp extension
You should be able to reach those pages by simply going to
yourdomain.com/pages/staticpagename and it'll wrap that content in the
default
On Wed, Nov 26, 2008 at 7:20 PM, Dan Bair [EMAIL PROTECTED] wrote:
If you're going to be having a lot of static pages, it may be worth
your while to use Cake's Folder and File objects. You can loop through
the .ctp files assign the routes dynamically.
Here's a quick snippet that will go
39 matches
Mail list logo