Pagenav mystery

  • zebrafilm
  • zebrafilm's Avatar Offline Topic Author
  • Premium Member
  • Premium Member
  • Netherlands / Thailand
  • Posts: 87
  • Thanks: 0

Pagenav mystery was created by zebrafilm

Posted 8 years 6 months ago #30705
Can't find why my page nav buttons are not working well. May be someone has an idea where to look.

It works fine in the template creator:



but does not in the template on the site:



Looking at the code (template creator):



I get different classes in the result:




Therefor the bootstrap CSS does not apply anymore. It seems TC does not add the pagenav class in the final result.

Latest TC and Joomla. Bootstrap enabled.
Last Edit:8 years 6 months ago by zebrafilm
Attachments:
Last edit: 8 years 6 months ago by zebrafilm.

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

Replied by ced1870 on topic Pagenav mystery

Posted 8 years 6 months ago #30723
Hi
Please give me your url to check this
CEd

Joomlack Webmaster and Developer

by ced1870

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

  • zebrafilm
  • zebrafilm's Avatar Offline Topic Author
  • Premium Member
  • Premium Member
  • Netherlands / Thailand
  • Posts: 87
  • Thanks: 0

Replied by zebrafilm on topic Pagenav mystery

Posted 8 years 6 months ago #30891
No improvements on this part in the latest 3.4.5. Still missing the class code for previous and next in the build template. It's ok in the preview but not in the final build.

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

Replied by ced1870 on topic Pagenav mystery

Posted 8 years 5 months ago #30936
Hi
I have just checked by my side, with the demo data in the joomla installation, I get the same as the 1st code you mention

could you please tell me how you are adding your buttons ?
CEd

Joomlack Webmaster and Developer

by ced1870

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

  • zebrafilm
  • zebrafilm's Avatar Offline Topic Author
  • Premium Member
  • Premium Member
  • Netherlands / Thailand
  • Posts: 87
  • Thanks: 0

Replied by zebrafilm on topic Pagenav mystery

Posted 8 years 5 months ago #30939
Ced, thanks for checking, as the title says it is a bit of a strange issue but to me it seems that the generated code is not exactly right:

On my test server/site : design.zebrahosting.nl/ you see the for /next buttons and the problem.
Same server the preview shows the buttons ok but the installed version does not.

For testing I created a plain new template, based on model 14, and installed that. It also gives a difference with the for/next buttons between preview and deployment. Not as extreme but positioning is also off. Size is right this time.
Other than button color changes, no additional settings are done for those buttons.

In an other test I made a plain template from model 7 without any modification and it does show the correct size button but not the right position. It seems that the TOC (index) is messing up some of your code?

I have also tested export and re-import of the gabarit to see if it made any difference but it did not.
(the problem template was made with a previous version so try to make sure I use the latest code to recreate everything.)

Will keep trying. Attached the gabarit in case you want to look at it too.


File Attachment:

File Name: kk-basis-t...ck3z.zip
File Size:14 KB
Last Edit:8 years 5 months ago by zebrafilm
Attachments:
Last edit: 8 years 5 months ago by zebrafilm.

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

Replied by ced1870 on topic Pagenav mystery

Posted 8 years 5 months ago #30945
ok I have found, in fact you are using the page break button in the editor. This is not the navigation between the articles in the category, but between multiple parts of the same article .Then joomla! renders the pagenav buttons differently ...

I will check by my side how to improve this
CEd

Joomlack Webmaster and Developer

by ced1870

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

Time to create page: 0.673 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 844 guests and no members online