#anchors in gk-shortmenu

GK User
Mon Nov 17, 2014 3:26 pm
]Hi,
I'am trying to change the anchor links in gk_steakhouse homepage (joomla 3.3.6) header.
Before I posted this topic I really studied and tried all possible solutions, but did not find where I can change the anchor names (and sites or parts to link to)
Please give me a solution.

[attachment=0]gk-short-menu-anchors.jpg[/attachment
User avatar
Expert Boarder

teitbite
Wed Nov 19, 2014 3:27 pm
Hi

It's in Menu tab:
User avatar
Moderator

GK User
Wed Nov 19, 2014 11:44 pm
ok, i saw that before but was in doubt.

Can you give me a standard example to add a new rule and ID?

I am really new to this but get more and more fascinated by the features those templates offer and learn from case to case.

brilliant support by the way;-)
User avatar
Expert Boarder

GK User
Thu Nov 20, 2014 10:23 pm
MGFM wrote: Can you give me a standard example to add a new rule and ID?


I love this template. It's amazing. I really need to understand how to use the anchors as I want to move things around in the menu on the front page, and maybe even add an additional section (module?). I did find the 'Menu Tab' you mentioned by going to Extensions -> Template Manager -> gk_Steakhouse -> and there's the menu tab with all the stuff about adding IDs and such. Very much hoping for an answer on this. :geek: help ....
User avatar
Fresh Boarder

teitbite
Sun Nov 23, 2014 11:23 am
Hi

I'll try, but there is not much to explain here :)

For example if You have a module in bottom2 module position than such position is wrapped in a layer:

Code: Select all
<div id="bottom2"></div>


this is just an example and not always module position name is the same as the layer ID (but mostly). This can be verified with Firebug.

This id="bottom2" is the ID from the template panel and the url anchor #bottom2. If You will rewrite it in template settings it will be replace with any name of Your choice.
User avatar
Moderator

GK User
Sun Nov 23, 2014 2:26 pm
ok - let me try if I understand you right, please confirm my steps:

In the header module I find a menu with the icons linked to #menu, #restaurant, etc... I can change the names as I assume (and did*)
Under the menu tab I find under Module position 4 options:

bottom 1 - specials
bottom 2 - menu - ec...

behind each rule I can remove it.
So far so good. But as in my version already I changed the names of the menu in the header, also the rules (which I can see in the demo) disappeared.

So as an example:
I make a custom module with the name our_cars at position bottom 2
i put this rule into the menu override "option: bottom2 = our_cars"

and

change the link in the header module to
<ul class="gk-short-menu">
<li data-scroll-reveal="enter bottom over .5s after .25s"><a href="#our_cars"> Our cars</a></li>

Is that right or do i overlook anything

by the way with firebug I find a gk_shortmenu - is that an extra module? I can't see this in my modules?
User avatar
Expert Boarder

GK User
Sun Nov 23, 2014 2:38 pm
and I just tested it in a 'native quickstart version which I run parallel to my own site.
And it does NOT work.

I have added the rule bottom2 - our_cars
And in the header module I add one mor link called Test and is linked to #our_cars

There must be something I overlook?
Here's my url: http://hochzeitautomieten.claire-fisher.net/index.php/en/#our_cars

I am so confused and desperate :-(
User avatar
Expert Boarder

teitbite
Mon Nov 24, 2014 2:17 pm
Hi

Website is offline, please send me an access so I can see it. Please make sure access will allow me to enter joomla admin panel. I'll configure it for You.
User avatar
Moderator

GK User
Fri Nov 28, 2014 7:39 pm
Yes please. Reply because I also have same problem.

Thx
User avatar
Fresh Boarder

teitbite
Fri Nov 28, 2014 10:22 pm
Hi

Unfortunately no access from @MGFM.

@mikidudle please send me access to Your site, so I'll do this on Your site as example.
User avatar
Moderator

GK User
Mon Dec 01, 2014 1:16 pm
teitbite wrote:Hi

Website is offline, please send me an access so I can see it. Please make sure access will allow me to enter joomla admin panel. I'll configure it for You.


Hi,
I just sent you a pm concerning my other post:
"size gk header-especially height"
with access;-)
User avatar
Expert Boarder

teitbite
Wed Dec 03, 2014 9:10 am
Hi

Works for me. There were no "our_car", so I've added it and attached to bottom2. I also had to remove the previous bottom2 override. Here are screens from before and after.

http://hochzeitautomieten.claire-fisher ... /#our_cars
User avatar
Moderator

GK User
Sat Dec 06, 2014 6:17 pm
Hello again - I don't get it and do not know why?
I give you a step by step screenshot of what I do (may be you can see where my mistake is):

1. step: I create a new module (custom HTML) named anchor_test, on position bottom2 (i also tried others), on all pages, public , all languages

2. step: I go to template manager (steakhouse) - enable css override - and add a new rule: bottom2 - anchor_test and save & close

3. step: I go to modules 'header' and change one of the links to:
<li data-scroll-reveal="enter bottom over .5s after .75s"><a href="#anchor_test">Foto &amp; test_module</a></li>
save & close

4. step: I try the function in a new incognito window in order to avoid any cache, I can see the right url but it does not scroll down or go there

5. step: I check the menu and see my rule bottom2 - anchor test disappeared?

I really really really get desperate :(
User avatar
Expert Boarder

teitbite
Mon Dec 08, 2014 4:11 pm
Hi

After entering the "rule bottom2 - anchor_test" in template settings click "Add" and than make sure there are no other rules with "bottom2" than save settings.

I guess this is the only reason that this could not get save.
User avatar
Moderator


cron