Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Is K2 Custom HTML module any better than Joomla's?

Posted on 2016-08-15
2
Medium Priority
?
160 Views
Last Modified: 2016-08-16
Hello!

I know there's a K2 Tools module and it has among other things, its own Custom HTML module. The only difference that I've noticed is that it has "Parse PHP code" option.
So my question is... Is K2 Custom HTML module any better than Joomla's? Is it any different in any way?
0
Comment
Question by:Member_2_7970041
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 51

Accepted Solution

by:
Steve Bink earned 2000 total points
ID: 41757972
You can see the code for yourself by downloading the K2 Tools install package, and looking at modules/mod_k2_tools/helper.php::renderCustomCode().  It basically sends the custom code parameter through the ob_* functions to execute it, then manually triggers the onPrepareContent and onK2PrepareContent events.  It is a pretty basic concept... I first saw it in NoNumbers' Sourcerer plugin, which worked beautifully, and is far less weighty than the entire K2 Tools package.

Of course, K2 Tools has much more to offer than just parsing PHP in your HTML module.  If you can find a use for the other features, perhaps it is worth your while to install it.
0
 
LVL 51

Expert Comment

by:Steve Bink
ID: 41757977
Just one further note: the K2 Tools module will act only on modules you create specifically with K2 Tools.  General plugins like Sourcerer will try to act on a much wider array of content.  That's not necessarily a problem, but it is something to consider.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What you will need: Any version of Photoshop or similar product (examples in Photoshop) Internet Access FTP Access to your joomla install or ability to upload images within joomla administrator backend Create Image: Lets start off with cre…
This is our step by step to setting up and configuring a Joomla Install on a Windows 2003 Server. This is the perfect solution for an Intranet Website using Joomla. What you need (only use the following versions) : A fresh copy of Joomla http…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question