Elxis CMS Forum
Extensions => Components => Topic started by: jorgebravoc on June 27, 2010, 16:17:54
-
Sorry if this counts as a double post but I'm really looking for some tips if anyone could help me
How to set the url to show: www.mysite.com/comments instead of www.mysite.com/com_bubbles when using Bubbles component?
I tried messing up with the code and so far I have been able to tweak some things but I cannot get to define a different url for the component rather than the default /com_bubbles ....
I am afraid that overwritting the name of the folder component will mess up the connections. Maybe this line needs to be altered?
$this->url = $mainframe->getCfg('live_site').'/components/com_bubbles'
<--- from bubbles.php
Anybody out there that might know?
Thanks a lot
-
You have to edit the component's frontend php files, the SEO PRO extension and includes/sef.php file.
Documentation here:
http://wiki.elxis.org/wiki/SEO_PRO_base_names (http://wiki.elxis.org/wiki/SEO_PRO_base_names)
and here:
https://forum.elxis.org/index.php?topic=1378.0 (https://forum.elxis.org/index.php?topic=1378.0)
-
Thanks a lot Datahell ! I will try that.
-
Hi datahell,
could you advise if this is possible with the new Bubbles component - to customize the URL?
-
Ah, I see it's under 'Route' in the component's Basic Settings
-
Yeap. You can re-route any component like that.
-
Great! Do you know where the name 'Bubbles' can be edited, where the component name it appears in the cPanel sidebar menu?
I can't find where to change that in the language files.