Forum
Welcome, Guest

VCard view and conflict with Jmaps
(1 viewing) (1) Guest
Ask all your support questions for SOBI2 JView Gallery Plugin here.
  • Page:
  • 1

TOPIC: VCard view and conflict with Jmaps

VCard view and conflict with Jmaps 1 year, 8 months ago #1678

  • richardt
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
Hello,

Great extensions, thank you!

I am trying to implement the code from this thread -> www.sigsiu.net/forum/index.php?topic=16146.0 in my vcard view.

It worked with the Sobi2 Gallery plugin like this:

 
$myGallery = new HTML_SOBI();
$myGallery->getPlugin($mySobi, "gallery");
 


along with setting the Gallery plugin to use the default mootools.

I have now changed it to:

 
$myGallery = new HTML_SOBI();
$myGallery->getPlugin($mySobi, "jview");
 


but Jview does not have the option to use default mootools, so my images are not clickable.

I had to set css
#jviewLargeImageDiv { display:none; }


Also the above piece of code breaks my Jview Google map.

Page is here -> www.newsite.familyholidayandleisure.com/accommodation/south-africa.html

Any ideas? Thanks in advance!

Richardt
Last Edit: 1 year, 8 months ago by richardt. Reason: php code not displaying on post

Re:VCard view and conflict with Jmaps 1 year, 8 months ago #1679

  • nicholas
  • OFFLINE
  • Moderator
  • Developing for Joomla since it was born!
  • Posts: 1197
Hello -

To be clear on what you are trying to do, can you please describe the end state you are trying to achieve on the vCard view?

Also, not quite sure what got broken by your CSS. On the page you referenced, JMaps appears and is displaying. Can you explain this further?
Nicholas
CIO - CorFun, Inc.
Publisher - orthodoxbiz.com
Webmaster - Orthodox Christian Network

Re:VCard view and conflict with Jmaps 1 year, 8 months ago #1680

  • richardt
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
Hi Nicholas,

Thanks for the reply. This is really odd, that you can see the map. The map does not display for me in Firefox or IE, but I can see the scripts for Google Maps with Firebug.

When you saw the page, and when I have that problem, I had this code implemented:

$myGallery = new HTML_SOBI();
$myGallery->getPlugin($mySobi, "jview");


As you can see on attached screenshot, the map is not showing, but the three thumbnails for my listing are displaying in the vcard.

Also, when I use the above code, the listing opens in a new page, and not in the shadowbox, even if I have set that option in JMaps module.

The effect I want with that code is not so important, the fact that the thumbnails are showing is OK.

But when I was implementing the same code (change "jview" with "gallery") with Gallery Plugin, when I clicked on each thumbnail, the image opened in slimbox on the same window.

From this thread -> www.sigsiu.net/forum/index.php?topic=16146.0 I quote:
"simply add this code to your vcard template instead of the standard gallery plugin code to generate the gallery images in vcard with full slimbox effect."

I also would like to control the max amount of thumbnails showing in vcard, if I can get this to work.

But of course, when I use this code:
echo $plugins["jview"];


everything is working good. Listing opens in shadowbox, map is showing. But I don't have the thumbnails in Vcard.

Maybe I just don't need it, but would be good to get it working, JView gallery is allready such an improvement on the older Gallery Plugin, would be good to make it the same and better in all ways!
Attachments:

Re:VCard view and conflict with Jmaps 1 year, 8 months ago #1681

  • nicholas
  • OFFLINE
  • Moderator
  • Developing for Joomla since it was born!
  • Posts: 1197
Hello -

I visited your site and everything is working. Here is my suggestion. We have an option in the JView to show the first thumbnail in the vCard view. There is code in the doc and also in the plugin to do exactly that. If I get what you are trying to do, you want to show multiple thumbnails in the vCard, correct? I will look at our code and post a code change that will pull more than just the first one. For now, stay with base code and implement the option to show the first thumbnail in vCard. Then let me look at the code to see how to accommodate multiple images in the vCard using our own code, rather than template commands.

Thanks,
Nicholas
CIO - CorFun, Inc.
Publisher - orthodoxbiz.com
Webmaster - Orthodox Christian Network

Re:VCard view and conflict with Jmaps 1 year, 8 months ago #1687

  • richardt
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
Sorry for the delayed reply Nicholas! It would be great for you to have a look at what you can do in your own code.

Yes you are right: display multiple thumbnails in the vcard, and of course being able to somehow control the number of thumbnails showing.

I have however for the moment given the vcard thumbs a skip, since I am desperate to get the site live! But later would consider coming back to it, it sure would be a good feature!

Re:VCard view and conflict with Jmaps 1 year, 8 months ago #1689

  • nicholas
  • OFFLINE
  • Moderator
  • Developing for Joomla since it was born!
  • Posts: 1197
Hello -

I'll look into our code and see what can be done. Thanks for the input.
Nicholas
CIO - CorFun, Inc.
Publisher - orthodoxbiz.com
Webmaster - Orthodox Christian Network
  • Page:
  • 1
Time to create page: 1.14 seconds

Login