- Posts: 22
- Thank you received: 0
All questions about EDocman extension
No style assigned to Pagination
- Nico
- Topic Author
- Offline
- Junior Member
-
Less
More
10 years 5 months ago #52448
by Nico
No style assigned to Pagination was created by Nico
Hi Tuan,
why pagination does not have the tag "<ul>" but only <div class = "pagination">.
What should I change to get the tag "ul" and take advantage of the default css style?
thanks
why pagination does not have the tag "<ul>" but only <div class = "pagination">.
What should I change to get the tag "ul" and take advantage of the default css style?
thanks
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
10 years 5 months ago #52459
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic No style assigned to Pagination
Hi Nico
I guess you will need to edit the code to use that style. Send me the link to the page you want to change and I will guide you what file you need to change
Regards,
Tuan
I guess you will need to edit the code to use that style. Send me the link to the page you want to change and I will guide you what file you need to change
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Nico
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 22
- Thank you received: 0
10 years 5 months ago #52468
by Nico
Replied by Nico on topic No style assigned to Pagination
Hi Tuan,
I wish that every time you need paging there is the css style with the <ul> tag.
Unfortunately I can not point you in the pages on the forum because it is the section of the restricted area.
Help me please...
thanks
I wish that every time you need paging there is the css style with the <ul> tag.
Unfortunately I can not point you in the pages on the forum because it is the section of the restricted area.
Help me please...
thanks
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
10 years 5 months ago #52469
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic No style assigned to Pagination
Look at the files under components/com_edocman/views/category/tmpl folder. You should see the code and can change it to meet your need. I will try to look at how Joomla core does with this make up and will update the code of the component in the new release which I am working on at the moment
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- Nico
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 22
- Thank you received: 0
10 years 5 months ago #52472
by Nico
Replied by Nico on topic No style assigned to Pagination
Hi,
I found this piece of code in tmpl folder "default.php" :
show me where to add the <ul> and <li>
I found this piece of code in tmpl folder "default.php" :
Code:
<div class="pagination">
<?php echo $this->pagination->getPagesLinks(); ?>
</div>
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
10 years 5 months ago #52473
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic No style assigned to Pagination
OMG. You can change that code to:
To see how it goes. The <?php echo $this->pagination->getPagesLinks(); ?> is Joomla core code and you cannot change it
Tuan
Code:
<ul class="pagination">
<?php echo $this->pagination->getPagesLinks(); ?>
</ul>
To see how it goes. The <?php echo $this->pagination->getPagesLinks(); ?> is Joomla core code and you cannot change it
Tuan
Please Log in or Create an account to join the conversation.
- Nico
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 22
- Thank you received: 0
10 years 5 months ago #52474
by Nico
Replied by Nico on topic No style assigned to Pagination
- Tuan Pham Ngoc
- Offline
- Administrator
-
10 years 5 months ago #52475
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic No style assigned to Pagination
Ah, then it is not possible, too. That pagination is Joomla core code and it is using through all sections of your site (which has pagination), we could not change it, unfortunately
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- Nico
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 22
- Thank you received: 0
10 years 5 months ago #52476
by Nico
Replied by Nico on topic No style assigned to Pagination
I found the function getPagesLinks() in libraries / cms / pagination / pagination.php
I can not figure out where to change the tad div <ul>.
As you can see in the screenshot above, there are instances of "pagination" (<ul> and before the <div> second)
can you help me please?
I can not figure out where to change the tad div <ul>.
As you can see in the screenshot above, there are instances of "pagination" (<ul> and before the <div> second)
can you help me please?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
10 years 5 months ago #52477
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic No style assigned to Pagination
Sorry I cannot. You should never modify Joomla core code as it might break other extensions which use it. Also, it will get lost when you upgrade to new Joomla version
Tuan
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.