If you do not wish to have a search bar within your social engine, you can follow this guide to remove it.
Find the following file: Learn More
Please enter a question
Was this search helpful?
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