Support Forums

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Javascript / Php in the modules?

Featured Lock Resolved Task
can i put javascript or php code into one of the modules in that page builder. I may be able to do a db query and put it in there to style for a few things
is there a way how to?

6 Answers

Alex Smirnov

More than a month ago #Permalink
Hi Cynthia,
Cynthia Mobley wrote: But now I'm curious just as a matter of -- well, curiosity -- as to how it could be done....
Mark Twain's "She was wise, subtle, and knew more than one way to skin a cat" comes to mind :) In Open Source technologies like PHP and SQL everything can be done and can be done in many ways. So many developers - so many approaches. You just have to shop around until you find a developer you are happy to employ.

Regards,

Alex

Alex Smirnov

More than a month ago #Permalink
Hi Cynthia,

There is a technique to add JS and PHP code inside Joomla articles (you would need to install a third party plug-in to allow such codes to work) but SP Page Builder won't allow you to.

What exactly are you trying to achieve please?

Regards,

Alex

Cynthia Mobley

More than a month ago #Permalink
Hi, Alex. I'm trying to get around the component inside component issue. I have a couple of custom applications done with Fabrik, the form/db component, as well as some modifications to JGive, another component. But I'm loving the ease with which Reynel (who queried above) can design new looks with this tool. But I can't give up the functionality of some of the other components. Just wondering if there's a way I can strip out the results of a db query via those two components -- or just a straight query -- and style and display the results in something he designs. I'm not a programmer, but I can cookbook my way through a lot of stuff. Maybe Sourcerer or something like that?
Cyn

Alex Smirnov

More than a month ago #Permalink
Hi Cynthia,

In general, I am not a fan of introducing custom coding in Joomla system. Hack are just that - hacks, and in the long run sooner or later they eventually become an issue. The only exception is a case, when a code hack is suggested by a given component developer himself, who then implements this same hack into this component next version.

Speaking of your site, if you are not happy with how a certain component outputs its data for you, your best bry imho would be to contact that component developer and check if he can suggest anything in this regard. Who knows? If this proves useful for the component's end users, he may write a new functionality, or a plug-in.

Regards,

Alex

Cynthia Mobley

More than a month ago #Permalink
But now I'm curious just as a matter of -- well, curiosity -- as to how it could be done.
Very fond of Fabrik but also very fond of how this component makes pages. Perhaps Fabrik can write a plug in.


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Leaderboard (30 days)

Sifat

Sifat

Total Accepted Answers: 121
Paul Frankowski

Paul Frankowski

Total Accepted Answers: 113
Toufiq

Toufiq

Total Accepted Answers: 59
Pavel

Pavel

Total Accepted Answers: 4
Peter Atkin

Peter Atkin

Total Accepted Answers: 2

100+

Templates

200,000+

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us