Anonymous user
Adding a field to the profile: Difference between revisions
no edit summary
imported>Paulproteus |
imported>Paulproteus No edit summary |
||
Line 91:
That seems to be what generates the person homepage link. It's in the context of a <pre><div id='info' class='module'></pre>
=== Edit 1: Let's give everyone the same IRC nick ===
[[File:Asheesh-info-box-with-irc-nick.png|link=|left]]
Okay, so let's edit the template so that every profile page says their IRC nick is <tt>drworm</tt>.
Just jam this somewhere in that page:
<pre>
<h4>IRC nick</h4>
<p>drworm</p>
</pre>
You'll get a box that looks like the picture. Note the hightlighted, new section!
(You can read [http://www.djangobook.com/en/2.0/chapter04/ more about Django templates in the online Django book].)
=== Search 2: Find where homepage_url is set, so we can make something like it ===
= Testing =
|