Webmastersite.net
Register Log In

toplist in linkbit not working

Comments on toplist in linkbit not working

Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
#16 - Quote - Permalink
Posted Jun 10, 2008 - 5:25 PM:

david wrote:
I put this into the Display Links template:



Numberless toplists shouldn't have numbers. They should be <!-- BEGIN TOPLIST --> <!-- END TOPLIST -->. You can use the toplist generator and leave the number box blank.
david
Forum Regular

Usergroup: Customer
Joined: Jun 22, 2005

Total Topics: 91
Total Comments: 305
david
#17 - Quote - Permalink
Posted Jun 10, 2008 - 11:44 PM:

Paul wrote:



Numberless toplists shouldn't have numbers. They should be <!-- BEGIN TOPLIST --> <!-- END TOPLIST -->. You can use the toplist generator and leave the number box blank.



Yep, works like that. smiling face
david
Forum Regular

Usergroup: Customer
Joined: Jun 22, 2005

Total Topics: 91
Total Comments: 305
david
#18 - Quote - Permalink
Posted Jun 10, 2008 - 11:49 PM:

Paul wrote:


Can you tell me where the error is in that? I don't see one.

that custom admin template contains only this:

Compare with the normal template. I think you're missing the link start declaration.



You mean the include LINKBIT part? How can I include the Linkbit part in an inframe in the Linkbit part? wouldn't that cause a loop? the LINKBIT is just important for its BEGIN REGULAR LINKS part for displaying a link, isn't it? so can't I put that in another template? or how can I use a custom LINKBIT template?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
#19 - Quote - Permalink
Posted Jun 11, 2008 - 2:04 AM:

I mean you need to copy and paste from search.tpl please, instead of inventing what you think the syntax should be without checking:
<table {STANDARDTABLE}>
<!-- BEGIN SEARCH links RESULTS -->
<!-- BEGIN RECIP -->
[INSERTFILE=linkbit]
<!-- END RECIP -->
</table>
<table {STANDARDTABLE}>
<!-- BEGIN REGULAR -->
[INSERTFILE=linkbit]
<!-- END REGULAR -->
<!-- END SEARCH links RESULTS -->
</table>


Once you insert that, you can start customizing and replace the [INSERTFILE=linkbit] with your own custom code. By copying and pasting, you'll have the proper structure around it. By inventing it on your own, you're not declaring the search type area.

so can't I put that in another template?

The linkbit can be used anywhere, that's why it was introduced. A custom linkbit template would defeat the point. It's not an issue here though.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.