Nucleus Support Forum Index

Find on the forum:
any terms  all terms  Advanced Search

RSS 2.0
Browse posts: Unanswered | Mark all read

« »
Loading Nucleus FAQ ticker...
Post new topic Reply to topic
Author Message
bran8464
Nucleus Addict


Joined: 11 Jun 2003
Posts: 63
Location: UK

Post Posted: Sat Oct 18, 2003 9:24 pm   Post subject:
Reply with quote

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

Back to top

View user's profile Send private message
xiffy
Nucleus Guru
Nucleus Guru


Joined: 27 Mar 2002
Posts: 1218
Location: Deventer

Post Posted: Sat Oct 18, 2003 9:26 pm   Post subject:
Reply with quote

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

Back to top

View user's profile Send private message Send e-mail Visit poster's website MSN Messenger ICQ Number
bran8464
Nucleus Addict


Joined: 11 Jun 2003
Posts: 63
Location: UK

Post Posted: Sat Oct 18, 2003 9:49 pm   Post subject:
Reply with quote

Hmm, I have a problem now, there's no access to admin.

Back to top

View user's profile Send private message
xiffy
Nucleus Guru
Nucleus Guru


Joined: 27 Mar 2002
Posts: 1218
Location: Deventer

Post Posted: Sat Oct 18, 2003 9:52 pm   Post subject:
Reply with quote

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

Back to top

View user's profile Send private message Send e-mail Visit poster's website MSN Messenger ICQ Number
bran8464
Nucleus Addict


Joined: 11 Jun 2003
Posts: 63
Location: UK

Post Posted: Sat Oct 18, 2003 10:02 pm   Post subject:
Reply with quote

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?

Back to top

View user's profile Send private message
xiffy
Nucleus Guru
Nucleus Guru


Joined: 27 Mar 2002
Posts: 1218
Location: Deventer

Post Posted: Sat Oct 18, 2003 10:09 pm   Post subject:
Reply with quote

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

Back to top

View user's profile Send private message Send e-mail Visit poster's website MSN Messenger ICQ Number
bran8464
Nucleus Addict


Joined: 11 Jun 2003
Posts: 63
Location: UK

Post Posted: Sun Oct 19, 2003 11:10 am   Post subject:
Reply with quote

Quote:
So now you've restored your blog the way it was. Go to the skins, and find
<%blog(...)%>
and change this into
<%StickyItem%>
<%blog(...)%>


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.

Back to top

View user's profile Send private message
cyblot
Nucleus Guru
Nucleus Guru


Joined: 16 Sep 2003
Posts: 399
Location: Netherlands

Post Posted: Sun Oct 19, 2003 11:34 am   Post subject:
Reply with quote

bran8464 wrote:
[quote 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.


The Main Index has this, for one:

Code:
<!-- this tag inserts a weblog using the template named 'yourblog' and  -->
 <!-- showing 15 entries                                                -->
 <%blog(yourblogdefault,15)%>


"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 Wink ) tutorial at http://www.roelgroeneveld.com/nucleus/skins_templates_howto.html#learnskins

_________________
Blots of Info
http://www.golb.org

Back to top

View user's profile Send private message Visit poster's website
bran8464
Nucleus Addict


Joined: 11 Jun 2003
Posts: 63
Location: UK

Post Posted: Sun Oct 19, 2003 11:52 am   Post subject:
Reply with quote

Quote:
"yourblog" stands for whatever you named your blog


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

Back to top

View user's profile Send private message
Trent
Nucleus Guru
Nucleus Guru


Joined: 04 Oct 2002
Posts: 1555
Location: Alberta, Canada

Post Posted: Thu Oct 23, 2003 5:54 pm   Post subject:
Reply with quote

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:

Code:
<%StickyItem%>
<%blog(...)%>


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:

Code:
<%if(category)%><%blog(default,1)%><%else%><%blog(default,1,'Onvertigo News')%><%endif%>


Thoughts?

Trent

_________________
Life Through The Eyes Of Trent Adams!

Back to top

View user's profile Send private message Visit poster's website ICQ Number
Post new topic Reply to topic
Display posts from previous:   

Goto page Previous  1, 2, 3  Next

Page 2 of 3

All times are GMT + 1 Hour

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2002 phpBB Group