Thanks for your response. I just remembered you've solved this type of issue before.
There was a time last year when I needed such assistance and you gave a code to put in the content.php file and it worked. But I tried it now and it didn't work. The link is below:
https://www.shape5.com/component/option,com_smf/Itemid,75/topic,43306.msg176765/#msg176765Secondly, what did you use on your own demo page.
Thank you.