Pagenav mystery
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.
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
Last edit: 8 years 6 months ago by zebrafilm.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
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.
by zebrafilm
Please Log in or Create an account to join the conversation.
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
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.
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.
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.
Last Edit:8 years 5 months ago
by zebrafilm
Last edit: 8 years 5 months ago by zebrafilm.
Please Log in or Create an account to join the conversation.
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
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