an actual error i will try again ...

Thanks
Bussiere



"Les nouvelles technologies offrent pleins de nouvelles possibilités,
pleins de possibilités d'erreurs surtout en fait."
insurance.aes256 : http://goo.gl/gHyAY




On Wed, Mar 14, 2012 at 9:05 PM, Anthony <abasta...@gmail.com> wrote:
> I tried your exact layout.html and user.html, and it works fine for me, with
> 2 or 3 {{pass}} statements (only 2 are required -- the third is ignored).
> The only problem I see is that you're putting your CSS in a <css> tag, but
> it should be a <style>. Are you receiving an actual error, or is the display
> just not what you expected?
>
> Anthony
>
>
> On Wednesday, March 14, 2012 3:57:44 PM UTC-4, bussiere adrien wrote:
>>
>> still not work :
>>
>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>> "http&nbsp;://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>> <html xmlns="http&nbsp;://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
>> <head>
>>   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
>>   <title>Projet Jackpoint</title>
>> </head>
>> <css>
>> body{
>> color:#b7d14e;
>> background-color:#000f00;
>> margin:4px;
>> margin-top:0px;
>> font-family:monospace;
>> }
>> a:link{
>> color:#94d118;
>> }
>> a:visited{
>> color:#94a443;
>> }</css>
>> {{include}}
>>
>> and not :
>>
>> {{extend 'layout.html'}}
>> <body>
>> <pre>
>>    __             _                _       _
>>    \ \  __ _  ___| | ___ __   ___ (_)_ __ | |_
>>     \ \/ _` |/ __| |/ / '_ \ / _ \| | '_ \| __|
>>  /\_/ / (_| | (__|   <| |_) | (_) | | | | | |_
>>  \___/ \__,_|\___|_|\_\ .__/ \___/|_|_| |_|\__|
>>                       |_|
>> </pre>
>> <h2>{{=T( request.args(0).replace('_',' ').capitalize() )}}</h2>
>> <div id="web2py_user_form">
>>   {{=form}}
>>   {{if request.args(0)=='login':}}
>>   {{if not 'register' in auth.settings.actions_disabled:}}
>>   <br/>
>>   {{pass}}
>>   {{pass}}
>>   {{pass}}
>>
>> </div>
>> <a href="../invitation">Vous avez une invitation ? Follow the rabbit
>> ...</a><br>
>> <a href="../faq">FAQ</a>
>> <script language="javascript"><!--
>>       jQuery("#web2py_user_form input:visible:enabled:first").focus();
>>       //--></script>
>>
>> </body>
>>
>> or
>> {{extend 'layout.html'}}
>> <body>
>> <pre>
>>    __             _                _       _
>>    \ \  __ _  ___| | ___ __   ___ (_)_ __ | |_
>>     \ \/ _` |/ __| |/ / '_ \ / _ \| | '_ \| __|
>>  /\_/ / (_| | (__|   <| |_) | (_) | | | | | |_
>>  \___/ \__,_|\___|_|\_\ .__/ \___/|_|_| |_|\__|
>>                       |_|
>> </pre>
>> <h2>{{=T( request.args(0).replace('_',' ').capitalize() )}}</h2>
>> <div id="web2py_user_form">
>>   {{=form}}
>>   {{if request.args(0)=='login':}}
>>   {{if not 'register' in auth.settings.actions_disabled:}}
>>   <br/>
>>   {{pass}}
>>   {{pass}}
>>
>>
>> </div>
>> <a href="../invitation">Vous avez une invitation ? Follow the rabbit
>> ...</a><br>
>> <a href="../faq">FAQ</a>
>> <script language="javascript"><!--
>>       jQuery("#web2py_user_form input:visible:enabled:first").focus();
>>       //--></script>
>>
>> </body>
>>
>>
>> "Les nouvelles technologies offrent pleins de nouvelles possibilités,
>> pleins de possibilités d'erreurs surtout en fait."
>> insurance.aes256 : http://goo.gl/gHyAY
>>
>> ---------- Forwarded message ----------
>> From: bussiere bussiere <bussi...@gmail.com>
>> Date: Wed, Mar 14, 2012 at 8:39 PM
>> Subject: Re: [web2py] Re: {{pass}} problems
>> To: web2py@googlegroups.com
>>
>>
>> it's not that but htanks :
>> layout.html
>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>> "http&nbsp;://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>> <html xmlns="http&nbsp;://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
>> <head>
>>  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
>>  <title>Projet Jackpoint</title>
>> </head>
>> <css>
>> body{
>> color:#b7d14e;
>> background-color:#000f00;
>> margin:4px;
>> margin-top:0px;
>> font-family:monospace;
>> }
>> a:link{
>> color:#94d118;
>> }
>> a:visited{
>> color:#94a443;
>> }</css>
>> {{include}}
>>
>> user.html :
>> {{extend 'layout.html'}}
>> <body>
>> <pre>
>>   __             _                _       _
>>   \ \  __ _  ___| | ___ __   ___ (_)_ __ | |_
>>    \ \/ _` |/ __| |/ / '_ \ / _ \| | '_ \| __|
>>  /\_/ / (_| | (__|   <| |_) | (_) | | | | | |_
>>  \___/ \__,_|\___|_|\_\ .__/ \___/|_|_| |_|\__|
>>                      |_|
>> </pre>
>> <h2>{{=T( request.args(0).replace('_',' ').capitalize() )}}</h2>
>> <div id="web2py_user_form">
>>  {{=form}}
>>  {{if request.args(0)=='login':}}
>>  {{if not 'register' in auth.settings.actions_disabled:}}
>>  <br/>
>>  {{pass}}
>>  {{pass}}
>>  {{pass}}
>> </div>
>> <a href="../invitation">Vous avez une invitation ? Follow the rabbit
>> ...</a><br>
>> <a href="../faq">FAQ</a>
>> <script language="javascript"><!--
>>      jQuery("#web2py_user_form input:visible:enabled:first").focus();
>>      //--></script>
>>
>> </body>
>> and it's still not working even with two pass.
>>
>> Regards
>> Bussiere
>>
>> "Les nouvelles technologies offrent pleins de nouvelles possibilités,
>> pleins de possibilités d'erreurs surtout en fait."
>> insurance.aes256 : http://goo.gl/gHyAY
>>
>>
>> On Wed, Mar 14, 2012 at 8:16 PM, Anthony <abasta...@gmail.com> wrote:
>> > Your layout.html needs an {{include}} at the end to tell it where to
>> > insert
>> > the user.html view. Also, looks like user.html has one too many {{pass}}
>> > statements (you just need two to close the two if blocks).
>> >
>> > Anthony
>> >
>> >
>> > On Wednesday, March 14, 2012 3:10:52 PM UTC-4, bussiere adrien wrote:
>> >>
>> >> i don't understand the pass ...
>> >> I anyone have a better tutorial than the official one.
>> >>
>> >> Here is my layout.html :
>> >>
>> >> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>> >> "http&nbsp;://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>> >> <html xmlns="http&nbsp;://www.w3.org/1999/xhtml" lang="fr"
>> >> xml:lang="fr">
>> >> <head>
>> >>   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
>> >>   <title>Projet Jackpoint</title>
>> >> </head>
>> >> <css>
>> >> body{
>> >> color:#b7d14e;
>> >> background-color:#000f00;
>> >> margin:4px;
>> >> margin-top:0px;
>> >> font-family:monospace;
>> >> }
>> >> a:link{
>> >> color:#94d118;
>> >> }
>> >> a:visited{
>> >> color:#94a443;
>> >> }</css>
>> >>
>> >>
>> >> here is my user.html :
>> >> {{extend 'layout.html'}}
>> >> <body>
>> >> <pre>
>> >>    __             _                _       _
>> >>    \ \  __ _  ___| | ___ __   ___ (_)_ __ | |_
>> >>     \ \/ _` |/ __| |/ / '_ \ / _ \| | '_ \| __|
>> >>  /\_/ / (_| | (__|   <| |_) | (_) | | | | | |_
>> >>  \___/ \__,_|\___|_|\_\ .__/ \___/|_|_| |_|\__|
>> >>                       |_|
>> >> </pre>
>> >> <h2>{{=T( request.args(0).replace('_',' ').capitalize() )}}</h2>
>> >> <div id="web2py_user_form">
>> >>   {{=form}}
>> >>   {{if request.args(0)=='login':}}
>> >>   {{if not 'register' in auth.settings.actions_disabled:}}
>> >>   <br/>
>> >>   {{pass}}
>> >>   {{pass}}
>> >>   {{pass}}
>> >> </div>
>> >> <a href="../invitation">Vous avez une invitation ? Follow the rabbit
>> >> ...</a><br>
>> >> <a href="../faq">FAQ</a>
>> >> <script language="javascript"><!--
>> >>       jQuery("#web2py_user_form input:visible:enabled:first").focus();
>> >>       //--></script>
>> >>
>> >> </body>
>> >>
>> >> Why does it say to me that there is not enough {{pass}} ?
>> >> I have no pass in layout.html and in user html 3 pass.
>> >>
>> >> And before tryieng to make a layout and put the balise extend layout it
>> >> worked fine.
>> >>
>> >>
>> >> regards
>> >> Bussiere

Reply via email to