Top menu module

Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Mon Jan 05, 2015 4:20 pm
Reply with quote
Report this post
Hi, I am using your News 2 template and I need top menu. Unfortunately when I cereated it following this directions: https://www.gavick.com/documentation/jo ... e-position, my banner top position went down over the main menu and it looks bad. How can I fix this. I want my logo and banner top position at there places and the top menu position over them.
User avatar
Expert Boarder

GK User
Tue Jan 06, 2015 10:31 am
Reply with quote
Report this post
Could you please post an url to your site?
Could you create a mockup of elements how should they look like?
User avatar
Moderator

GK User
Tue Jan 06, 2015 3:07 pm
Reply with quote
Report this post
This is my website: http://www.zdravduh.com/. I want top menu similar to this one: http://smartmoney.bg/
User avatar
Expert Boarder

GK User
Wed Jan 07, 2015 5:01 pm
Reply with quote
Report this post
Redesigning is beyond our technical support but you can do an easy fix to pul login button back to its place...
Please edit: /templates/gk_news2/css/override.css and add at its end:
Code: Select all
.gkMenu > ul > li > a {
padding: 0px 31px;
}

Remember to enable "CSS override" in template settings - advanced section.
User avatar
Moderator

GK User
Mon Jan 12, 2015 11:00 am
Reply with quote
Report this post
Hi, I am trying to craeate a new module position called top_nav for top menu. I did first two steps in the tutorial : https://www.gavick.com/documentation/jo ... e-position. I added it to templateDetails.xml file and gk.const.php. And it really appeared in my backend. I can choose it. But I have problems with the next step - adding to default.php. Would you help me with that? I don`t know where to put the code. I want top menu above all module positions in the top right corner above the logo. Thank you.
User avatar
Expert Boarder

GK User
Tue Jan 13, 2015 6:06 pm
Reply with quote
Report this post
Could you please post an url to your site?
User avatar
Moderator

GK User
Wed Jan 14, 2015 8:02 am
Reply with quote
Report this post
This is my website: http://www.zdravduh.com/
User avatar
Expert Boarder

GK User
Fri Jan 16, 2015 5:18 pm
Reply with quote
Report this post
Best place would be just after opening gkTopBar element:
Code: Select all
<div id="gkTopBar" data-menu-type="classic" class="active">

Then you would only need to position the element correct way.
User avatar
Moderator

GK User
Sat Jan 17, 2015 12:00 pm
Reply with quote
Report this post
Hi - I put it this way:
Code: Select all
<div id="gkBg" class="gkPage">
      <div id="gkTopBar" data-menu-type="<?php echo $this->API->get('menu_type', 'classic') == 'overlay' ? 'overlay' : 'classic'; ?>"> <?php if($this->API->modules('top_nav')) : ?>
<div class="newstyle">
<jdoc:include type="modules" name="top_nav"
style="<?php echo $this->module_styles['top_nav']; ?>" />
</div>
<?php endif; ?>
          <?php $this->layout->loadBlock('logo'); ?>


But I think I am doing something wrong, cause it does not appear: http://www.zdravduh.com/?tp=1
User avatar
Expert Boarder

GK User
Mon Jan 19, 2015 7:51 am
Reply with quote
Report this post
Have you posted any module inside that position?
User avatar
Moderator

GK User
Mon Jan 19, 2015 9:56 am
Reply with quote
Report this post
Yes, and nothing happens
User avatar
Expert Boarder

GK User
Wed Jan 21, 2015 7:44 am
Reply with quote
Report this post
Could you please post text "Test Module" in this custom html module posted in the newly created module position and write back?
User avatar
Moderator

GK User
Wed Jan 21, 2015 12:29 pm
Reply with quote
Report this post
OK, I created new module called Test module and tezt in it Test module at the top_nav position. I don`t see anything though.
User avatar
Expert Boarder

GK User
Fri Jan 23, 2015 5:12 pm
Reply with quote
Report this post
Are you sure you are editing correct file?
User avatar
Moderator

GK User
Sat Jan 24, 2015 9:20 am
Reply with quote
Report this post
I am adding code to this file - public_html/templates/gk_news2/layouts/default.php.
User avatar
Expert Boarder

GK User
Sat Jan 24, 2015 1:19 pm
Reply with quote
Report this post
Please send me a PM with:
1. URL to your website
2. login and password of user with admin/super-admin privileges (please create one for me)
3. ftp data (host, user, password)
4. link to this thread
User avatar
Moderator

GK User
Wed Jan 28, 2015 9:33 am
Reply with quote
Report this post
Hi, I send you in private message all you wanted 4 days ago. Is this information enough?
User avatar
Expert Boarder

GK User
Fri Jan 30, 2015 1:12 pm
Reply with quote
Report this post
I have received the message but cant connect. Access denied.
User avatar
Moderator

GK User
Fri Jan 30, 2015 1:39 pm
Reply with quote
Report this post
Ohhh, I think the problem is that my website crashed, but know everything is ok. You can try again :) Sorry.
User avatar
Expert Boarder

GK User
Sun Feb 01, 2015 9:11 am
Reply with quote
Report this post
Still:
Code: Select all
Could not connect to server “s8.r1servers.com”.
401 Access Denied

Are you sure there is no kind of ssh/ssl connection required?
User avatar
Moderator

GK User
Sun Feb 01, 2015 9:24 am
Reply with quote
Report this post
Ps. You have provided "panel" access while I need ftp access.
User avatar
Moderator

GK User
Mon Feb 02, 2015 8:20 am
Reply with quote
Report this post
I don`t know how to give you ftp access. I used only Panel and admin. Nothing else.
User avatar
Expert Boarder

GK User
Tue Feb 03, 2015 1:14 pm
Reply with quote
Report this post
Then please contact your hosting company and ask how to get one. Without those I will not be able to help.
User avatar
Moderator

GK User
Tue Feb 03, 2015 3:30 pm
Reply with quote
Report this post
OK
User avatar
Expert Boarder

GK User
Tue Feb 03, 2015 5:19 pm
Reply with quote
Report this post
OK, I sent you via personal message the ftp access.
User avatar
Expert Boarder

GK User
Mon Feb 09, 2015 9:09 am
Reply with quote
Report this post
Forget about it. One of your colegues already helped me without ftp access. I asked him and he helped me right away without any problems. Thanks anyway for the other help :)
User avatar
Expert Boarder

GK User
Tue Feb 10, 2015 9:13 am
Reply with quote
Report this post
Thanks for the info.
User avatar
Moderator


cron