Keyword

Pagination page titles or canonical link

More
4 years 10 months ago #172304 by JoomlaWorks
Replied by JoomlaWorks on topic Pagination page titles or canonical link
Minor typo. Corrected. Now it works.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Theodore Hildebrandt
  • Theodore Hildebrandt's Avatar
  • Offline
  • New Member
More
4 years 10 months ago - 4 years 10 months ago #172307 by Theodore Hildebrandt
Replied by Theodore Hildebrandt on topic Pagination page titles or canonical link
I don't think you actually tried it, or you would find this line is also incorrect:
$limit = JRequest::getInt('limit');

"limit" is not passed as a request variable, since it depends on the number of leading items, primary items, secondary items and link items on a given page according to the configuration of that specific category page. So, it can't come directly from the component configuration, and it isn't passed as a request variable.
Last edit: 4 years 10 months ago by Theodore Hildebrandt.

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

More
4 years 10 months ago #172308 by JoomlaWorks
Replied by JoomlaWorks on topic Pagination page titles or canonical link
You're wrong. $limit is created from the concatenation of the leading, primary etc. counts before the sub-template is fetched. So it's correctly returned when you request it from within the subtemplate. I guess you didn't try the code.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum