Jump to content

Joomla: How to Display Content Based on URL? How to Add Custom PHP Tags in URL?


jbenes

Recommended Posts

Hi all. I have had my share of time with Joomla, however this time I have really hit a wall. I want to display something based only on URL, more specifically, I want to display it on the home page only. I have done research online and I have found that if there are any identifiers in the URL then I can use those to affect what content is displayed.

 

The problem is when someone visits www.mapesaltillotile.com, there are no variables in the URL and I only want the image changer to display on the home page. I need a way to either automatically add an identifier or some get the URL and use that.

 

Is this possible?

Link to comment
Share on other sites

anything is possible.

You could add custom code to your modules, or your template. Or use a component named Jumi which allows you add php and javascript within articles and modules without them being sanitized. Have  a look in Jumi, it's great. (keep in mind though don't allow normal or registered users to use this or your website is brought to ground within the day.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.