Moving Long Date

July 31, 2005 Comments Off on Moving Long Date

moving the long date from the top of the post to where the time is located at the bottom of the post

1. Go to this page – for the day template – http://127.0.0.1:5335/system/pages/prefs?page=3.3  and copy this code

<div class=”date”> <%archiveLink%>&nbsp; <%longDate%> </div> – paste into notepad or a text editor

then delete the <%longDate%> macro from the template

click on submit

2.  Go to this page – for the item template –  http://127.0.0.1:5335/system/pages/prefs?page=3.4 and paste the code you just copied from the item template minus the <%archiveLink%>&nbsp;

into the item template – this is what you’re pasting:  <div class=”date”><%longDate%></div>

depending on where you would like the date to appear, you can paste that code before the time or <%when%> or after the time or have everything on the same line

I have changed mine to appear before the time after the permalink which is that little # sign and with everything on the same line and my item template looks like this (i enclosed everything inside the <div> </div> code to have it all on the same line)

<<table width=”100%” cellpadding=”1″>
  <tr>
    <td valign=”top”>
      <br><%itemText%><br>
      <font class=”small” size=”-1″ color=”gray”> <div class=”date”><%permalink%>&nbsp;<%longDate%>&nbsp;<%when%>&nbsp;&nbsp;&nbsp;</div><%editButton%></font>
      </td>
    <td valign=”top” align=”right” nowrap>
      <%enclosure%>
      </td>
    </tr>
  </table>

Click on submit.

3. Changing the size of the long date – go to this page for the home template: http://127.0.0.1:5335/system/pages/prefs?page=3.2

and scroll down til you find .date (it will be about mid way down in the template) – you need to change the font size of the date to 10px instead of 14px and delete a margin top css code

Before you change the css code – its looks like this:

 .date  {
    font-family:verdana, arial, sans-serif;
    font-size: 14px;  >>>>>change this to 10px
    color: #999;
    font-weight:bold;
    text-transform:uppercase;
    margin-top:10px;    >>>>>>delete this line
    border-bottom:1px solid #666; 
    }       

after you make the changes – it will look like this

 .date  {
    font-family:verdana, arial, sans-serif;
    font-size: 10px;
    color: #999;
    font-weight:bold;
    text-transform:uppercase;
    border-bottom:1px solid #666; 
    }       

Click on submit.

4. Repeat step 3 on main template – go to this page http://127.0.0.1:5335/system/pages/prefs?page=3.1  – click on submit when done with changes

Post something new and your date should now appear at the bottom of the post 

Now if you don’t want the date to appear at all, skip part 2, 3 and 4

Categories : Radio Userland