MODX getOption() with Snippet Properties

In the previous article, we looked at the various ways that $modx->getOption() can be used. In this one, we’ll look specifically at how it handles snippet properties placed in a snippet tag.

When you place properties in a snippet tag, their names (keys) and values arrive in the snippet in the $scriptProperties array. You can retrieve them directly from the array, but as we saw in the last article, it’s a lot more convenient to get them with $modx->getOption(). When you use getOption(), it helps to understand what it will get you depending on the actual properties sent in the tag. Learn More

Tags: , , , , , , | Posted under MODX, MODX | Leave a comment

Turn Off magic_quotes_gpc for Joomla

Magic Quotes is the process of escaping special characters with a ‘\’ to allow a string to be entered into a database. This is called ‘magic’ because PHP can do this automatically when magic_quotes_gpc is turned on. Joomla 3 specifically requires Magic Quotes to be off before installing it, otherwise you will not be able to install it or face issues with your images. In this article I will give you a step-by-step guide on how to turn off Magic_Quotes_GPC for Joomla. Learn More

Tags: , , , , , , , , , , , , , , , , , , , , | Posted under Joomla | Leave a comment

SEO Data Transporter Simplifies SEO Plugin Migration

Imagine you had installed a WordPress plugin such as Platinum SEO or All-in-One SEO pack and you wish to migrate to a plugin which is updated regularly by the developer. I choose Yoast WordPress SEO plugin for the purpose of this article.

If your blog is established with more than 100 posts, you need to export all the existing meta data listed on the Platinum SEO pack so that the entire structure of your existing blog is preserved. Learn More

Tags: , , , , , , , , , | Posted under cPanel/Linux Hosting, WordPress | Leave a comment