0
Welcome Guest! Login
0 items Join Now

Gantry Uninstallation and SEF Urls Problems

    • cyninga's Avatar
    • cyninga
    • Newbie
    • Posts: 9
    • Thanks: 0

    Gantry Uninstallation and SEF Urls Problems

    Posted 14 years 2 months ago
    • Hello,
      I had used a RT template for a client with Gantry framework, the client wanted to go with another template, I installed the new template and made it default. I then uninstalled the RT template, and Gantry. When I try and turn on the SEF Urls in either Joomla or SHF404 and the new template does not render properly, only on the home page. Is there something else I need to do to uninstall Gantry? I read and followed the directions for uninstall, and nothing works. I currently have it showing properly, I will be glad to send the details in a PM so someone can take a look.

      Thanks for any help you can give me, I really do not want to uninstall Joomla and redesign this whole site.

      Thanks for any help you can provide!
    • JEM's Avatar
    • JEM
    • Preeminent Rocketeer
    • Posts: 17917
    • Thanks: 4

    Re: Gantry Uninstallation and SEF Urls Problems

    Posted 14 years 2 months ago
    • Uninstalling a template of Gantry should have no effect on your site.

      Make sure SEF is configured properly.

      Basic Core SEF:

      If joomla is in the root; htdocs, or public_html...

      In Global Configurations, Search Engine Friendly URLs Yes, Use Apache mod_rewrite Yes, Add suffix to URLs No.

      Change htaccess.txt to .htaccess.

      If it’s in a folder, you need to change the # RewriteBase / to reflect the path of your site.

      Change:

      # RewriteBase /

      to:

      RewriteBase /(the name of the folder joomla is in)

      If that doesn't work, search or post here:

      forum.joomla.org/viewforum.php?f=544

      If you are using a 3rd part component, contact the developer.
    • Thanks,
      jim
  • Re: Gantry Uninstallation and SEF Urls Problems

    Posted 13 years 4 months ago
    • I'm not trying to uninstall, but I am having this exact problem.

      I have applied the above fixes and I have posted at that forum. The fixes didn't fix and no one at that forum has replied yet. I'm going nuts with this.

      As soon as I turn on Search Engine Friendly URLs, the sub-templates no longer get applied to the content.

      Can I at least get another hint on where I can go look for a solution?
    • JEM's Avatar
    • JEM
    • Preeminent Rocketeer
    • Posts: 17917
    • Thanks: 4

    Re: Gantry Uninstallation and SEF Urls Problems

    Posted 13 years 4 months ago
    • roadsider wrote:
      I'm not trying to uninstall, but I am having this exact problem.

      I have applied the above fixes and I have posted at that forum. The fixes didn't fix and no one at that forum has replied yet. I'm going nuts with this.

      As soon as I turn on Search Engine Friendly URLs, the sub-templates no longer get applied to the content.

      Can I at least get another hint on where I can go look for a solution?

      A link to your site in this thread?
    • Thanks,
      jim
  • Re: Gantry Uninstallation and SEF Urls Problems

    Posted 13 years 4 months ago
    • Sorry about that.

      Turns out, this was not a Gantry issue at all, but a Joomla bug. I found the solution to my problem at the Joomla Forum at this link:

      forum.joomla.org/viewtopic.php?f=619&t=664605

      Inside root/includes/application.php
      search for this line: public function getTemplate($params = false)

      Inside that function add a single line of code:


      // Get the id of the active menu item
      $menu = $this->getMenu();
      $item = $menu->getActive();
      if (!$item) {
      //added here here the new line by Raluca Manea
      $this->route();
      //END CODE CHANGED added here here the new line by Raluca Manea

      $item = $menu->getItem(JRequest::getInt('Itemid'));
      }

      This is the line added:

      $this->route();

      This worked for me using the standard SEF urls.

Time to create page: 0.066 seconds