This Help forum is for issues relates to the latest release (1.3.x). For issues related to beta or svn version please use their own Help forum.
Before asking for help please read "How to request help" by clicking on that tab above here.
  • Page:
  • 1

TOPIC:

Adding LIGHTBOX to mediaobjects. How-to? 8 years 2 months ago #1

  • danmer
  • danmer's Avatar Topic Author
  • Visitor
  • Visitor
I try add lightbox viewer to all picture in media-category

i add this
$album = new lightbox_WT_Module();
	$album->getPreLoadContent();

after $controller=new WT_Controller_Individual(); in individual.php file.

and result enable light box ONLY for "mainimage"




Please help me- where (in which files) i can find needed place for editing (adding LIGHTBOX code)
i`m noob in php ))
P.S. In settings i try all combination (Use media viewer yes-no Album&Media module on-off)- and no result
Attachments:

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

Last edit: by Jackie.

Adding LIGHTBOX to mediaobjects. How-to? 8 years 2 months ago #2

  • kiwi
  • kiwi's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 4986
Wait for the next release of webtrees (1.4.0). It will be released in a few days. It has a totally different replacement for ALL media code, including lightbox.
Nigel

www.our-families.info

Hosted at:
Follow me at:

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

  • Page:
  • 1
Powered by Kunena Forum