0
Welcome Guest! Login
0 items Join Now

Override Bug Joomla 3.3

  • Override Bug Joomla 3.3

    Posted 10 years 1 month ago
    • Hello @ all,

      I encountered some odd behaivior and thought I let you know.

      I upgraded a J2.5 -> J3.3 with the Momentum Template.
      My Client uses captions quite extensivly and we found out that the normal category view showed them but the article view not.

      Trying to fix it, I modified an override for:
      plugins/system/gantry/overrides/3.3/2.5/com_content/article/default.php

      but the file is not even used - you can write a die("exit") statement without getting any problems at all.

      To add captions I added it under the equivalent of:
      plugins/system/gantry/overrides/3.3/2.5/com_content/article/default_links.php
      defined('_JEXEC') or die;
      
      // Create shortcut
      $urls = json_decode($this->item->urls);
      JHtml::_('behavior.caption');

      Link thats used for the articles is:
      index.php?option=com_content&view=article&id=<artid>

      Maybe someone from the dev-team can look into it - its quite odd for me that the default.php has no effect at all but default_links.php is used.
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: Override Bug Joomla 3.3

    Posted 10 years 1 month ago
    • Did you try doing this from here:

      This image is hidden for guests.
      Please log in or register to see it.
  • Re: Override Bug Joomla 3.3

    Posted 10 years 1 month ago
    • No i did it in the files itself.
      And I tried to do it in the files I showed in my post.
    • Last Edit: 10 years 1 month ago by Solution-Work UG.
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: Override Bug Joomla 3.3

    Posted 10 years 1 month ago
    • Michael Klein wrote:
      No i did it in the files itself.
      And I tried to do it in the files I showed in my post.

      I'm still confused as to why you have to do this? I spent 15 minutes migrating my Momentum25 to Momentum3.3.6 and the captions worked fine.

      This image is hidden for guests.
      Please log in or register to see it.


      This is an article on a Blog page. With SEF Url's turned off this is the link for the article:
          index.php?option=com_content&view=article&id=15:sample-content&catid=11&Itemid=129

      So I clearly meet your criteria of:
          index.php?option=com_content&view=article&id=<artid>

Time to create page: 0.082 seconds