>
> <font class="text">
>            <?php echo $content_for_layout ?>
>      </font>


all your content is going to be inside a font tag

 background="img/probstandart2.png"


$html->url  - you'd want this path to be absolute rather than relative, but
you could move this to a stylesheet and that would be beneficial all round
really

Is there is any way to write plain html  (such as in first listing)
> and don't use php helpers at all .... how i should write image paths
> and where to place it in my directory tree??


by plain html do you mean static pages (if so see views/pages/home.ctp)
you don't need to add helpers to your app some are built in html & form


hth - S

2008/7/9 cyberman <[EMAIL PROTECTED]>:

>
> Hi , i am newbie to cakephp.Let's imagine i want to render such HTML
> (this is my layout) :
> ....
> <td background="img/probstandart2.png" class="myclass">
>      <img src="img/emblema.png" align="left"  class="img"/>
>     <font class="text">
>            <?php echo $content_for_layout ?>
>      </font>
> </td>
> ....
>
> i have problems with path to images.i copied images to app/webroot/
> img ... but it won't work.Should i use helpers ????i understood how to
> render image using $html->image ... But what i should put into my
> layout to get such html :
> <td background="img/probstandart2.png" class="myclass">
> What helper i should use and where i should place images?????
>
>
> 2) Is there is any way to write plain html  (such as in first listing)
> and don't use php helpers at all .... how i should write image paths
> and where to place it in my directory tree??
>
> Thanks for any help!
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to