Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion customize signup / registration and make styling possible

Received: by 10.43.115.73 with SMTP id fd9mr12404148icc.2.1351266231178;
        Fri, 26 Oct 2012 08:43:51 -0700 (PDT)
X-BeenThere: liftweb@googlegroups.com
Received: by 10.50.189.161 with SMTP id gj1ls1158815igc.3.gmail; Fri, 26 Oct
 2012 08:43:46 -0700 (PDT)
Received: by 10.50.40.165 with SMTP id y5mr1611152igk.4.1351266226754;
        Fri, 26 Oct 2012 08:43:46 -0700 (PDT)
Received: by 10.50.40.165 with SMTP id y5mr1611151igk.4.1351266226723;
        Fri, 26 Oct 2012 08:43:46 -0700 (PDT)
Return-Path: <feeder.of.the.be...@gmail.com>
Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182])
        by gmr-mx.google.com with ESMTPS id d5si1307220iga.1.2012.10.26.08.43.46
        (version=TLSv1/SSLv3 cipher=OTHER);
        Fri, 26 Oct 2012 08:43:46 -0700 (PDT)
Received-SPF: pass (google.com: domain of feeder.of.the.be...@gmail.com designates 209.85.214.182 as permitted sender) client-ip=209.85.214.182;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of feeder.of.the.be...@gmail.com designates 209.85.214.182 as permitted sender) smtp.mail=feeder.of.the.be...@gmail.com; dkim=pass header...@gmail.com
Received: by mail-ob0-f182.google.com with SMTP id wc20so4801936obb.27
        for <liftweb@googlegroups.com>; Fri, 26 Oct 2012 08:43:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type;
        bh=CkcfqWeuBv+8+nifW6XNhjEz1+F4e30lQ5pdNRT9JFg=;
        b=Cm0mknb9fJgv7DnZmE1igYQ2pKodgD1ukMHOkWAM2yHVMru750RmNqGlQR3PYlLZUH
         1cUy7eGojuA3RcwO77h+7d41TgwgLXUqvAV2a/ewBMw74E+jOQhMPHBeGxnl69lv7iNi
         nrtg/hBjRz+lbWwUO6h+hFVww4e0osoVSzeqSI2qyxZNLQP5YdVPmJLqwM56n02ZohUz
         WU8NTyjwRgmQSoRk7etpNZNIruj5jaW7bSTYtNkkrR/u5RaE0FEA1L5c2XHlF0p9461w
         wwqqCW0jmGj154G/+MVUtob7L6Qo4qdxxodlIuVjNYZ9CC4VaKLd5xiacqAs9bSoe5Ln
         adXQ==
MIME-Version: 1.0
Received: by 10.182.5.168 with SMTP id t8mr18800716obt.32.1351266226547; Fri,
 26 Oct 2012 08:43:46 -0700 (PDT)
Received: by 10.76.90.8 with HTTP; Fri, 26 Oct 2012 08:43:46 -0700 (PDT)
In-Reply-To: <f36c9520-3e06-4ea8-9d11-bf3ffa1be3a0@googlegroups.com>
References: <2786434a-f66c-4189-b2d9-451bd1176b45@googlegroups.com>
	<CAH6e9LipszoX=R2yD1kXHXBeWzMjpy-yiqCeJHVD=BwGpAt...@mail.gmail.com>
	<f36c9520-3e06-4ea8-9d11-bf3ffa1be3a0@googlegroups.com>
Date: Fri, 26 Oct 2012 08:43:46 -0700
Message-ID: <CAH6e9Lh1WkRxzkr=vdom4WTVMCMu7ckO4NP2O_BeggdzPz9...@mail.gmail.com>
Subject: Re: [Lift] customize signup / registration and make styling possible
From: David Pollak <feeder.of.the.be...@gmail.com>
To: liftweb@googlegroups.com
Content-Type: multipart/alternative; boundary=f46d044795a56e2b4504ccf82f88

--f46d044795a56e2b4504ccf82f88
Content-Type: text/plain; charset=UTF-8

Please read the first few chapters of http://simply.liftweb.net/

On Fri, Oct 26, 2012 at 8:31 AM, Matthias Fenz <matthias.f...@gmail.com>wrote:

