If both apps are running on the same machine which I assume, you should
be able to simply put the Models in one application and then go to
/app/config/bootstrap.php and create a:
$modelPaths = array('full path to models', 'second full path to models',
'etc...');*
*array where you add the
On Apr 6, 1:38 am, Samuel DeVore [EMAIL PROTECTED] wrote:
On 4/5/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
how can i find manual, trytourial about new auth coponent+acl in cake
1.2 ?
I guess you could write it ;) I am not sure there is anything out there yet.
There is indeed an
On Apr 5, 10:58 pm, jonathan.snook [EMAIL PROTECTED] wrote:
On Mar 24, 4:52 pm, jonathan.snook [EMAIL PROTECTED] wrote:
There's still two main features that I need to add:
1) RSS feeds for the job listing
2) a way for people to contact you through the site
Both of these are now in. At
Hi Anthony,
I found it a lot easier just to use Swift as a vendor package.
Place it in your vendor folder, call your $this-render inside an
output buffer, and pass this to Swift.
It's not ideal, but I found it a lot easier to use than the components
floating around.
?php
// Load in the
On 4/6/07, R. Rajesh Jeba Anbiah [EMAIL PROTECTED] wrote:
Kind of developer and company rankings would be cool. Especially
cake is lacking some good documentations; so probably add some field
stating how many articles were published by that developer (this is
also good to Cake itself) or
1st, sorry for mistakes I made in my last posts yesterday, was tired
cause of work :p
2nd, I'm learning CakePHP for a week, can't yet imagine an action
using 2 components (1 included in AppController and 1 in
ThingsController) to be sure of what I'm testing
but if you have the answer, I'm
I've released a site based on CakePHP. I've tested it with the 1.1.13 and
1.1.14 but the same problem seems to remain. I'm using Firefox as web
browsers.
I forestall that I don't think it's a cake problem but I prefer to hear
different advices.
On development and test environments (WinXP, php
I am looking for simple blog made with CakePHP that I can modify for a
project I am doing for school.
One that had multiple blogs would be good, but not necessary, So far
I have checked out rdBlogger in cakeForge. Any other suggestions from
cakeForge would be great.
Thanks
Ted
I have had the same problem on an hosted server.
My solution was to disable caching on webserver via meta headers.
On Apr 6, 2:19 pm, Davide [EMAIL PROTECTED] wrote:
I've released a site based on CakePHP. I've tested it with the 1.1.13 and
1.1.14 but the same problem seems to remain. I'm using
On Apr 6, 1:06 pm, Dr. Tarique Sani [EMAIL PROTECTED] wrote:
On 4/6/07, R.RajeshJebaAnbiah[EMAIL PROTECTED] wrote:
Kind of developer and company rankings would be cool. Especially
cake is lacking some good documentations; so probably add some field
stating how many articles were
The simplest method to have a portable system to share source code with php
is to include a file inside another.
Example if you want model.php and model1.php with the same source code
inside:
Every changes on model.php is reflected on model1.php.
file: model1.php
?php
Ah, I understand. Perhaps the easiest way to solve this problem is to
create a custom session handler that uses the login ID as the key for
the session. You can't have more than one session with the same login
ID that way, so that stops multiple logins.
what do you mean exactly by custom
Preventing multiple logins is not an easy task to solve without a
please don't make me afraid :-) i assumed this being rather
easy, as soon as i have access to the session table (and the
data, s.above)
i wonder, if there is already an auth system providing the prevention
of multiple logins.
I read this article on yahoo developer network because I would like in
my cake app to display search results from yahoo. The article is at
http://developer.yahoo.com/php/howto-reqRestPhp.html
There is some built in class of cake who can perform rest request to a
webserver with curl or
Have a look at MiBlog: http://www.noswad.me.uk/Demos
--
Daniel Hofstetter
http://cakebaker.42dh.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to
Maybe the ablity to give your aproval to another developer. Something
simple and only positive, like advogato maybe.
Other than that I'd say just get gwoo or phpnut to get a link to it on
the main cakephp site.
On Apr 6, 8:23 am, R. Rajesh Jeba Anbiah
[EMAIL PROTECTED] wrote:
On Apr 6, 1:06
Felix you are right. I guess this question has been asked before.
There are a bit in bootstrap.php of how to do this. Nice find.
I simply added the next two lines of code into my bookstrap.php and it
suddenly inherited all of the models from the other application (in
the folder 'app'). Works
It's not ideal, but I found it a lot easier to use than the components
floating around.
O'Really ?
How's a bunch of line of codes *easier* than one line ?
It also is about abstraction, reusability and whatnot, what if you
send mail elsewhere in your application you're gonna create a method
However if you really need it I pasted it here:
http://bin.cakephp.org/view/1053105011
Usage is the same ( nearly ), put SwiftMailer 3 in vendors.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To
Kind of developer and company rankings would be cool. Especially
cake is lacking some good documentations; so probably add some field
stating how many articles were published by that developer (this is
also good to Cake itself) or so... something like:
That's not a bad idea. The biggest
Would it be possible for me to take a stab at making a doc on how to
use this functionality? If someone provides me with some source code
on the usage I will try to figure it out and write up a pseudo startup
doc on it.
The reason why I want to dive into this auth method instead of OthAuth
is
I have a form with a textarea and a submit button generated with the
AJAX helper. When clicking on the submit button I want to send the
request to the server, update the corresponding HTML element *and*
clear the textarea.
The onClick event is already defined in the helper method as return
I don't mean to keep beating this issue, but I want to try approaching
this subject again. Ignore what I've said previously and let's start
over. There's two scenarios I'd like to try for multiple Cake
applications on one web server. One, every Cake application is in a
directory underneath
I know that many Cakephpers use frameworks/libraries like Prototype
and JQuery.
What about if you come across some general purpose Javascript
functoin and you add those to a common.js file that you keep
accumulating to ?
And I'm talking about a common.js type file that you might use even
I dont know if anyone else has done this (or even needs to) but i
found it nice to have.
I was trying to set up two cake installs - one for 1.x and the other
for 1.2x
There are several places within the cake core that have direct defines
to the cake/ directory itself
After directly modifying
I put framework related files into one directory under /js/
Like jquery + all the plugins i use.
I name the folder usually after the frameworks name: yui, prototype, etc..
/js/jquery/jquery.core.js
/js/jquery/jquery.cookie.js
/js/jquery/jquery.tooltips.js
So the top folder is usually empty,
There might be some class you could add thru vendor to ease using CURL.
Using file_get_contents is as direct as using echo. Besides creating a
shortcut there is not much to make it easier using cake or anything
else for that matter.
$xml = file_get_contents( http://api ... );
If you can
I second what Kjell said: file_get_contents is your easiest solution
if using PHP 5, otherwise use the curl functions. XML parsing sucks
in PHP 4, so I hope you can use PHP 5.
Give me SimpleXML or give me death! :)
On 4/6/07, Tonyz [EMAIL PROTECTED] wrote:
I read this article on yahoo
Chris, i think you switched something here.
file_get_contents is available since PHP 4.3.0.
It is file_put_contents which is only available in PHP5.
I second that XML parsing sucks in PHP4. There is a wonderful class
available i used in many projects already. It's a xml class from Keith
Devens
My bad, you're absolutely right about file_get_contents.
The more I work with PHP 5 the more I grow to dislike having to do all
sorts of hacks and kludges to do the same thing in PHP 4.
On 4/6/07, Kjell Bublitz [EMAIL PROTECTED] wrote:
Chris, i think you switched something here.
After searching for a couple of minutes, I found the XML class Kjell is
speaking of:
http://keithdevens.com/software/phpxml
In case anyone else was as interested as I was...
HTH,
Eric
On 4/6/07, Kjell Bublitz [EMAIL PROTECTED] wrote:
Chris, i think you switched something here.
Excellent! Thanks CraZyLeGs!
Just to verify - I assume the PHP code you're talking about below goes
into the PHP file that the CRON job calls, right? This is basically
the code for logging someone directly through code, rather than
through the login form.
But isn't there a way to directly log
Thanks for sharing how you do that, Kjell.
That was definitely helpful.
I know I will eventually decide on one of the major frameworks to
adopt permanently.
But sometimes, you're sitting lazily at the PC on a Sunday afternoon,
reading blogs or whatever, and you come across a Javascript function
beetlecube [EMAIL PROTECTED] wrote:
If you keep this general purpose common.js file inside you app/js
directory, but you also use *elsewhere*, then pretty soon they become
un-Synchronized, like if you forget to make a copy of one to the other
location after making changes to only one of them.
Creating your own utilities is a good thing. I have one like that for
prototype. There are some handy methods that were missing on elements.
I always try to be close to the library i use.
[off topic]
By the way: Most of the methods on the site you posted are all
included in prototype, btw.
-
35 matches
Mail list logo