×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Change title

Change title 12 years 11 months ago #14627

  • Erwin de Wolff
  • Erwin de Wolff's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 74
  • Thank you received: 0
Hi there,

Is it possible to make the title in the marker-detail window an hyper-link with the link from the Description? And remove the description link?

Kind Regards,

Erwin

Change title 12 years 11 months ago #14629

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Erwin,
Well, possible - everything is possible :) But this is really hard as we get all the content for the infowindow as a single string - title, followed by the descritpion with html elements. For this to work the json that is returned from the server should contain a new title field and then we should make this title an a tag add the href and it should work, but obviously that is a lot of work for something that in my honest opinion won't bring much better user experience.

Cheers,
Daniel

Change title 12 years 11 months ago #14633

  • Erwin de Wolff
  • Erwin de Wolff's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 74
  • Thank you received: 0
Hi Daniel,

Thanks for you explaniation, too bad that it is embedded into the classes. I'd thought that it would be easier to add the <a href> around the title in the marker-window with the "Read-more"-hyperlink. The reason I wanted this, is that I then could remove green-bar out of the marker-window results in a smaller pop-up.

Kind Regards,

Erwin

Change title 12 years 11 months ago #14635

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
ok, sometimes I do this! I again thought of an extremely complicated solution for an extremely easy problem... It is that easy as adding a <a href> tag around the title...
Edit views/json/tmpl/default_description.php

Look at the file - around the image you will see the <a > tag - just copy it around the title and you are ready to go!
Cheers,
Daniel

Change title 12 years 11 months ago #14642

  • Erwin de Wolff
  • Erwin de Wolff's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 74
  • Thank you received: 0
Hi Daniel,

Thanks! That was exactly where I was looking for :)

Kind Regards,

Erwin
  • Page:
  • 1
Time to create page: 0.110 seconds