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 lo
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
Sean
On Nov 27, 2:46 pm, "Arthur Pemberton" <[EMAIL PROTECTED]> wrote:
> On Wed, Nov 26, 2008 at 7:20 PM, Dan Bair <[EM
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
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 through all of the .ctp files in
the pages directory. This will be in app/co
If you want to remove the /pages/ from the url you'd need to write some
custom routes
see the preset example for the home page which sets yourdomain.com/ to
display views/pages/home.ctp
eg
Router::connect('/', array('controller' => 'pages', 'action' =>
'display', 'home'));
so
/about -> views/
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
> defa
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 layout.
- James
On Nov 26, 4:14 pm, Arthur Pemberton <[EMAIL PROTECTED]> wr
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 with