Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Help on new pagination style.

Help on new pagination style.

Locked

Views: 2,956

Results 1 to 20 of 20
This thread is locked. New replies are disabled.
14 Feb 2009, 10:55 PM
#1
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Help on new pagination style.

well, is been little over 12 hours working on this . woow. :wacko:
i moded the pagination by changing few things in split_page_results.php .. ( no idea if i did it in correct file )

things are working ok , but i can not adjust the pagination . i like it to be were the original was or in the centre of the page

here is a link to the site .. is on my dsl computer so might be slow .

tekwar.dlinkddns. com/zencart/test/index.php?main_page=products_all&disp_order=4&page=2

styling is not finished , was working to sort all the problem for all this time .

any idea on adjusting , would be great :cry:

this pagination , uses UL LI , so if you look at the source , everything is set correctly , but i think there is problem with CSS , something overwriting something else .

14 Feb 2009, 11:38 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Help on new pagination style.

Looks fine to me???

What do you see as the issue with more explanation as to what you want versus what is there than "i can not adjust the pagination"

Zen-Venom Get Bitten

14 Feb 2009, 11:40 PM
#3
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Help on new pagination style.

interesting thing is , it looks good in IE7:shocking: But not in FF :shocking:

in IE , is floating to right nicely , but needs to come lower ( baseline) , in FF , needs to move to right more and get to baseline

14 Feb 2009, 11:46 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Help on new pagination style.

in IE , is floating to right nicely , but needs to come lower ( baseline) , in FF , needs to move to right more and get to baseline
I amviewing in FireFox
You still are not explaining what is floating nicely????

Zen-Venom Get Bitten

14 Feb 2009, 11:51 PM
#5
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Help on new pagination style.

ok ,sovvvy , i m very tired today , so i sound .. .. :yuck:

if you look at the pagination .. in IE , pagination shifted to right side .. close to the edge, but in FF , is like 30 to 40 px shifted to left side ..

also , original zc pagination , was closer to horizontal line separator .

ehh. that was too much typing .

14 Feb 2009, 11:59 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Help on new pagination style.

First, I still do not know what it is you are referring to by "pagination" - - I am sure that you have an exact idea what you are meaning but I am blind here and your statements do not lead me to an issue.

Second, I NEVER use IE for any development but did blow the dust off it and to me it looks the same

I am viewing at 1024X768

pagination =

(1) Refers to numbering pages in a document.

(2) Refers to dividing a document into pages. Most word processors automatically paginate documents based on a page size that you specify.

Zen-Venom Get Bitten

15 Feb 2009, 12:03 AM
#7
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Help on new pagination style.

sorry again . :blush:
looking at the listing .. you will see the numbering that allows you to navigate to other listing , next , 1,2,3 , previous .. thats pagination .

thats what i have a bit of problem with .I don't use IE for design this is pure CSS , it just happed that looks ok in IE and not FF .

15 Feb 2009, 12:36 AM
#8
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Help on new pagination style.

You are using invalid code.

<div id="allProductsListingTopLinks" class="navSplitPagesLinks forward"> <ul id="pagination-flickr"> <li>

</li>  <li> << there are many of these errors

</a> </li> </div>

  • cannot have ASCII code in a UL but not within LI tags.
  • there is no closing </ul> tag

FF is displaying the code correctly whereas IE (as usual) is not.

The learning is in the doing.

Potent Products

15 Feb 2009, 1:20 AM
#9
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Help on new pagination style.

Thanks .. problem has been fixed. well, i hope .. now i can sleep ..

i have no idea how space characters got in my page .. this is new install of zc and that was first time modifying split_page_result.php and i had them all over the place .. i use notepad++ so it was not something done by the editor. as for closing UL , humm, it was in wrong place :blush:

allProductsListingTopLinks is div id, i did add this to style , since this is the only way i can adjust paginations vertical alignment .style part of this id , will not effect anything since original zc style did not create property / value for this class ..

thanks again for your helps guys..

15 Feb 2009, 1:26 AM
#10
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Help on new pagination style.

Good complete questions net complete answers....

That is the "Next Previous" function and not pagination

Zen-Venom Get Bitten

15 Feb 2009, 1:45 AM
#11
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Help on new pagination style.

kobra:

Good complete questions net complete answers....

That is the "Next Previous" function and not pagination

perhaps in zencart terminology .. but in world wide web , is pagination :yes:

15 Feb 2009, 3:59 AM
#12
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Help on new pagination style.

but in world wide web , is pagination
pagination is already done and this only allows navigation to the already paginated pages.

Want to alter pagination, goto admin and change # of listings per page...
http://www.pcmag.com/encyclopedia_term/0,2542,t=pagination&i=48779,00.asp
and others

Zen-Venom Get Bitten

15 Feb 2009, 6:57 AM
#13
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Help on new pagination style.

Sounds like "form / function" confusion to me.

I'll let others decide who is the confused. :laugh:

The learning is in the doing.

Potent Products

15 Feb 2009, 3:06 PM
#14
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Help on new pagination style.

i know pagination is done . im not recreating , but only styling ..

pagination definition " 1- page numbering ", so , am i wrong calling this pagination ? all listing result pages have been numbered so calling that pagination should be correct.

you may want to call it previous / next .. but if i change that in english.php , to forward and back then your definition for page number would be incorrect ..

15 Feb 2009, 7:40 PM
#15
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Help on new pagination style.

tony_sar:

pagination definition " 1- page numbering ", so , am i wrong calling this pagination ? all listing result pages have been numbered so calling that pagination should be correct.

you may want to call it previous / next .. but if i change that in english.php , to forward and back then your definition for page number would be incorrect ..
One can only change the variable in english.php NOT the constant

  define('PREVNEXT_TITLE_PREVIOUS_PAGE', 'Previous Page');
  define('PREVNEXT_TITLE_NEXT_PAGE', 'Next Page');

tony_sar:

if you look at the pagination .. in IE , pagination shifted to right side
When you asked this,I am looking for "broken" page layout and not for the positioning of the Prev/Next function.
I am using pagination in the literal as to how numbered pages are rendered...

JMO and if you still do not agree, we will just have to "agree" to "disagree"

Zen-Venom Get Bitten

15 Feb 2009, 8:04 PM
#16
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Help on new pagination style.

JMO and if you still do not agree, we will just have to "agree" to "disagree"
:clap::hug:

23 Apr 2009, 5:26 PM
#17
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

Re: Help on new pagination style.

Hi Tony,

I stumbled on this thread in my search for 'pagination'. I wondered how involved you were getting with your re-styling of the pagination as I've been trying to work on this myself.

I'm planning on having over 100 pages in some of my categories so I was trying to find some way to style the pagination on the main pages so that it acts the same way as the pagination in the admin area (with a drop down for selecting page numbers).

How far did you get with this?

23 Apr 2009, 6:46 PM
#18
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,659
Plugin Contributions:
0

Re: Help on new pagination style.

I'm planning on having over 100 pages in some of my categories

Are you aware the average shopper rarely goes past page three? You might be better off to have more categories or sub categories.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

23 Apr 2009, 7:00 PM
#19
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

Re: Help on new pagination style.

Kim:

Are you aware the average shopper rarely goes past page three? You might be better off to have more categories or sub categories.

I know, I thought about that but I have ability to filter categories by size...... or by manufacturer of course..... So if I have 200 styles of jeans, then the user can filter by size.

What other sub category could you use for jeans?

23 Apr 2009, 8:18 PM
#20
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Help on new pagination style.

the style that i made , called flicker .. is not what you are after ..