Arrangement of Module Positions

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 Jul 16, 2014 1:03 pm
Reply with quote
Report this post
Hi there,

we added a new module position (efTopRight) to the Shop and Bay template according to Gavick's tutorial.

In templateDetails.xml under <!--Template specific Module Positions --> we added the line:
Code: Select all
<position>efTopRight</position>


In gk.const.php under $GK_TEMPLATE_MODULE_STYLES = array( we added the line:
Code: Select all
'efTopRight' => 'none',


In logo.php between the code for the logo and the cart we added the lines:
Code: Select all
<?php if($this->API->modules('efTopRight')) : ?>
   <div class="newstyle">
   <jdoc:include type="modules" name="efTopRight" style="<?php echo $this->module_styles['efTopRight']; ?>" />
   </div>
<?php endif; ?>


This new module position should be positioned on the top right of our homepage and will contain several graphics (Image Show) to promote special products.

After inserting the new module position, the links for the cart and the topmenu are moved to the left towards the logo defined in the template configuration. We want these links to appear beneath the newly added module position, aligned to the right.

Image

Where can we define this?

Thanks for your help!

Bye...
Andy
User avatar
Fresh Boarder

GK User
Wed Jul 16, 2014 1:11 pm
Reply with quote
Report this post
You need some css'ing also.
Could you please post an url to your site?
User avatar
Moderator

GK User
Wed Jul 16, 2014 1:26 pm
Reply with quote
Report this post
Hi Cyberek,

thanks for your quick reply.

The domain is http://www.forstprofi-24.de/index.php

Bye...
Andy
User avatar
Fresh Boarder

GK User
Thu Jul 17, 2014 8:21 am
Reply with quote
Report this post
First thing - please move your module so it is after gkSearch element in the code.
User avatar
Moderator

GK User
Thu Jul 17, 2014 9:44 am
Reply with quote
Report this post
Hi again,

I did that in template.css, was that right?
User avatar
Fresh Boarder

GK User
Thu Jul 17, 2014 11:11 am
Reply with quote
Report this post
No, you need to do it in default.php file.
User avatar
Moderator

GK User
Thu Jul 17, 2014 12:07 pm
Reply with quote
Report this post
O.K., I removed the code from logo.php and put it into default.php right beneath the code for gksearch.

Looks better now, but still not perfect... ;)
User avatar
Fresh Boarder

GK User
Mon Jul 21, 2014 7:30 am
Reply with quote
Report this post
Now you need to add some css to it, but as I don't know how "perfect" works for you - please provide me a mockup how should it look exactly :).
User avatar
Moderator

GK User
Tue Jul 22, 2014 8:55 am
Reply with quote
Report this post
Hi again,

we know, that "perfect" has a different meaning for everyone. Even my boss and I often disagree in such matters, but the following mockup shows, what my boss wants the header to look like (upper part is a visual example, lower part the desired grid).

Best regards...
Andy

Image
User avatar
Fresh Boarder

GK User
Wed Jul 23, 2014 6:18 pm
Reply with quote
Report this post
From what I see you have changed some stuff since I have seen page last time. The above mockup means completely rearrange and redesign of elements - this kind of changes is beyond our technical support.
User avatar
Moderator


cron