Facebook Cakephp Integration Nick's Pluggin

2012-02-06 Thread vikram acharya
Hi all I am using Nick's Pluggin for cakephp facebook integration its working with login and logout with all other functionality i am having users controller and gallary controller my issue is when i want to redirect my users from users controller from other controllers redirection fails and it ta

Re: namespaces in Rss-Helper in Cakephp2

2012-02-06 Thread Lucho Molina
This is funny. It looks that the issue could be easily avoidable in 1.3, using the XmlHelper now deprecated. Check this out, it's in Spanish, but I think you'll get the idea by looking at the code: http://www.racotecnic.com/2011/02/crear-un-podcast-en-cakephp/ -- Our newest site for the commun

Re: Podcast plugin for cakephp

2012-02-06 Thread Lucho Molina
Did you find any? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googl

Re: namespaces in Rss-Helper in Cakephp2

2012-02-06 Thread Lucho Molina
It's weird that nobody replied to this, I guess generating podcasts is not a common task nowadays. I think that is, in fact, a poor implementation on the RssHelper. I'm commenting here just to get some attention to this thread. Hopefully, some day, someone from the core team will take a look.

Re: Helper problem after moving application to new server

2012-02-06 Thread byhill
Looks like I had to change my custom helpers to lowercase. I thought I had done this before but apparently not. For some reason this was also affecting the default javascript helper. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP

Re: Initialize Baking Issue For Newb

2012-02-06 Thread Sam Sherlock
Yes you can - you need to add lib/Cake/Console to you ensironment path (see the screencast by GWoo) http://book.cakephp.org/2.0/en/installation/advanced-installation.html http://book.cakephp.org/2.0/en/console-and-shells/code-generation-with-bake.html?highlight=bake - S On 6 February 2012 23:

Re: Initialize Baking Issue For Newb

2012-02-06 Thread AaronAdvecor
I actually hadn't been doing that, so I tried it and it worked! Thank you very much for the help! However, I'm still wondering if it's possible to somehow change the value of the system environment variable "path" so I can just type "cake bake" from any directory via commandline and have Bake lau

Re: Flash message after render not showing

2012-02-06 Thread jeremyharris
no problem, glad you figured it out -jeremy -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to

Re: Flash message after render not showing

2012-02-06 Thread Tony
I'm a dufus. I didn't realize that $this->Session->flash() had been commented out of the view. When I did debug($this->Session->read()) in the view, I noticed that the value was set, so that sent me on the right path. Sorry for the bother. Thanks for the reply. -- Our newest site for the commu

Re: David Persson Media Plugin on IIS 7

2012-02-06 Thread John Emmanuel
Hi Jeremy, Nothing in the app debug logs. However I looked at the IIS server logs. All requests to the uploaded images are being routed through index.php. I have used the rewrite rules from here - http://book.cakephp.org/1.3/view/1636/URL-Rewrites-on-IIS7-Windows-hosts I am not sure if I understa

Re: David Persson Media Plugin on IIS 7

2012-02-06 Thread jeremyharris
If the 404 isn't being sent by the server, it's probably being sent by Cake. Turn on debug to see what errors cake generates, or look at the debug log (/tmp/logs/debug.log). Any clues in there? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the n

Re: How to "custom belongsto" in CakePHP 2?

2012-02-06 Thread Cristian Deluxe
I'm still trying but there's no luck : ( On 3 ene, 17:41, Cristian Deluxe wrote: > Thanks AD7six, i also tried it in my previous test but Cake never > render the page, it seems to make a loop and it fails with this error: > > Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp

Re: How does $this->request->is('post') works?

2012-02-06 Thread daf182
Hi, At first glance you wrote an ultimate function. Try to separate different actions to different functions. Second thing, you check if ($action == "single") which could lead your if ($this->request->is('post')) condition not to be checked. Third I think your route maybe routes to different meth

Re: David Persson Media Plugin on IIS 7

2012-02-06 Thread John Emmanuel
Hi Jeremy, Thank you very much for you reply. I have not protected the media folders (no htaccess in media folder). Also Godaddy is the hosting provider and I am tied to IIS. I had already removed 'recursive permissions' from parent for the media, transfer and filter folder (and subfolders) and ch

Re: cakephp 2.1 beta : Class 'AppModel' not found

2012-02-06 Thread dype
Thanks I can move forward with news errors ;-) On 6 fév, 20:04, majna wrote: > http://book.cakephp.org/2.0/en/appendices/2-1-migration-guide.html -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.o

subdomain routing - Cake router or Apache Modrewrite

2012-02-06 Thread Shukuboy
Hi everyone, A quick one for those of you who've got your hands dirty in routing before. Need to redirect: {env}.api.website.com/*to{env}.website.com/srvc/* where {env} is the environment such as dev, testing, uat or www So far I see two options: 1) Do the whole thing in .htaccess or ap

