External url link malfunctioning

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
Tue Feb 04, 2014 1:14 am
Reply with quote
Report this post
Hello,
I need to have the same main menu in all the pages of the site, meaning that I have a onepage-style homepage where the contents are displayed in #gkBottom1, #gkBottom1-2, ecc. position and reachable through the main menu always on top with external url #gkBottom1, ecc. accordingly.
Some of the contents have links to cul-de-sac pages that need to have the same main menu on the top. Of course now the relative path of the external url #gkBottom1 (for example) leads nowhere.
Therefore I set the absolute path to the position (exactly as an anchor): http://www.mysite.com/index.php#gkBottom1.

What happens is that, while perfectly working inside the homepage

image-1.jpg


the absolute url of the menu have a weird behaviour when coming from an external page, taking the user to the home page in a point many pixels before the beginning of the module.

image-2.jpg


Any suggestions on how to solve this problem?

Thank you very much

Matteo
User avatar
Senior Boarder

GK User
Tue Feb 04, 2014 7:44 am
Reply with quote
Report this post
Is your theme up to date?
Could You please post an url to your site?
User avatar
Moderator

GK User
Thu Feb 06, 2014 12:46 am
Reply with quote
Report this post
Hello Cyberek,
yes, I guess it is...
...you can check online on europeisanarchipelago.com (surf the italian version, 'cause the english one's empty).

Thank you

M
User avatar
Senior Boarder

GK User
Sat Feb 08, 2014 8:24 am
Reply with quote
Report this post
Is there a typo in your site url?
User avatar
Moderator

GK User
Mon Feb 10, 2014 11:29 am
Reply with quote
Report this post
Sorry,
but I don't understand...
:(

I don't know what a "typo in the url" is.

My homepage's url is www.europeisarchipelago.com and the internal url are the one that creativity gave me.

Thank you

Matteo
User avatar
Senior Boarder

GK User
Tue Feb 11, 2014 11:00 am
Reply with quote
Report this post
Link doesn't work:
"Oops! Google Chrome could not find www.europeisarchipelago.com"
User avatar
Moderator

GK User
Wed Feb 12, 2014 10:29 am
Reply with quote
Report this post
User avatar
Senior Boarder

GK User
Thu Feb 13, 2014 5:40 pm
Reply with quote
Report this post
The problem lies in elements above. When you load your site, element with class 'gk-jscounter' has less height, so when page scrolls to selected id (#) it shows fine. Then after a timeout 'gk-jsconnter' changes its height pushing content down. It can be seen ig rou reload the page with cache cleared.
The only idea that comes to my mind is to use override.css to push the element to its final height right from the start.
Please edit: /templates/gk_creativity/css/override.css and add at its end:
Code: Select all
.gk-jscounter {
    height: 292px;
}

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

GK User
Fri Feb 14, 2014 8:14 am
Reply with quote
Report this post
Brilliant! I would have never get to it! Thank you very much.

Only problem (that I could easily live with) is that coming "back" from an external page the top menu and logo do not appear until I scroll the page (same behaviour of the rest of the images, gk4 news, ecc. on the page to save time in download).
There's a way to override this function at least for the "topbar" of logo and menu, to have it always on top and avoid the downloading delay in this particular case?
If not, well...I'll handle it ;)

Thank you again

Matteo
User avatar
Senior Boarder

GK User
Fri Feb 14, 2014 9:54 am
Reply with quote
Report this post
Afaik if your template is up to date it should fix this problem.
User avatar
Moderator

GK User
Mon Feb 17, 2014 5:49 pm
Reply with quote
Report this post
Ok...now a newbie question...how can I check if the template is up-to-date?

Matteo
User avatar
Senior Boarder

GK User
Mon Feb 17, 2014 6:52 pm
Reply with quote
Report this post
The easiest would be just do download newest version from our site and replace the template folder (backup old files in first place).
User avatar
Moderator

GK User
Fri Feb 21, 2014 10:59 pm
Reply with quote
Report this post
Thank you very much Cyberek.
I'll finish the development of the website with this version, then I'll backup everything and at the end I'll try the update.

Thank again

Matteo
User avatar
Senior Boarder

GK User
Thu Mar 06, 2014 12:06 am
Reply with quote
Report this post
Dear Cyberek (and whoever is keen to help),
I'm having again a similar issue on the same site.

The problem comes out in the new language I added. This is what I did:

1 - I duplicated the italian menu to the english language and changed all the relative setting (language, /en/ instead of /it/ in the external url, ecc.)
2 - I duplicated the template with the settings I used for the italian and assigned it to the english menu
3 - I started duplicating modules and articles to have the english version of my site.

The very beginning was not working properly :(

Just click "Enter" on the intro button on europeisanarchipelago.com/en/ and see what I mean...

Then, the module that I'm adding in bottom1 position, instead of "stacking" one on the top of the other (as they perfectly do in the italian version) they stand side by side with no apparent reason and the position itself is not occupying the whole width of the page (thing that works perfectly on the italian version).

Looking at the code I've found a piece of difference:

Code: Select all
...
<div id="gkBottom1">
[b]<div class="gkPage">[/b]
<div class="gkCols6">
<div id="gkBottom1-1" class="box bigtitle gkmod-2">
<h3 class="header">
<div class="content">
...


The bold part is something that the english version has and the italian version has not.

May you help again?

Thank you very much

Matteo
User avatar
Senior Boarder

GK User
Thu Mar 06, 2014 7:37 am
Reply with quote
Report this post
Please create this question as a separate forum thread.
User avatar
Moderator

GK User
Thu Mar 06, 2014 12:44 pm
Reply with quote
Report this post
I did it.

Here's the link to the topic:

https://www.gavick.com/forums/creativit ... 33918.html
User avatar
Senior Boarder

GK User
Fri Mar 07, 2014 8:10 am
Reply with quote
Report this post
Ok - thanks. This way you will be answered faster - with every new question not related directly to previous topic question - feel free to post new forum threads.
User avatar
Moderator


cron