System Message Container

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Wed Nov 07, 2012 6:44 pm
Reply with quote
Report this post
I've turned off the modal for 'add to cart' and it seems the system message container now appears on the very top of the template. Example, when I add a product to the cart, the next page displays "Product successfully added" in a div at the top of the page.

My questions is. I'd like to move this just above the main content area so its more visible. Is that possible? and how?

Thanks
User avatar
Fresh Boarder

GK User
Thu Nov 08, 2012 8:34 am
Reply with quote
Report this post
Please open file layouts/default.php and find this code :

Code: Select all
<?php if(count($app->getMessageQueue())) : ?>
   <jdoc:include type="message" />
   <?php endif; ?>


then cut this part and paste inside gkContent container (line 139) :

from :
Code: Select all
<section id="gkContent">
             <div>   


to :

Code: Select all
<section id="gkContent">
             <div>
<?php if(count($app->getMessageQueue())) : ?>
   <jdoc:include type="message" />
   <?php endif; ?>
User avatar
Platinum Boarder

GK User
Thu Nov 08, 2012 3:54 pm
Reply with quote
Report this post
That worked! Thanks for the quick response!
User avatar
Fresh Boarder


cron