In this video we'll see how to display a Joomla module inside of a Joomla Component. It's a great trick for displaying calls to action, advertising, and pretty much anything else you normally would display in a module position.
Here are the code items used in the examples in this video:
The REGEX code used in the ReReplacer Search box to count 3 "somethings" from the beginning of the generated page:
^((?:.*?something)
{3})
The REGEX code used in the ReReplacer Search box to count "<tr class="cat-list-row1" >" from the beginning of the generated category list articles example:
^((?:.*?<tr class="cat-list-row1" >)
{3})
The sample code in the ReReplacer Replace search box:
\1
<tr>
<td colspan="3">gggggggggggggggggggggggggg</td>
</tr>
\2
The REGEX code used in the ReReplacer Search box to count 8 "</p>" from the beginning of the generated page and only replace if there are 4 more "</p>" remaining (this was used in the God's Penman ad insert example.
^((?:.*?</p>)
{8})((?:.*?</p>)
{4})