> Hi David,
>
> as I'm new to Lift, where shall I put this to? Also in User.scala? And can
> I call this by <lift:bind... oder <lift:embed... then?
>
> Thanks in advance,
> Matthias
>
>
> On Friday, October 26, 2012 5:20:57 PM UTC+2, David Pollak wrote:
>
>> object MySignupSnippet {
>>   def render = User.signupXhtml(new User)
>> }
>>
>> On Fri, Oct 26, 2012 at 7:42 AM, Matthias Fenz <matthi...@gmail.com>wrote:
>>
>>> Hi there,
>>>
>>> i'm trying to customize the signup table generated via ProtoUser to be
>>> able to embed it into a /signup page. At the moment, I can route to
>>> /user/sign_up where the default tableset appears, but it is just embedded
>>> in white space and i'm not able to adjust the styling of the surrounding
>>> page.
>>>
>>> Is it possible to use this generated table as a kind of snippet and to
>>> embed it into another page, e.g. a /signup page (or however it may be
>>> named)?
>>>
>>> I modified my User.scala like this:
>>>
>>> override def signupXhtml(user: TheUserType) = {
>>>
>>>     <div class="signUpBox">
>>>     <form method="post" action={S.uri}>
>>>        <table class="testtable">
>>>          <tr>
>>>            <td colspan="2" class="signUpBoxHeader">{ S.??("sign.up")
>>> }</td>
>>>          </tr>
>>>         {localForm(user, false, signupFields)}
>>>          <tr>
>>>            <td>&nbsp;</td>
>>>            <td><user:submit/></td>
>>>          </tr>
>>>         </table>
>>>     </form>
>>>     </div>
>>>   }
>>>
>>> Now I'm searching for any possibility to add this div "signUpBox" to any
>>> other page...
>>>
>>> Every help or hint would be appreciated, thanks in advance everyone,
>>> Matthias
>>>
>>> --
>>> --
>>> Lift, the simply functional web framework: http://liftweb.net
>>> Code: http://github.com/lift
>>> Discussion: http://groups.google.com/**group/liftweb<http://groups.google.com/group/liftweb>
>>> Stuck? Help us help you: https://www.assembla.com/wiki/**
>>> show/liftweb/Posting_example_**code<https://www.assembla.com/wiki/show/liftweb/Posting_example_code>
>>>
>>>
>>>
>>>
>>
>>
>>
>> --
>> Telegram, Simply Beautiful CMS https://telegr.am
>> Lift, the simply functional web framework http://liftweb.net
>> Follow me: http://twitter.com/dpp
>> Blog: http://goodstuff.im
>>
>>
>>   --
> --
> Lift, the simply functional web framework: http://liftweb.net
> Code: http://github.com/lift
> Discussion: http://groups.google.com/group/liftweb
> Stuck? Help us help you:
> https://www.assembla.com/wiki/show/liftweb/Posting_example_code
>
>
>
>



-- 
Telegram, Simply Beautiful CMS https://telegr.am
Lift, the simply functional web framework http://liftweb.net
Follow me: http://twitter.com/dpp
Blog: http://goodstuff.im

--f46d044795a56e2b4504ccf82f88
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Please read the first few chapters of=C2=A0<a href=3D"http://simply.liftweb=
.net/">http://simply.liftweb.net/</a>=C2=A0<br><br><div class=3D"gmail_quot=
e">On Fri, Oct 26, 2012 at 8:31 AM, Matthias Fenz <span dir=3D"ltr">&lt;<a =
href=3D"mailto:matthias.f...@gmail.com" target=3D"_blank">matthias.fenz@gma=
il.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Hi David,<br><br>as I&#39;m new to Lift, whe=
re shall I put this to? Also in User.scala? And can I call this by &lt;lift=
:bind... oder &lt;lift:embed... then?<br>
<br>Thanks in advance,<br>Matthias<div class=3D"im"><br><br>On Friday, Octo=
ber 26, 2012 5:20:57 PM UTC+2, David Pollak wrote:</div><blockquote class=
=3D"gmail_quote" style=3D"margin:0;margin-left:0.8ex;border-left:1px #ccc s=
olid;padding-left:1ex">
<div class=3D"im">object MySignupSnippet {<div>=C2=A0 def render =3D User.s=
ignupXhtml(new User)</div></div><div><div class=3D"h5"><div>}<br><br><div c=
lass=3D"gmail_quote">On Fri, Oct 26, 2012 at 7:42 AM, Matthias Fenz <span d=
ir=3D"ltr">&lt;<a>matthi...@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Hi there,<br><br>i&#39;m trying to customize=
 the signup table generated via ProtoUser to be able to embed it into a /si=
gnup page. At the moment, I can route to /user/sign_up where the default ta=
bleset appears, but it is just embedded in white space and i&#39;m not able=
 to adjust the styling of the surrounding page.<br>

