Problems with multi language and main page

GK User
Tue Jan 27, 2015 9:56 am
Hello Dear Gavick Team,

I have download and successful installed Photo Template for Joomla 3.3.6

But i need to use multi language site and after adding new type of menu im getting some trouble.

http://arkanlogistik.lv/index.php/en/

1. In English Language (original your package) it is all ok
2. When i switch to Russian or Latvian i am not seeing any Menu (Home, About, Contacts) in those lang witch is set at that moment
3. Home is set like * Show favorites material* and in English at the main page i see ONLY Image Show module, but in other lang i see Image show and then goes Favorite material :)
4. Where i can place my language flags ? Position *Lang* is working a little bit not likely

image with 25% in Chrome . I made that for you, that you can see how i see it.

http://www.arkanlogistik.lv/GK/1.JPG
http://www.arkanlogistik.lv/GK/2.JPG
http://www.arkanlogistik.lv/GK/4.JPG
http://www.arkanlogistik.lv/GK/5.JPG

P.S For access please write me in PM


Thanks a lot :)
User avatar
Fresh Boarder

teitbite
Wed Jan 28, 2015 5:09 pm
Hi

Please take a look at those articles. It should answer Your questions:

https://www.gavick.com/documentation/un ... joomla-1-7

https://www.gavick.com/documentation/jo ... e-switcher
User avatar
Moderator

GK User
Thu Jan 29, 2015 10:10 pm
Hello,

Thank you for you quick response,

I read article about *How to create a multilingual site in Joomla 2.5* and now i see the menu items. Many thanks

But i have still two problems.

1. I cant put my lang flags near social icon as you write in Article *Module position for language switcher*. I turn on CSS override and add Custom CSS code like:
#gkSocial div.custom {float: left;}
div.mod-languages {float: left; }°
And also trying to change it with some variations. Nothing helps. Maybe you can give me a link where i can read, how completely remove any social icons and social text, and than i can place there my flags :)

2. I have still the problem with main page at 2nd and 3rd language. In the main lang it is all ok. I see only Image Show GK at the main page. But when i switch to some other lang, i see Image Show GK first anfd then if i scrolldown i will see and Favaroties article, because Home page is set to be show Fav. Articles. But why is is not show in Main ENG ?

Thanks a lot !
User avatar
Fresh Boarder

teitbite
Fri Jan 30, 2015 8:58 pm
Hi

1. Please show me Your site so I'll see waht css code is missing. I know the url, but will need an access since it's offline.

2. Frontpage for English was the old frontpage as I guess. Now You need to copy the page class suffix You had for English to rest f frontpages for other languages. Here is an article explaining how to use page class suffix: https://www.gavick.com/documentation/un ... omla-pages
User avatar
Moderator

GK User
Fri Jan 30, 2015 10:27 pm
but will need an access since it's offline.


It was sent you in PM
User avatar
Fresh Boarder

teitbite
Sun Feb 01, 2015 8:56 pm
Hi

I've added page class suffixes to remaining frontpages. Look at the screenshot.

I've also added this code to css override:

Code: Select all
#gk-social p {
    height: 45px;
    margin: 15px 0 0;
}
User avatar
Moderator

GK User
Mon Feb 02, 2015 3:02 pm
Hi,

Thanks a lot about changing first page.

Now about Langauge bar. I see that it still stays under Social Bar. Can it be added right to the Social ? Like you did it at the GK News ?

When i click About page or contacts, i see that Lang bar under social, but when i scrool down, my Lang bar goes to the main page at the end, is it normal ? it happens because when i scroll to the end of page my bar where now is Lang and social and logo, became smallest and there are no place to the langauge.
User avatar
Fresh Boarder

GK User
Tue Feb 03, 2015 10:22 am
And i will be very proud if you say me how to *hide* header module in some page ? Like you made it in /features/module-variations there are no header with Image-show.
User avatar
Fresh Boarder

GK User
Tue Feb 03, 2015 10:49 am
I have also trying go to Image Show GK4 --> Basic --> then add new name for Module suffix like *gk_photo* and from template manager trying to add Suffixes for pages like *no_gk_photo* for ID page XXX. But nothing happens

Where i can find all *Suffixes for pages* that supports ?

I see that in some pages the header is only for half page. Like in /features/template-features

Thanks a lot
User avatar
Fresh Boarder

teitbite
Thu Feb 05, 2015 6:03 pm
Hi

Please add this to override.css

Code: Select all
#gk-footer {
    position: relative;
    overflow: visible;
}

#gk-lang {
   left: -28px;
    position: absolute;
    top: -31px;
    z-index: 47;
}
User avatar
Moderator

GK User
Thu Feb 05, 2015 6:09 pm
Yes thats great, but in article it still duplicates.

http://arkanlogistik.lv/Capture.JPG
User avatar
Fresh Boarder

teitbite
Fri Feb 06, 2015 8:19 pm
Hi

The one in article is a different module. You just need to unpublish it.
User avatar
Moderator

GK User
Fri Feb 06, 2015 9:26 pm
Okey, thanks.

Thank you. What about the other questions ? Can you hep me ?