Re: strange image upload editing behavior

2012-02-06 Thread Dave D
Right, sorry about that, that was actually a rename here for that post. I'm using this model for several things that are to appear in a banner that flips through some images and some flot output (http:// code.google.com/p/flot/) that is converted from csv files from several different data sources.

Re: strange image upload editing behavior

2012-02-06 Thread Tilen Majerle
hmm...model names are CamelCased, right ? so Imagelink will be better :) -- Lep pozdrav, Tilen Majerle http://majerle.eu 2012/2/6 Dave D > Hi everybody, I'm working on creating an image upload section for my > site, and creating the images seems to work fine. The uploaded image > information

strange image upload editing behavior

2012-02-06 Thread Dave D
Hi everybody, I'm working on creating an image upload section for my site, and creating the images seems to work fine. The uploaded image information is saved correctly, the image is moved to the correct folder and it looks like I can call the image from other parts of the site just fine. My prob

Re: How to send a fax

2012-02-06 Thread Yves S. Garret
Thanks guys. I'll look at my options and bounce them off the team that I work with. Thanks again. On Mon, Feb 6, 2012 at 2:05 PM, Timothy O'Reilly < timothy.john.orei...@gmail.com> wrote: > Yves, > Not sure if this is of usebut maybe it will add value to your solution. > > Assuming you are

Re: How to send a fax

2012-02-06 Thread Timothy O'Reilly
Yves, Not sure if this is of usebut maybe it will add value to your solution. Assuming you are running in a Windows Server environment with MS Exchange, how about looking at http://www.gfi.com/faxmaker#features and using its Text/XML API to integrate with your Cake app? That way you can ignor

Re: cakephp 2.1 beta : Class 'AppModel' not found

2012-02-06 Thread majna
http://book.cakephp.org/2.0/en/appendices/2-1-migration-guide.html -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from thi

Re: How to send a fax

2012-02-06 Thread Justin Edwards
Hylafax allows you to roll your own service and send out on your own lines, but you have to have the line(s) available on premises and a fax modem. On Mon, Feb 6, 2012 at 12:46 PM, Stephen Speakman < step...@ninjacodermonkey.co.uk> wrote: > If you don't sign up for a service I don't think you c

Re: How to send a fax

2012-02-06 Thread Stephen Speakman
If you don't sign up for a service I don't think you can send a fax using anything. I'd suggest using an API or service, aql.com have a great fax service (I only know of incoming) but I'm sure they do outgoing as well - it's usually linked to email. Kind Regards Stephen On 06/02/2012 16:29

cakephp 2.1 beta : Class 'AppModel' not found