<br>Is it possible to use this generated table as a kind of snippet and to =
embed it into another page, e.g. a /signup page (or however it may be named=
)?<br><br>I modified my User.scala like this:<br><br>override def signupXht=
ml(user: TheUserType) =3D {<br>

<br>=C2=A0=C2=A0=C2=A0 &lt;div class=3D&quot;signUpBox&quot;&gt;<br>=C2=A0=
=C2=A0=C2=A0 &lt;form method=3D&quot;post&quot; action=3D{S.uri}&gt;<br>=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;table class=3D&quot;testtable&quot;&g=
t;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;tr&gt;<br>=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;td colspan=3D&qu=
ot;2&quot; class=3D&quot;signUpBoxHeader&quot;&gt;{ S.??(&quot;sign.up&quot=
;) }&lt;/td&gt;<br>

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;/tr&gt;<br>=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 {localForm(user, false, signupFields)}<br=
>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;tr&gt;<br>=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;td&gt;&amp;nbsp;&lt=
;/td&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &l=
t;td&gt;&lt;user:submit/&gt;&lt;/td&gt;<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 &lt;/tr&gt;<br>

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;/table&gt;<br>=C2=A0=C2=A0=
=C2=A0 &lt;/form&gt;<br>=C2=A0=C2=A0=C2=A0 &lt;/div&gt;<br>=C2=A0 }<br><br>=
Now I&#39;m searching for any possibility to add this div &quot;signUpBox&q=
uot; to any other page...<br><br>Every help or hint would be appreciated, t=
hanks in advance everyone,<br>

Matthias<span><font color=3D"#888888"><br>

<p></p>

-- <br>
-- <br>
Lift, the simply functional web framework: <a href=3D"http://liftweb.net" t=
arget=3D"_blank">http://liftweb.net</a><br>
Code: <a href=3D"http://github.com/lift" target=3D"_blank">http://github.co=
m/lift</a><br>
Discussion: <a href=3D"http://groups.google.com/group/liftweb" target=3D"_b=
lank">http://groups.google.com/<u></u>group/liftweb</a><br>
Stuck? Help us help you: <a href=3D"https://www.assembla.com/wiki/show/lift=
web/Posting_example_code" target=3D"_blank">https://www.assembla.com/wiki/<=
u></u>show/liftweb/Posting_example_<u></u>code</a><br>
=C2=A0<br>
=C2=A0<br>
=C2=A0<br>
</font></span></blockquote></div><br><br clear=3D"all"><div><br></div>-- <b=
r><div>Telegram, Simply Beautiful CMS <a href=3D"https://telegr.am" target=
=3D"_blank">https://telegr.am</a></div>Lift, the simply functional web fram=
ework <a href=3D"http://liftweb.net" target=3D"_blank">http://liftweb.net</=
a><div>

Follow me: <a href=3D"http://twitter.com/dpp" target=3D"_blank">http://twit=
ter.com/dpp</a><br>Blog: <a href=3D"http://goodstuff.im" target=3D"_blank">=
http://goodstuff.im</a><br></div><div><br></div><br>
</div>
</div></div></blockquote><div class=3D"HOEnZb"><div class=3D"h5">

<p></p>

-- <br>
-- <br>
Lift, the simply functional web framework: <a href=3D"http://liftweb.net" t=
arget=3D"_blank">http://liftweb.net</a><br>
Code: <a href=3D"http://github.com/lift" target=3D"_blank">http://github.co=
m/lift</a><br>
Discussion: <a href=3D"http://groups.google.com/group/liftweb" target=3D"_b=
lank">http://groups.google.com/group/liftweb</a><br>
Stuck? Help us help you: <a href=3D"https://www.assembla.com/wiki/show/lift=
web/Posting_example_code" target=3D"_blank">https://www.assembla.com/wiki/s=
how/liftweb/Posting_example_code</a><br>
=C2=A0<br>
=C2=A0<br>
=C2=A0<br>
</div></div></blockquote></div><br><br clear=3D"all"><div><br></div>-- <br>=
<div>Telegram, Simply Beautiful CMS <a href=3D"https://telegr.am" target=3D=
"_blank">https://telegr.am</a></div>Lift, the simply functional web framewo=
rk <a href=3D"http://liftweb.net" target=3D"_blank">http://liftweb.net</a><=
div>
Follow me: <a href=3D"http://twitter.com/dpp" target=3D"_blank">http://twit=
ter.com/dpp</a><br>Blog: <a href=3D"http://goodstuff.im" target=3D"_blank">=
http://goodstuff.im</a><br></div><div><br></div><br>

--f46d044795a56e2b4504ccf82f88--