Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Layour
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Guto n0cturn0  
View profile   Translate to Translated (View Original)
 More options Nov 4, 7:20 pm
From: Guto n0cturn0 <n0cturn0.deb...@gmail.com>
Date: Wed, 4 Nov 2009 16:20:21 -0800 (PST)
Local: Wed, Nov 4 2009 7:20 pm
Subject: Layour
Olá a todos, sou um novato em cakephp, e estou com a seguinte duvida,
eu ja tenho o layout da pagina ja desenvolvido, eu consigo usar a
facilidade e agilidade do cake de acordo com o meu layout...ou seja
sera qe eu consigo adequar facilmente o cake a meu layout ou nao?Se
sim onde eu colocaria o meu layour na estrutura de diretorio do
cake...visto qe o designer me passou os arquivos em .html

Desde ja agradeço!

Valew Galera


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Desenvolvimento SiscoJ  
View profile   Translate to Translated (View Original)
 More options Nov 6, 7:58 am
From: Desenvolvimento SiscoJ <siscoj...@gmail.com>
Date: Fri, 6 Nov 2009 10:58:28 -0200
Local: Fri, Nov 6 2009 7:58 am
Subject: Re: [CakePHP-Tuga] Layour
http://imasters.uol.com.br/artigo/14699/cakephp/faca_seu_site_com_cak...

att.

2009/11/4 Guto n0cturn0 <n0cturn0.deb...@gmail.com>:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pedro Barros de Miranda Sobrinho  
View profile   Translate to Translated (View Original)
 More options Nov 6, 7:06 am
From: Pedro Barros de Miranda Sobrinho <pedro...@gmail.com>
Date: Fri, 6 Nov 2009 10:06:18 -0200
Local: Fri, Nov 6 2009 7:06 am
Subject: Re: [CakePHP-Tuga] Layour

No Cake você pode ter para um mesmo projeto 1 ou "n" layouts. Vai depender
da necessidade.

Por padrão o Cake usa o arquivo default.ctp.

Para você aproveitar seu layout você pode editar o arquivo default.ctp que
se encontra em app/views/layouts. A partis desse arquivo o Cake montará o
layout de sua aplicação.

Não esqueça de acrescentar ao arquivo layout.ctp o código
<?=$content_for_layout?>. Será no local onde se encontra esse código que
suas páginas serão desenhadas, exibidas, renderizadas, como achar melhor
dizer.

Também estou começando com o Cake, não tenho tanta experiência, mas espero
tê-lo ajudado.

Pedro

2009/11/4 Guto n0cturn0 <n0cturn0.deb...@gmail.com>


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Edinei L. Cipriani  
View profile   Translate to Translated (View Original)
 More options Nov 19, 7:05 am
From: "Edinei L. Cipriani" <phpedi...@gmail.com>
Date: Thu, 19 Nov 2009 10:05:29 -0200
Local: Thurs, Nov 19 2009 7:05 am
Subject: Re: [CakePHP-Tuga] Re: Layour

Se o layout for HTML, renomeia a extanção para ctp, em seguida vc coloca
<?php echo $content_for_layout;?>

Verifique o charset do arquivo salvo para não ter problemas com acentuações.

Para setar outro template, existe uma propriedade chamada $layout;

$this->layout = "nome_do_meu_layout";

Para salvar o layout, dentro do diretorio views, existe um subdireitorio
chamado layouts.

Jóia?

Abrs

2009/11/6 Pedro Barros de Miranda Sobrinho <pedro...@gmail.com>

--
Edinei L. Cipriani
Blog: http://phpedinei.wordpress.com
Twitter: http://www.twitter.com/phpedinei

Desenvolvedor Colégio Trilingue Inovação
Site: http://www.colegioinovacao.com.br
Cursando Sistemas de Informação  - Unoesc Chapecó 1 Período
Integrante do grupo Fool N Lost de algoritimos computacionais
Fone 49 84149086


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google