Jump to content

[Resolved] Language flag and Favicon.ico


Cyberart

Recommended Posts

I see your favicon and the language flags on FireFox. I am not sure what you mean by "Supplement and correct the entries follow the link to us"

Dear Dirty Butter,

Thank you for your interest in my problem.

The problem is the flag for Chinese and Vietnamese do not show that use of the German flag. Admin is still present in the correct flag.
I would like to add and edit icons link to pages that when there is a change. such as links to LinkedIn, and Youtube unusable.

Best regards.

Link to comment
Share on other sites

"the flag for Chinese and Vietnamese do not show"

The Foundation skin does not accommodate the flags of any language other than the standard German (DE), Spanish (ES), French (FR), Great Britain (GB), Hebrew (IL), Netherlands (NL), United States (US), Turkey (TR), or Dutch (DK).

To add any other installed language's flag, that will involve:

* using an image editor to add the 16x11 pixel image of the desired flag(s) to the bottom of the image at /skins/foundation/images/sprite_flags.png.
* editing the file /skins/foundation/css/cubecart.css, near line 201:

span.flag.flag-DE {background-position: 0 0}
span.flag.flag-ES {background-position: 0 -11px}
span.flag.flag-FR {background-position: 0 -22px}
span.flag.flag-GB {background-position: 0 -33px}
span.flag.flag-IL {background-position: 0 -44px}
span.flag.flag-NL {background-position: 0 -55px}
span.flag.flag-US {background-position: 0 -66px}
span.flag.flag-TR {background-position: 0 -77px}
span.flag.flag-DK {background-position: 0 -88px}

Add After:
span.flag.flag-CN {background-position: 0 -99px}
span.flag.flag-VN {background-position: 0 -110px}
span.flag.flag-VX {background-position: 0 -121px}

The admin skin does not use a "sprite" image.

I know that VN is the correct ISO-Code for Vietnam, but there is nothing about Tiếng Nga (VX). So, you may have to duplicate the VN flag on the sprite.

sprite_flags_1.thumb.png.101ae6be334bf33

Link to comment
Share on other sites

Dear  bsmither,

Thank you very much.

I already know how to solve the displayed flag.  The remaining problem is I need help are:

1, I would like to add and edit icons link to pages that when there is a change. such as links to LinkedIn, and Youtube unusable.

2. when I replace the image in the slide above document, there is the issue of the proportion of non-sealed image frame and the image viewed on the phone horizontally distorted.

Best regards.

Link to comment
Share on other sites

1. I cannot comprehend what it is you are asking to do.

2. The images for the BXSlider (the slider, part of the Homepage Document) should display at the appropriate size automatically. The CSS says to use max-width:100% and height:auto.

Link to comment
Share on other sites

When you were editing the Homepage Document, perhaps you inserted the images using the "Image" tool of the editor. Doing so will also add height and width properties to the image attribute "style". That is, here is what the HTML is:

Line wrapped for clarity:
<li style="
  float: left; 
  list-style: outside none none; 
  position: relative; 
  width: 433px;" aria-hidden="false">
    <img title="Union diplomats to Bac Giang province"
         style="
           width: 688px;
           height: 296px;"
         src="/images/source/LycheeVN_01c.JPG">
    <div class="bx-caption"><span>Union diplomats to Bac Giang province</span></div>
</li>

Please go back to the Homepage Document in the editor, select all the images, and change their properties to have no height or width specified.

Link to comment
Share on other sites

Thanks for the instructions I have done something.
I apologize for my English is not good for you to understand.
1. I do not know how to change icons and links in Section Follow us; because even a link of Cuberart at LinkedIn and YouTube failed. You can check it.
2. I want to have the items NEWS product introduction page as normal website pages.
Look forward to your guidance.
Best regards.

Link to comment
Share on other sites

1. In admin, Store Settings, General tab, at the bottom is a series of text fields where you enter either your social account username or a complete URL to that account.

In the file /classes/gui.class.php, near line 1299, the function _displaySocial() uses the values entered on the admin page to show the social icons and links. For the icon itself, you will need to look at the Font Awesome chart.

Using the same programming pattern, you can add more social icons (or use a hook). In the admin template, settings.index.php, near line 44, you can add matching text fields for any new social links.

To have a social link not be displayed, do not enter anything in the corresponding text field.

2. Please try again to explain what you want to do. What is "items NEWS product introduction page"?

Link to comment
Share on other sites

Very interesting to investigate and practice change with the development team CuberCart
1. I want to have some introduction to the product or group of products synthesized from the writings of other Web sites, such as news items to aggregate may link to sites other presentations of CuberCart. For the purpose of the page is not too long as the customer chooses.
2. In some skins with zoom function when the image and link for phone ... not found in the base of the CC 6.
Thank you for your interest.
Best regards.

Link to comment
Share on other sites

1. "synthesized from the writings of other Web sites"

To use content from other websites without permission, or small amounts of content without attribution, is to fail at copyright. But any of these mods may provide you with a solution (if I understand your needs correctly):

https://www.semperfiwebservices.com/quotations-cc6.html
https://www.semperfiwebservices.com/site-news-cc6.html
http://www.modsindex.com/cubecart-mods/cubecart-5/cubecart-5-6-latest-news-mod/prod_17.html

2. The mouse-over "zoom function" in the latest versions of CC5/6 have been replaced with a "ColorBox" effect. Click on the image and that image will show floating above the content of the web page.

Link to comment
Share on other sites

The page you are given too complex. I just wanted to have a way to supplement the pages like About Us, but something like this can create index pages are many other pages link to each other to introduce the product or product group. For a long pages would be too hard for the reader and will load slowly.

Edited by Cyberart
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...