×
Kunena 5.1.5 Released - Security Release (Yesterday)

The Kunena team has announce the arrival of Kunena 5.1.5 [K 5.1.5] which is now available for download as a native Joomla extension for J! 3.8.x. This version addresses most of the issues that were discovered in K 5.1 and issues discovered during the development stages of K 5.1. This is a Security release.

× This is for users to help other users, to discuss topics that are related to forum administration in general or problems in running Joomla. This is not the place to ask for Joomla support. If you want assistance with Joomla please ask at forum.joomla.org

Question Getting the base url of the topic

More
6 years 5 months ago #1 by sultani
Hello friends, im trying to get a variable that will trow me the base url of the topic even if we are navigating on 2 3... pagination.

This is because im implementing the facebook comments along the topics so people can be able to comment the topic also in Facebook. The problem is that facebook can automaticly detect the current url, if people navigate to the second page of the topic, facebook will think that its another page, and dont make sense to have multiple paralel comments on facebook for the same topic.

Facebook also let me set the url for the page, if i can set a variable to push the base url like joomla have:
<base href="https://******.***/forum/index/generalidades/1778-amor-procura-se.html" />
by default would be awesome.
I was playing with this joomla feature to try to get the base url to joomla but this meta tags along the meta description and meta keywords etc, are being called by this: <jdoc:include type="head" /> wich is very hard for me to find the variable needed and put it in the follow file wich is where it is the facebook comment app:
/public_html/components/com_kunena/template/default/view/view.php

Sorry for big post but im Portuguese and its hard for me to express myself in a few words.

Sincerely

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

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to add attachements.
  • Not Allowed: to edit your message.
Time to create page: 0.140 seconds