×
Kunena 5.2 RC 1 Released (25 Oct 2020)

The Kunena team is thrilled to announce the first public release candidate of Kunena 5.2, a native Joomla extension for Joomla 3.9. This is a development release and should be only be used for testing; this version is not recommended for live websites at this stage.

The purpose of this release is to encourage testing by downloading, installing and identifying any problems or shortcomings that people may discover. K 5.2.0 RC1 is stable and we are aware that people will discover defects. We encourage you to use the forum to report defects, as soon as they are discovered, so that the development team can work through the problems before the release of K 5.1 as a stable product. Reporting defects does not mean that the problems can or will be fixed. The Kunena team is looking forward to hearing your feedback on how well we have achieved our design goals.

× 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
8 years 6 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 edit your message.
Time to create page: 0.103 seconds