By Guest on Tuesday, 22 May 2018
Replies 3
Likes 0
Views 734
Votes 0
Hello,

We have a Joomla site utilizing a calendar generated using the JEvents component. This site was made by a prior developer, and I have been tasked to edit this calendar which contains hardcoded links to the old site URL. We need to update these links to point to the new URL, however I cannot find where these hardcoded links are contained. They appear above the monthly calendar on the page (see screenshot). I'm not sure if you may need access to our site in order to assist further, but I'm mostly looking for recommendations on where I might try looking inside the various template files, as I have tried on my own and cannot find where these hardcoded links were set.

Thanks,

-Sunny
Hello Sunny,

Those links are automatically generated of your sites domain and are not hardcoded in anyway...

If you think they are, check you do not have any com_jevents folder in:

/templates/your_template/html/

Many thanks
Tony
·
Monday, 04 June 2018 22:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Tony,

I appreciate the help.

I checked the templates folders of the theme but did not find anything related to com_jevents.

The links are being automatically generated, I'm sure, but it is not taking into consideration our new base url which contains the website in a subdirectory. Instead, it is generating the link relative to the root which is causing these issues.

Example:
Link is currently: readysetgoguide.com/calendar-link-path
It should be: readysetgoguide.com/career/calendar-link-path

Any other ideas on where this could be hiding?

Thanks,

-Sunny
·
Monday, 11 June 2018 20:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Sunny,
this is not something we can help you as a free user, but in any case let me point out a couple of things you could try:

- You say the site has a new url inside a folder of your hosting. In that case, did you update Joomla! configuration to reflect the new URL? Check configuration.php file (specially looking for the live_site parameter) and update any reference to the old url there.

- If you didn't move the site to a new folder and just changed the calendar structure int he menu. Please check other references of JEvents in your menus to find if there is a missing menu item there which is making the url to miss the careers part.

Best!!
·
Tuesday, 12 June 2018 10:53
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post