Keyword

pagination style

  • stavroch
  • stavroch's Avatar Topic Author
  • Offline
  • Elite Member
More
14 years 3 months ago #85502 by stavroch
pagination style was created by stavroch
Which files do I have to change for change the style (orientation - images) of pagination design?e.x. I am looking to have images for Next and Previous links.

Please Log in or Create an account to join the conversation.

More
14 years 3 months ago #85503 by vtiger
Replied by vtiger on topic pagination style
Hi,
k2 pagination is rendered thru joomla. So, you can override that.
You can find example file in templates/ja_purity/html/pagination.php
Copy pagination.php into templates/yourjoomlatemplate/html/pagination.php
Then play with css according to your needs...

Regards,
LN

Please Log in or Create an account to join the conversation.

  • stavroch
  • stavroch's Avatar Topic Author
  • Offline
  • Elite Member
More
14 years 3 months ago #85504 by stavroch
Replied by stavroch on topic pagination style
I am using custom template so I don't have templates/ja_purity/html/pagination.php Where can I found the pagination.php ?

Please Log in or Create an account to join the conversation.

More
14 years 3 months ago #85505 by vtiger
Replied by vtiger on topic pagination style
In joomla installation package... where ja_purity is included ...

LN

Please Log in or Create an account to join the conversation.

  • stavroch
  • stavroch's Avatar Topic Author
  • Offline
  • Elite Member
More
14 years 3 months ago #85506 by stavroch
Replied by stavroch on topic pagination style
Can you attach that file (pagination.php) there because I can't find it.

Please Log in or Create an account to join the conversation.

More
14 years 3 months ago #85507 by vtiger
Replied by vtiger on topic pagination style
yes
Attachments:

Please Log in or Create an account to join the conversation.

  • stavroch
  • stavroch's Avatar Topic Author
  • Offline
  • Elite Member
More
14 years 3 months ago #85508 by stavroch
Replied by stavroch on topic pagination style
Are you sure that this pagination.php is the same with the K2 pagination?
On the K2 pagination script I can see that is having
and on the Joomla pagination.php I can see that is having

Please Log in or Create an account to join the conversation.

More
14 years 3 months ago #85509 by vtiger
Replied by vtiger on topic pagination style
I'm sure that attached pagination.php is NOT the same with joomla default pagination because this one is override for default one :)
K2 haven't any "self" pagination template or renderer...

Please Log in or Create an account to join the conversation.

  • stavroch
  • stavroch's Avatar Topic Author
  • Offline
  • Elite Member
More
14 years 3 months ago #85510 by stavroch
Replied by stavroch on topic pagination style
On the php that you have uploaded has a pagination link into ul li and on the page that i use k2 has and not

Please Log in or Create an account to join the conversation.

More
14 years 3 months ago #85511 by Simon Wells
Replied by Simon Wells on topic pagination style
Pagination will get its basic styling from the Joomla template that is used, but it is contained within div.k2Pagination.
You can see this being called within the generic and the category.php files.

To add images to the Next and Previous buttons, then you would need to create an additional class for
so that you can assign an image to it and the best place would be within your Joomla template.

Use Firebug and you will see the surrounding css and that created by k2.css, you will not see a specific class for next/previous as you will need to create it.

I hope that helps getting you started.

Simon
K2 Support

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum