(Untitled)

Dec 15, 2005 08:22

I'll search through things, but can anyone think of an effective way of putting a "sticky" entry at the top of my recent entries without screwing up my callendar? I suppose I could display my entries in ascending order, but I'm not sure I'd like that either. Any other ideas?

Leave a comment

Comments 13

masterslacker December 15 2005, 23:50:18 UTC
Since you are a paid user, you could override a function that prints that stuff and enter a sticky box. I can tell you exactly how to do it. Better yet, I can give you the code. The whole reason that it wasn't one of my features of the layout was because I couldn't get it distinguishable enough from the other entries to be noticeable.

Reply

winter_in_asia December 16 2005, 00:02:41 UTC
That would be awesome. I hate it that most layouts require you to just post-date an entry.

Reply

masterslacker December 16 2005, 00:11:59 UTC
Here's the code, which I ripped out of the Bordered Boxes source and modified it somewhat for you:

function RecentPage::lay_print_bodytop() {
"""

PUT_YOUR_TITLE_HERE_OR_DELETE_THIS_LINE

PUT_YOUR_WELCOME_NOTE_CONTENT_HERE
""";
$this->lay_print_bodytitlebox($this->view_title(),"title");
}Mike

Reply

plastiqueallure September 6 2006, 21:30:47 UTC
Does this go into the user layer or the theme layer?

Reply


violent_vixen May 28 2007, 22:38:03 UTC
is there a way to position this entry under the recent entries, like all the other entries? it appears to be positioned just under my banner, separate from my other entries.

Reply


Leave a comment

Up