Keyword

Pagination page titles or canonical link

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
3 months 2 weeks ago #172304 by Fotis
Fotis replied the topic: Pagination page titles or canonical link
Minor typo. Corrected. Now it works.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

  • Theodore Hildebrandt
  • Theodore Hildebrandt's Avatar
  • Offline
  • New Member
More
3 months 2 weeks ago - 3 months 2 weeks ago #172307 by Theodore Hildebrandt
Theodore Hildebrandt replied the 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: 3 months 2 weeks ago by Theodore Hildebrandt.

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
3 months 2 weeks ago #172308 by Fotis
Fotis replied the 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.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

Moderators: william white

Powered by Kunena Forum