1. how to *hide* header module in some page ? Like you made it in /features/module-variations there are no header with Image-show.
2.
User avatar
Fresh Boarder

teitbite
Sun Feb 08, 2015 4:11 pm
Hi

I believe it's only an Image Show module which is being attached to a frontpage but not to any other page. Without a module in this position nothing is shown.
User avatar
Moderator

GK User
Wed Feb 11, 2015 7:57 pm
Hello again,

Maybe i am not correct ask the question.

Please take a look at picture 1. This how i see my page where i uncheck module Image Show. But i still displays.

And look at picture 2 where you can see your template page - /features/module-variations there are no header position.

www.arkanlogistik.lv/1.JPG

www.arkanlogistik.lv/2.JPG
User avatar
Fresh Boarder

teitbite
Fri Feb 13, 2015 9:53 pm
Hi

Header is shown in single article pages. And is also present in our demo: http://localhost/~teitbite/gk_photo_30/ ... le-article You can remove it with this code:

Code: Select all
.single-page > .header {
    display: none;
}
User avatar
Moderator

GK User
Fri Feb 13, 2015 10:00 pm
Thanks,

But if i want to remove in About page not in single article ?

i need to place it in override.css ?
User avatar
Fresh Boarder

teitbite
Sun Feb 15, 2015 12:42 pm
Hi

If You want to remove it only on selected pages than best method will be with page class suffix. Here is an example of how to use it: https://www.gavick.com/documentation/un ... omla-pages

and here the code You should use for this suffix:

Code: Select all
.your_suffix_name .single-page > .header {
    display: none;
}
User avatar
Moderator

GK User
Tue Feb 17, 2015 8:08 pm
Sorry but something i do wrong and i cant understand where. Please help.

I go to Features and than add the rule: Page ID 1139 = no-header

If i correct understand my new pageClassSuffixx is now called no-header and it is only for page with id 1139

Then i Save it and go to Page Source. But there no *no-header* in code. Sure after adding to override.css my code like:

.no-header .single-page > .header {
display: none;
}

Is nothing happaned.
User avatar
Fresh Boarder

teitbite
Thu Feb 19, 2015 12:53 pm
Hi

You had 2 suffixes for the same ID so one was overwriting the other. About the piece of the code than I cannot tell why it's not working. I've added it to the Custom CSS field in template settings and it's working from this place.

Code: Select all
.no-header .single-page > .header {
    display: none;
}
User avatar
Moderator

GK User
Mon Mar 09, 2015 8:36 am
Thanks a lot,

Say me please one more thing. If i want also hide header in the contact page, what i need to do ?

http://www.arkanlogistik.lv/contact-form.JPG
User avatar
Fresh Boarder

teitbite
Tue Mar 10, 2015 8:18 pm
Hi

Please take a look at this article: https://www.gavick.com/documentation/un ... omla-pages
User avatar
Moderator

GK User
Wed Mar 18, 2015 9:42 am
Help me please,

When i work with offline site, all shows ok.

But when i check that the website is online, and go to contacts page i see:

exception 'Exception' with message 'Contact not found' in arkanlogistik.lv/components/com_contact/models/contact.php:327 Stack trace: #0 arkanlogistik.lv/components/com_contact/models/contact.php(252): ContactModelContact->getContactQuery(2) #1 arkanlogistik.lv/libraries/legacy/view/legacy.php(401): ContactModelContact->getItem() #2 arkanlogistik.lv/components/com_contact/views/contact/view.html.php(66): JViewLegacy->get('Item') #3 arkanlogistik.lv/libraries/legacy/controller/legacy.php(690): ContactViewContact->display() #4 arkanlogistik.lv/components/com_contact/controller.php(42): JControllerLegacy->display(true, Array) #5 arkanlogistik.lv/libraries/legacy/controller/legacy.php(728): ContactController->display() #6 arkanlogistik.lv/components/com_contact/contact.php(15): JControllerLegacy->execute(NULL) #7 arkanlogistik.lv/libraries/cms/component/helper.php(380): require_once('/home/buzzylv/p...') #8 arkanlogistik.lv/libraries/cms/component/helper.php(360): JComponentHelper::executeComponent('/home/buzzylv/p...') #9 arkanlogistik.lv/libraries/cms/application/site.php(191): JComponentHelper::renderComponent('com_contact') #10 arkanlogistik.lv/libraries/cms/application/site.php(230): JApplicationSite->dispatch() #11 arkanlogistik.lv/libraries/cms/application/cms.php(251): JApplicationSite->doExecute() #12 arkanlogistik.lv/index.php(40): JApplicationCms->execute() #13 {main}
User avatar
Fresh Boarder

teitbite
Fri Mar 20, 2015 8:50 pm
Hi

First try to make the menu item linking to contact again and check. If this will not work than I believe some files got corrupted and You may need to upload it again.
User avatar
Moderator

GK User
Fri Mar 20, 2015 9:01 pm
I see in admin panel that photo template have a new version, how can I update it ? Just download package and upload it ?
User avatar
Fresh Boarder

teitbite
Mon Mar 23, 2015 7:58 pm
Hi

Yes, You can install it over the older version or overwrite files via ftp directly. But as with every update please remember to make a backup first.
User avatar
Moderator


cron