RSS 2.0
Browse posts:
Unanswered |
Mark all read
| Author | Message | ||||
|---|---|---|---|---|---|
|
bran8464 Nucleus Addict Joined: 11 Jun 2003 Posts: 63 Location: UK |
Well, I have done something wrong, obviously. Rather a strange result. So, the call function goes exactly where in which template (I'm using the default) I think the sticky post should not be within a dated posting. have a look: http://timeflies.sblogger.com |
||||
|
|
|||||
|
xiffy Nucleus Guru ![]() Joined: 27 Mar 2002 Posts: 1218 Location: Deventer |
Tip 1 uninstall the original Sticky, cause that one is still active i guess. 2 it's a skin plugin, so you have to place the call within a skin ... _________________ __deus ex machina__ http://xiffy.nl/weblog/ Japan photo's: http://2006.cooljapan.nl/main.php?g2_itemId=20 |
||||
|
|
|||||
|
bran8464 Nucleus Addict Joined: 11 Jun 2003 Posts: 63 Location: UK |
Hmm, I have a problem now, there's no access to admin. |
||||
|
|
|||||
|
xiffy Nucleus Guru ![]() Joined: 27 Mar 2002 Posts: 1218 Location: Deventer |
That's wierd, i still se your login page [edit]Ha, you fixed it. Excellent[/edit] _________________ __deus ex machina__ http://xiffy.nl/weblog/ Japan photo's: http://2006.cooljapan.nl/main.php?g2_itemId=20 |
||||
|
|
|||||
|
bran8464 Nucleus Addict Joined: 11 Jun 2003 Posts: 63 Location: UK |
OK, I have been in and deleted stickyitem from the plugins folder and I can now get into admin. I did after all delete the original sticky from the plugins so that wasn't causing the problem. Skins/templates don't understand the difference. I put the call function in the 'default template' but not sure where it ought to be in that template. Should I put in this as below <%StickyItem%> <%Blog(1,default)%> and where? |
||||
|
|
|||||
|
xiffy Nucleus Guru ![]() Joined: 27 Mar 2002 Posts: 1218 Location: Deventer |
Well, the template is for displaying 1 item, a skin is for displaying the page. So we will put sticky into the SKIN because you will want to display the sticky itemon top of your items. So now you've restored your blog the wayit was. Go to the skins, and find <%blog(...)%> and change this into <%StickyItem%> <%blog(...)%> (where the dots are, leave the parameters just as they are.) What happens now is that first your sticky item will be displayed, after that x items ... hth I'm off now, and in case you haven't read it already, in this Howto there is some clarification on the difference between Skin and Templates ... http://www.roelgroeneveld.com/nucleus/skins_templates_howto.html _________________ __deus ex machina__ http://xiffy.nl/weblog/ Japan photo's: http://2006.cooljapan.nl/main.php?g2_itemId=20 |
||||
|
|
|||||
|
bran8464 Nucleus Addict Joined: 11 Jun 2003 Posts: 63 Location: UK |
OK, new day. Have searched all the skins quite thoroughly and cannot find <%blog(...)%> anywhere or anything like it. A clue as to which skin would be useful. |
||||
|
|
|||||
|
cyblot Nucleus Guru ![]() Joined: 16 Sep 2003 Posts: 399 Location: Netherlands |
The Main Index has this, for one:
"yourblog" stands for whatever you named your blog. If you haven't already done so, check out Roel's excellent (hey, I understood it so it can't be too hard _________________ Blots of Info http://www.golb.org |
||||
|
|
|||||
|
bran8464 Nucleus Addict Joined: 11 Jun 2003 Posts: 63 Location: UK |
Yes, tried that thanks, but I think it has to be the template name "default" and not the blog name because I tried that and it didn't work. It is now up and working so thanks. The great thing is it doesn't repeat on any of the category pages. This plugin now works as it should. Thanks xiffy, nice job. Here is 'stickypost' working correctly: www.timeflies.sblogger.com |
||||
|
|
|||||
|
Trent Nucleus Guru ![]() Joined: 04 Oct 2002 Posts: 1555 Location: Alberta, Canada |
Xiffy - I have a problem that maybe you can help me out with! I only display 1 entry on my page and only have 1 entry in each of the categories that I have. How would you go about doing that then? If I use the code:
I have 2 entries on my main page all the time. If I delete the blog part of it, then when you click on the other categories (I use NP_NumberOfPosts) then it shows no entries. I am kind of lost how I can have the sticky entry on my main page and yet still call the other categories to show up! Would I be better to use:
Thoughts? Trent _________________ Life Through The Eyes Of Trent Adams! |
||||
|
|
|||||
|
All times are GMT + 1 Hour
You cannot post new topics in this forum |
|||||