2012-02-06 Thread dype
Hi My appliaction woks fine with cakephp 2.0.6, when I switch to 2.1beta, I have This error : Fatal error: Class 'AppModel' not found in /home/myname/public_html/ myapp/app/Plugin/Online/Model/OnlineAppModel.php on line 20 OnlineAppModel.php : class OnlineAppModel extends AppModel { var

Re: How to send a fax

2012-02-06 Thread Justin Edwards
If you use an outside api, I highly recommend this. http://www.phaxio.com/ For all other telephonic based things I recommend twilio or tropo. Tropo / Phono are great products and both opensource. Adhearsion is nice if you want to host your own stuff on a budget. On Mon, Feb 6, 2012 at 10:44

Re: How to send a fax

2012-02-06 Thread euromark
its easiest to use some API to connect to like http://www.interfax.net/en/dev/php its pretty similar to sending SMS etc via php On 6 Feb., 17:43, Justin Edwards wrote: > PHP doesn't have telephony hardware drivers, fax over SIP drivers, or > anything else like that.   You will need to interface

Re: How to send a fax

2012-02-06 Thread Justin Edwards
PHP doesn't have telephony hardware drivers, fax over SIP drivers, or anything else like that. You will need to interface using fax to email, fax to print, or store to a database and extend hylafax. On Mon, Feb 6, 2012 at 10:40 AM, Yves S. Garret wrote: > I take it that this is impossible thro

Re: How to send a fax

2012-02-06 Thread Yves S. Garret
I take it that this is impossible through PHP alone? On Mon, Feb 6, 2012 at 11:38 AM, Justin Edwards wrote: > hylafax > > On Mon, Feb 6, 2012 at 10:29 AM, Yves S. Garret < > yoursurrogate...@gmail.com> wrote: > >> Anyone know how I can send a fax with CakePHP? Bonus points if I can do >> it with

Re: How to send a fax

2012-02-06 Thread Justin Edwards
hylafax On Mon, Feb 6, 2012 at 10:29 AM, Yves S. Garret wrote: > Anyone know how I can send a fax with CakePHP? Bonus points if I can do > it with straight PHP. And no, I cannot use a service such as interfax or > the like. This will include sending company sensitive info and I'd prefer > to k

Re: Can't get form to post data

2012-02-06 Thread euromark
did you try echo $this->Form->create('User', array('action'=>'login')); ? On 6 Feb., 15:49, swedek wrote: > What I'm trying to achieve is enabling my login form from a header. > > When a user visits my site, they get redirected to / if they try to view > anything else while not being logged in.

How to send a fax

2012-02-06 Thread Yves S. Garret
Anyone know how I can send a fax with CakePHP? Bonus points if I can do it with straight PHP. And no, I cannot use a service such as interfax or the like. This will include sending company sensitive info and I'd prefer to keep this within the bounds of the intranet of my organization. -- Our n

Delete and AJAX pagination with Filter

2012-02-06 Thread Joey Mukherjee
Hello! I have AJAX pagination working correctly (with form filters!) with one small problem. When I delete an entry from my pages, the new URLs for the pagination controls (i.e. numbers and previous/next) all have delete as part of the named parameters. I'm not sure what I am doing wrong. Some

Can't get form to post data

2012-02-06 Thread swedek
What I'm trying to achieve is enabling my login form from a header. When a user visits my site, they get redirected to / if they try to view anything else while not being logged in. They can then either go to /Users/login and login in, or log in from the header (this form is controlled from a lay

Re: request->is('post') v request->is('put')

2012-02-06 Thread McScreech
OK, I get that. Then the core of my question is: The condition in add function makes sense to me: if ($this->request->is('post')) But why does the edit function use this: if ($this->request->is('post') || $this->request->is('put')) and not this?: if ($this->request->is('put')) McS.

Re: Trouble upgrading from 1.3.4 to 2.0.4

2012-02-06 Thread McScreech
Apologize for the late return to this post, was away for a bit then assigned to other duties on my return. Short version: Yh, SUCCESS!!! Long version: I applied Mark's advise, successfully used his upgrade plugin, then only needed to adjust my code to conform to the new Auth component by

Re: A theme using less screen estate ?

2012-02-06 Thread Charles Bueche
Thanks a lot for your input, I will try it rsn. On 2.2.2012 15:37 , ton jansen wrote: > I found this: > http://www.shift8creative.com/project/960-fluid-grid-system-cakephp-bake-templates > and changed it a little so it works better for me. > You can find the latest version (works with CakePHP 2.x

Re: Flash message after render not showing

2012-02-06 Thread jeremyharris
Have you debugged the session in the layout? In the view? I would debug them using debugKit or just adding debug($this->Session->read()) in both the view and layout, to make sure nothing's mucking with it and that it is indeed being set. -- Our newest site for the community: CakePHP Video Tuto

Re: Problems with Session

2012-02-06 Thread jeremyharris
'cache' is not an option for Session.save. The following are options (taken from /config/core.php): * 'php' Uses settings defined in your php.ini. * 'cake' Saves session files in CakePHP's /tmp directory. * 'database' Uses CakePHP's database sessions. -- Our newest site for the community: C

Re: David Persson Media Plugin on IIS 7

2012-02-06 Thread jeremyharris
If you used the media shell to protect your files, it *could* be why. Check for an .htaccess file under /webroot/media. If not, we'll need more information. Can you get to them locally? Did you check to make sure they are uploaded correctly? Were the permissions you set recursive? -- Our newe

Problems with Session

2012-02-06 Thread alexesto
Hi, My problem is when two or more users try to loging in my application their sessions expires and the system redirect to login page. The session's config on core.php is Configure::write('Session.save', 'cache');. I'm using cake 1.3. Thanks! Alex -- Our newest site for the community: CakePHP

David Persson Media Plugin on IIS 7

2012-02-06 Thread John Emmanuel
I am trying to get the plugin to work on IIS 7. I have set the correct permissions to the media folder under webroot. However I am getting a 404 when i try to access uploaded images. Server logs show a 200 status. I am a newbie to cake and media plugin. Could somebody tell me what the problem could

Re: How does $this->request->is('post') works?

2012-02-06 Thread AD7six
On Feb 6, 1:22 am, Fernando Nery Filho wrote: > Hello everyone! > > I'm having some trouble with the $this->request->is('post') object and > hope I can get some answers here... > > In my controller I have the following: > > public function movie($action = "list", $id = "") { >         if ($actio

Re: How does $this->request->is('post') works?

2012-02-06 Thread Elisio Leonardo
Just use "PUT", since you are not creating new record, but editing existent one if ($this->request->is('post') || $this->request->is('put')){ ... } -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakep