On Sun, Sep 13, 2009 at 11:01 AM, ildw.com <[email protected]> wrote:
>
> Hello,
>
> I just installed cake and it is running for a already designed page,
> my friend who did the installation is out of town and I need to update
> the website, my questions are:
>
>
> 1)where is the header file so I can update the header of all the
> website?
Probably in app/views/layouts/default.ctp
> 2)where is the footer file so I update the footer?
Probably in the same as above or app/views/elements/footer.ctp
> 3)If I put an image in the body of a page index.ctc, the image doesn't
> show up, how is the coding for putting images?
app/webroot/ is the root directory. Any image files in
app/webroot/img/ should show up fine if the src attribute begins with
"/img/...". If your code uses the HtmlHelper to create an img tag, the
path given should NOT include the "/img/" part, ie
$html->image('foo.jpg')
... for an image at app/webroot/img/foo.jpg
> 4)where is the database connection string file?
app/config/database.php
> thank you!!!
Please study these:
http://book.cakephp.org/
http://api.cakephp.org/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---