call lightbox from PHP

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
DWG
 
 
Posts: 15
Joined: Sat Aug 31, 2019 2:25 pm
Location: belgium

call lightbox from PHP

Post by DWG »

Pablo ,
first time i used the forum , got a question about a lightbox created in W15 and I want to call this from inside
php code that is included in the site HTML
<?php include_once("./incl_functions.php"); ?>

functions called using 'user defined var's' works great for example MY_COUNT = <?php incl_count();?> does the work
I even can inside some menus change the name using PHP ..even get values from an database

now i followed a course PHP last year with bootstrap and the learned code is getting a mess/complex as php with html,java is mixed
and bootstrap also shows sometimes bad results
that's why I prefer to work with W15 as it is completely under control using breakpoints and even better then bootstrap

the goal is do the design in W15 and do the other code seperated using PHP
so now I want to call an W15 object from inside incl_functions in this case a popup mesg that gives some info

Hopefully this is a bit clear

Best Regards ,
Georges
User avatar
Pablo
 
Posts: 21708
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: call lightbox from PHP

Post by Pablo »

It is not possible to trigger a lightbox from PHP code.
PHP code is executed on the server, a lightbox can only be triggered via JavaScript (on the browser side)
Post Reply