0
Welcome Guest! Login
0 items Join Now

Any news on the K2 frontend bug fix?

    • Gene Page's Avatar
    • Gene Page
    • Hero Rocketeer
    • Posts: 289
    • Thanks: 0

    Any news on the K2 frontend bug fix?

    Posted 12 years 3 months ago
    • Kat05's Avatar
    • Kat05
    • Preeminent Rocketeer
    • Posts: 25898
    • Thanks: 334

    Re: Any news on the K2 frontend bug fix?

    Posted 12 years 3 months ago
    • hi gene,

      we are currently working on updates to the following templates:
      leviathan, cerulean, metropolis and graffito.

      there will be styling tweaks for the k2 frontend editor, so that the sidebar does not break out on the right and that the system messages upon saving will be displaying correctly inside the editor popup in both joomla 2.5 and 3.0.

      as there have been some core changes in j3.0.3 and 2.5.9 that are effecting some layouts in all these templates, it will still take a few days before leviathan and cerulean are ready. then it will be metropolis and graffito (i'd estimate all of them next week if everything goes well).

      as i mentioned in your previous threads, me and also another team member was unable to replicate your issue with the buttons not responding every time or any 403 errors. if you have any other major layout or functionality issues with the k2 editor, please posts screenshots here for me with annotations so i can get those checked too.

      thanks, kat :)
    • Kat05 / QA Lead & Support / Germany
    • Gene Page's Avatar
    • Gene Page
    • Hero Rocketeer
    • Posts: 289
    • Thanks: 0

    Re: Any news on the K2 frontend bug fix?

    Posted 12 years 3 months ago
    • Kat05 wrote:
      hi gene,

      we are currently working on updates to the following templates:
      leviathan, cerulean, metropolis and graffito.

      there will be styling tweaks for the k2 frontend editor, so that the sidebar does not break out on the right and that the system messages upon saving will be displaying correctly inside the editor popup in both joomla 2.5 and 3.0.

      as there have been some core changes in j3.0.3 and 2.5.9 that are effecting some layouts in all these templates, it will still take a few days before leviathan and cerulean are ready. then it will be metropolis and graffito (i'd estimate all of them next week if everything goes well).

      as i mentioned in your previous threads, me and also another team member was unable to replicate your issue with the buttons not responding every time or any 403 errors. if you have any other major layout or functionality issues with the k2 editor, please posts screenshots here for me with annotations so i can get those checked too.

      thanks, kat :)

      What about the confirmation message? (EDIT: I missed where you said you were working on this, I see it now, thanks).

      That's the number one issue. Can't you just disable the override so that it uses regular K2 styling without all the bootstrap interference? I just want it to look and function normally, the way it does in my Gavick and JoomlaBamboo templates.

      I might need to post a video instead of screenshots.

      Also, this effects Kirigami as well.
    • Last Edit: 12 years 3 months ago by Gene Page.
    • Show Support for These Requests...

      Automatic K2 Tags for RokSprocket ->
      www.rockettheme.com/forum/index.php?f=16...86380&rb_v=viewtopic

      Option for K2 Video instead of Image for RokSprocket (like JoomlaBamboo's ZenTools) ->...
    • Gene Page's Avatar
    • Gene Page
    • Hero Rocketeer
    • Posts: 289
    • Thanks: 0

    Re: Any news on the K2 frontend bug fix?

    Posted 12 years 3 months ago


    • I took sometime to make this, so please watch all two minutes.

      What I mean about the save button not responding is that if on Graffito if you click Save anywhere but the word, the button depresses making the user think that it has been clicked. But unless the word save has been click, nothing happens...

      This would not be an issue if there was a confirmation message. They would know not to close it until they received the blue bar that says "Item Saved"...

      Please just watch the video.
    • Show Support for These Requests...

      Automatic K2 Tags for RokSprocket ->
      www.rockettheme.com/forum/index.php?f=16...86380&rb_v=viewtopic

      Option for K2 Video instead of Image for RokSprocket (like JoomlaBamboo's ZenTools) ->...
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Any news on the K2 frontend bug fix?

    Posted 12 years 3 months ago
    • Hi Gene,

      can you try the following?

      Open component.php (you find that in the template folder)

      find

      <?php $gantry->displayHead();
      $gantry->addLess('global.less', 'master.css', 8, array('main-accent'=>$gantry->get('main-accent', '#FFEB54')));
      ?>

      and chnage it like this

      <?php $gantry->displayHead(); ?>
      <?php $option = JFactory::getApplication()->input->getString('option') ?>
      <?php if ( $option != 'com_k2' ) : ?>
      <?php $gantry->addLess('global.less', 'master.css', 8, array('main-accent'=>$gantry->get('main-accent', '#FFEB54')));: ?>
      <?php endif; ?>

      [Edit: Gene quickly discovered a bug in my code: there is a ":" too much.
      Please use the code example I posted below]


      I hope this helps ...
    • Gene Page's Avatar
    • Gene Page
    • Hero Rocketeer
    • Posts: 289
    • Thanks: 0

    Re: Any news on the K2 frontend bug fix?

    Posted 12 years 3 months ago
    • Henning wrote:
      Hi Gene,

      can you try the following?

      Open component.php (you find that in the template folder)

      find

      <?php $gantry->displayHead();
      $gantry->addLess('global.less', 'master.css', 8, array('main-accent'=>$gantry->get('main-accent', '#FFEB54')));
      ?>

      and chnage it like this

      <?php $gantry->displayHead(); ?>
      <?php $option = JFactory::getApplication()->input->getString('option') ?>
      <?php if ( $option != 'com_k2' ) : ?>
      <?php $gantry->addLess('global.less', 'master.css', 8, array('main-accent'=>$gantry->get('main-accent', '#FFEB54')));: ?>
      <?php endif; ?>

      I hope this helps ...

      I was really hopeful, unfortunately I got this...

      Parse error: syntax error, unexpected ':' in /home/pacer2/public_html/templates/rt_graffito/component.php on line 29

      I double checked the placement of the code....
      <?php
      /**
      * @version   $Id: component.php 3988 2012-09-30 18:19:18Z kevin $
       * @author RocketTheme http://www.rockettheme.com
       * @copyright Copyright (C) 2007 - 2012 RocketTheme, LLC
       * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
       *
       * Gantry uses the Joomla Framework (http://www.joomla.org), a GNU/GPLv2 content management system
       *
       */
      // no direct access
      defined( '_JEXEC' ) or die( 'Restricted index access' );
       
      // load and inititialize gantry class
      require_once('lib/gantry/gantry.php');
      $gantry->init();
       
      ?>
      <?php if (JRequest::getString('type')=='raw'):?>
          <jdoc:include type="component" />
      <?php else: ?>
          <!doctype html>
          <html xml:lang="<?php echo $gantry->language; ?>" lang="<?php echo $gantry->language;?>" >
              <head>
                  <meta name="viewport" content="width=device-width, initial-scale=1.0"></meta>
      <?php $gantry->displayHead(); ?>
      <?php $option = JFactory::getApplication()->input->getString('option') ?>
      <?php if ( $option != 'com_k2' ) : ?>
      <?php $gantry->addLess('global.less', 'master.css', 8, array('main-accent'=>$gantry->get('main-accent', '#FFEB54')));: ?>
      <?php endif; ?>
              </head>
              <body class="component-body">
                  <div id="rt-main">
                          <div class="rt-block">
                              <div id="rt-mainbody">
                              <div class="component-content">
                                  <jdoc:include type="component" />
                              </div>
                          </div>
                      </div>
                  </div>
              </body>
          </html>
      <?php endif; ?>
      <?php
      $gantry->finalize();
      ?>
       

      Let me know if there's anything else or if I misplaced something.
    • Show Support for These Requests...

      Automatic K2 Tags for RokSprocket ->
      www.rockettheme.com/forum/index.php?f=16...86380&rb_v=viewtopic

      Option for K2 Video instead of Image for RokSprocket (like JoomlaBamboo's ZenTools) ->...
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Any news on the K2 frontend bug fix?

    Posted 12 years 3 months ago
    • ah sorry

      should be ...

      <?php $gantry->addLess('global.less', 'master.css', 8, array('main-accent'=>$gantry->get('main-accent', '#FFEB54'))); ?>
      <?php endif; ?>

      there is a ":" too much :shock:
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Any news on the K2 frontend bug fix?

    Posted 12 years 3 months ago
    • so the correct code in your graffito component.php should be
      (sorry for the typo ... yesterday it was just to late for me and I never really used K2 before)
      <?php
      /**
      * @version   $Id: component.php 3988 2012-09-30 18:19:18Z kevin $
       * @author RocketTheme http://www.rockettheme.com
       * @copyright Copyright (C) 2007 - 2012 RocketTheme, LLC
       * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
       *
       * Gantry uses the Joomla Framework (http://www.joomla.org), a GNU/GPLv2 content management system
       *
       */
      // no direct access
      defined( '_JEXEC' ) or die( 'Restricted index access' );
       
      // load and inititialize gantry class
      require_once('lib/gantry/gantry.php');
      $gantry->init();
       
      ?>
      <?php if (JRequest::getString('type')=='raw'):?>
           <jdoc:include type="component" />
      <?php else: ?>
           <!doctype html>
           <html xml:lang="<?php echo $gantry->language; ?>" lang="<?php echo $gantry->language;?>" >
                <head>
                     <meta name="viewport" content="width=device-width, initial-scale=1.0"></meta>
                     <?php $gantry->displayHead(); ?>
                     <?php $option = JFactory::getApplication()->input->getString('option') ?>
                     <?php if ( $option != 'com_k2' ) : ?>
                     <?php $gantry->addLess('global.less', 'master.css', 8, array('main-accent'=>$gantry->get('main-accent', '#FFEB54'))); ?>
                     <?php endif; ?>
                </head>
                <body class="component-body">
                     <div id="rt-main">
                               <div class="rt-block">
                                    <div id="rt-mainbody">
                                    <div class="component-content">
                                         <jdoc:include type="component" />
                                    </div>
                               </div>
                          </div>
                     </div>
                </body>
           </html>
      <?php endif; ?>
      <?php
      $gantry->finalize();
      ?>
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Any news on the K2 frontend bug fix?

    Posted 12 years 3 months ago
    • I tested that and it worked ...
    • Gene Page's Avatar
    • Gene Page
    • Hero Rocketeer
    • Posts: 289
    • Thanks: 0

    Re: Any news on the K2 frontend bug fix?

    Posted 12 years 3 months ago
    • That is REALLY REALLY close! :cheesy:

      We're down to just one issue. The confirmation message still isn't showing up when someone saves.

      Still, in all the time since this was first reported, you've provided an outstanding amount of progress. Thank you for this!

      Now that the save button works right, it's far less likely that someone will think they've saved when they have not.
    • Show Support for These Requests...

      Automatic K2 Tags for RokSprocket ->
      www.rockettheme.com/forum/index.php?f=16...86380&rb_v=viewtopic

      Option for K2 Video instead of Image for RokSprocket (like JoomlaBamboo's ZenTools) ->...

Time to create page: 0.066 seconds