Our Joomla 3 site successfully used this code inside a module using RegularLabs 'Sourcerer' plugin shortcode to retrieve a value from the URL. It appears to be failing for Joomla 4. Does the following code, placed inside a Module seem incorrect for Joomla 4?
If not, what's the best PHP code for retrieving a URL parameter string value in Joomla 4?
Thanks,
Geoff
Code:
{source}<?php $ucg_coverimage = JRequest::getVar('CoverImage'); echo $ucg_coverimage;?>{/source}
Thanks,
Geoff
Statistics: Posted by gmrob — Wed Jul 03, 2024 4:08 am