CakePHP Cache Help Needed

2012-04-20 Thread creat1v1ty
Does anyone have experience with Cake cache who's willing to lend me a hand? Here is my situation: In the footer of my website I am pulling in my 3 most recent blog posts from Wordpress.com (the website, not a local installation). The way I am accomplishing this is by parsing the XML feed from

Re: Error Pages

2012-04-18 Thread creat1v1ty
That makes sense now that you say it. Does anyone know how to use the AppController with the error/exception handling? On Wednesday, April 18, 2012 2:20:30 PM UTC-5, creat1v1ty wrote: > > I am using version 2.1... > > In my app I have some logic taking place in my App

Error Pages

2012-04-18 Thread creat1v1ty
I am using version 2.1... In my app I have some logic taking place in my AppController's beforeFilter() function where I'm setting a few variables that get used in my default layout, and subsequently on all pages of the site. When testing my error pages in production mode (debug=0), I noticed t

Re: Redirect www to non-www

2012-04-14 Thread creat1v1ty
he more generic one: > > RewriteCond %{HTTP_HOST} !^www\. [NC] > RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] > > > mark > > > > Am Samstag, 14. April 2012 07:32:16 UTC+2 schrieb creat1v1ty: >> >> Ok, thanks for all the good feedback, guys. To confir

Re: Redirect www to non-www

2012-04-13 Thread creat1v1ty
Ok, thanks for all the good feedback, guys. To confirm... My website is hosted on a shared server, so my doc root is public_html, in which I have a Cake installation. public_html - app - webroot - .htaccess *(3)* - .htaccess *(2)* - libs - plug

Re: CakePHP and Wordpress

2012-04-12 Thread creat1v1ty
ugins out there that I know of that do this for you. Try > http://plugins.cakephp.org/ > > Lastly, if you don't want to connect to the database try looking into > reading the RSS and pulling the posts from that. > > On Thursday, April 12, 2012 9:21:40 AM UTC-7, creat1v1

Re: CakePHP and Wordpress

2012-04-12 Thread creat1v1ty
form relationships that get the meta info, taxonomy, etc? If so, it's > not impossible but will take some thought because WP doesn't use Cake > conventions. Cake is plenty flexible enough to handle it, though. > > On Wednesday, April 11, 2012 8:17:48 PM UTC-7, creat1v1ty wr

Redirect www to non-www

2012-04-11 Thread creat1v1ty
Quick question - I know this should be very easy to figure out myself, but I keep finding conflicting information when I try to find the solution, and I'm a stickler for doing/learning things the right way. I want to redirect all www traffic to non-www. I am using a fresh copy of Cake 2.1.1 - n

CakePHP and Wordpress

2012-04-11 Thread creat1v1ty
I have a Blog set up through wordpress.com and would like to be able to pull a few posts into my website (built using Cake). I've done some research and have found many articles related to CakePHP/Wordpress, however all of them so far deal with running a hosted version of WP, rather than integr

Re: SEO/Meta Data Helper

2012-04-10 Thread creat1v1ty
> http://book.cakephp.org/1.3/view/996/Creating-Components >> >> initialize and startup within your component. >> - S >> >> >> >> >> On 10 April 2012 05:36, creat1v1ty wrote: >> >>> Thanks so much guys, I can't tell you how much I ap

Re: SEO/Meta Data Helper

2012-04-09 Thread creat1v1ty
te a >> behavior? >> >> >> > Thiago Belem >> >> Enviado do meu Android (e sujeito a erros do corretor automático) >> Em 09/04/2012 22:24, "creat1v1ty" escreveu: >> >>> Thanks again euromark - I've taken your advice and tips

Re: SEO/Meta Data Helper

2012-04-09 Thread creat1v1ty
; breaking it). > > But your solution simplifies the task. So as long as it doesn't break > other (real) things it is not completely wrong to intentionally go down > this road. > > > > Am Dienstag, 10. April 2012 00:07:24 UTC+2 schrieb creat1v1ty: >> >

Re: SEO/Meta Data Helper

2012-04-09 Thread creat1v1ty
> PS: it also sounds like something that could be made a "Seo" plugin to > make it available for multiple apps. > you never know when you will need it (or others for that matter). Just > something to think about. > But then use: `$Model = ClassRegistry::init('Seo.Meta&#

Re: SEO/Meta Data Helper

2012-04-09 Thread creat1v1ty
anyone out there have any suggestions/recommendations for me? Thanks in advance. -- 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 unsub

SEO/Meta Data Helper

2012-04-07 Thread creat1v1ty
Hi everyone, I am using the latest stable release of Cake - 2.1.1 I am trying to build a helper (or maybe something else) that will allow me to pull SEO/Meta data from the database, and then make it available to all my views. I have researched this quite a bit and have found a few existing plugin

Re: CakePHP 2.0 Email

2011-12-26 Thread creat1v1ty
Can anyone else lend me a hand with this? Many thanks! -- 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, sen

Re: CakePHP 2.0 Email

2011-12-23 Thread creat1v1ty
Thanks euromark, however the example you sent doesn't include anything regarding sending emails once the form is submitted. I have a working form, with validation, I just need a good/clean example of how to use the new CakeEmail class to send 2 emails once the form is submitted successfully. Anyo

CakePHP 2.0 Email

2011-12-23 Thread creat1v1ty
Hello Everyone, I am using the latest version of Cake and I'm having a difficult time figuring out how to use the new CakeEmail class. I have a Contact form I'm building (no database interaction) - when the form is successfully submitted and validated, I want to send 2 emails - one to the end-use

Re: Force Trailing Slash and No WWW

2011-10-03 Thread creat1v1ty
yeah, I'm familiar with the rewrite rule that would generally be used, however I'm not sure how to do it within the Cake framework. In Cake there are 3 .htaccess files: == /root == RewriteEngine on RewriteRule^$ app/webroot/[L] RewriteR

Force Trailing Slash and No WWW

2011-10-03 Thread creat1v1ty
Hey everyone, I am using Cake 1.3 and would like to set up my site so that the "www" is stripped, and so that all non-file URLs have a trailing slash. Ex: http://www.domain.com/contact-us --> http://domain.com/contact-us/ Can anyone lend a hand? Many thanks. -- Our newest site for the comm

Global Contact Form

2011-09-07 Thread creat1v1ty
Hello, I am building a site for a client using Cake (latest), and they would like to have a mini-contact form (name, email, comments) as a global element on all pages, in the footer. There will also be a standard "Contact" page on this site. What's the best way to handle the global/footer form?

Re: HABTM Multiple Select

2011-04-11 Thread creat1v1ty
Well that can't be the issue because I'm not doing anything to make the options selected by default - that is why I posted this question in the first place. There is no built-in feature in Cake that automatically selects options based on HABTM relationships. To confirm, my question is in regards t

HABTM Multiple Select

2011-04-08 Thread creat1v1ty
First, I apologize if I don't use proper terminology with this question, but I'm fairly new to Cake and still learning :) I am developing a website for a Real Estate company - the main part of this site is a section that focuses on the companies "Listings". A "Listing" is a house, condo, or parcel