Skip to Content Skip to Menu

Link to profile in Google Maps?

  • Bandola
  • Bandola
  • OFFLINE
  • Posts: 11
  • Thanks: 0
  • Karma: 0
18 years 2 months ago #19683 by Bandola
Link to profile in Google Maps? was created by Bandola
I have Google Maps 2.6 installed together with CB.
Does anyone know how to make a link in the popup window to the CB-profile page? Preferably by making the name or username clickable?

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

  • Boidy
  • Boidy
  • OFFLINE
  • Posts: 1
  • Thanks: 0
  • Karma: 0
18 years 2 months ago #21123 by Boidy
Replied by Boidy on topic Re:Link to profile in Google Maps?
This is done by modifying the XML file in the google maps component. If you look through the discussion board on forge.joomla.org on the Google Maps project, you should find what you're looking for.

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

18 years 2 months ago #21210 by KurtSteiner
Replied by KurtSteiner on topic Re:Link to profile in Google Maps?
you can find it here

;)

sunny regards from Germany

BERND (Kurt Steiner)

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

17 years 5 months ago #39688 by maartenbcn
Replied by maartenbcn on topic Re:Link to profile in Google Maps?
Hi,

I need the same:

I have Google Maps 2.6 installed together with CB.
Does anyone know how to make a link in the popup window to the CB-profile page? Preferably by making the name or username clickable?

however, the link in your post has expired..any idea?
Thanx,

M

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

  • maddunr
  • maddunr
  • OFFLINE
  • Posts: 10
  • Thanks: 0
  • Karma: 0
17 years 4 months ago #40581 by maddunr
Replied by maddunr on topic Re:Link to profile in Google Maps?
You might have already found this out by now.. but I'll post it here anyways for the benefit of others.

In the misc area of the XSL file, you can add html code that links to the user's profile. Note that I have used SEF urls because otherwise there is problem with url encoding of the non-sef url. But if you're adventurous, go ahead and give it a try :)

[code:1]<xsl:copy-of select="misc" /><br />
<a href="login/task,userProfile/user,{@userid}"><b>More info about <xsl:value-of select="name"/></b></a><br />[/code:1]

You can change the href code to suit your web site's code. All you really need is the @userid part.

Good luck!
-V

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

  • richm
  • richm
  • OFFLINE
  • Posts: 5
  • Thanks: 0
  • Karma: 2
17 years 2 months ago #45053 by richm
Replied by richm on topic Re:Link to profile in Google Maps?
Hmmm, this is not working for me. I do not have SEF turned on, so my code is:

<xsl:copy-of select="misc" />
<br /><a href="index.php?option=com_comprofiler&Itemid={@userid}">User Profile</a>

I get the following error:

XML Parsing Error: not well-formed Location: www.site.com/components/com_google_maps/minipage.xsl Line Number 71, Column 55:
User Profile
^

I also tried this format, found in another thread, but I still got a parsing error:

<xsl:copy-of select="misc" />
<br /><a><xsl:attribute name="href">index.php?option=com_comprofiler&Itemid<xsl:value-of select="@userid"/></xsl:attribute>Go to profile</a>

I tried this with and without the @sign, without and without curly parentheses, and I tried to put userid into a standard XML field, and I tried putting it in the main body of the code instead of in "misc," but nothing worked, so I am officially stuck. If anyone figures this out, please document your code for me.

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

Moderators: beatnantkrileon
Powered by Kunena Forum