How to add page numbers to top of page

Jo

No avatar

2006-08-20 04:02

Can anyone tell me how to add the page numbers from the bottom of the page to the top of the page also? (I couldn't find a clearer way to word this so I hope it makes sense!)

I can't seem to find the code for the page numbers...

Thanks,
Jo

~Ned

No avatar

2006-08-20 10:40

Try /templates/products_list.tpl
Back this up and and look for <!---BEGIN LIST FOOTER.
Move _only_ the line <div id="pages" etc... into BEGIN LIST HEAD or where you want it.

Jo

No avatar

2006-08-20 16:43

That definitely sounds like it should work but it's not doing anything...

It's quite simple so I'm pretty sure I'm not doing anything wrong. Can't understand it.

Typoteus

No avatar

2006-08-21 18:00


So does this work or what? If it doesn't maybe someone else can say what to do?

S-P

Claps

Avatar: Claps

2006-08-21 18:14

What QC version? what plugins (productsInRow to be more precise)?

Claps

Avatar: Claps

2006-08-21 18:23

If productsinRow plugin is enabled then in templates/productsInRow.tpl
1. locate
<tr class="f">
<td colspan="$iColumns">
$lang[Pages]: $aList[sPages]
</td>
</tr>
2. cut it from position
3. paste it in section LIST_HEAD right after <table id="productsInRow" cellspacing="0">.

It should look like :

<table id="productsInRow" cellspacing="0">
<tr >
<td colspan="$iColumns">
$lang[Pages]: $aList[sPages]
</td>
</tr>
<tr>
<!-- END LIST_HEAD -->

Typoteus

No avatar

2006-08-22 02:11

Yeah, your way works fine with QC 1.2 with productsInRow-plugin. Thanks Claps, you're the man!

S-P

Jo

No avatar

2006-08-23 22:01

I'm using QCLoaded_v.1.3 (and loving it!) and have added this now, it works great. Thanks a lot Claps! :)

Back to top
about us | contact