Is it actually possible to have different external links on each instance of Top Horizontal Menu depending on the current language selected?
So, for example, when the user is viewing the site in english the external link label will say "Home" and link to xxxxxx.com/en.html and when they are viewing the site in spanish the label will say "Inicio" and take them to xxxxxx.com/es.html?
The idea being that prestashop is installed on a subdomain of a larger multilingual site which has other non shop content and once the users are in the shop but might choose to navigate back to the non shop site.
This is easily done in Joomla or Wordpress, but I cannot find a way to do it in prestashop. Regardless of which language I encode into the Top Horizontal Menu only one label (and it`s link) shows up on all the different languages.
There doesn't seem to be a way to have various links and associate them. Maybe I'm missing something here. Any help would be appreciated .
I don't understand your question as it is already available in Blocktopmenu configuration.
When you create a new link you can enter a name and a url per language, and in database it's saved independently:
|----------------------------------------------------|
| TABLE ps_linksmenutop_lang |
|----------------------------------------------------|
|id_linksmenutop|id_lang|id_shop|label |link |
|----------------------------------------------------|
| 2 | 1 | 1 | tutu | tutu.en |
| 2 | 2 | 1 | test | test.fr |
|----------------------------------------------------|
So when you visit the site in French language you will get a link to test.fr and when you visit the site in English you will get a link to tutu.en.
If it doesn't work for you, please add more informations to your question.
Related
I would like to use Google to search for certain platforms. The platform I want to search for today is Big Commerce. I just want a list of websites that are using Big Commerce.
I have found a common ground between bigcommerce sites. Most if not all use Bigcommerce for the nameservers. They also have this script in their head tags http://cdn2.bigcommerce.com
I have searched for "http://cdn2.bigcommerce.com" but don't get many bigcommerce sites. How can set a search query within google to find sites that use Bigcommerce for nameservers or have http://cdn2.bigcommerce.com within their head tags?
Experiment with search queries such as:
inurl:http://cdn2.bigcommerce.com
inanchor:http://cdn2.bigcommerce.com
fashion inurl:http://cdn2.bigcommerce.com
Can combine inurl: or inanchor:, e.g.,
inurl:http://cdn2.bigcommerce.com OR inanchor:http://cdn2.bigcommerce.com
inurl:http://cdn2.bigcommerce.com | inurl:http://cdn.bigcommerce.com
where OR and | are synonymous for search for either this or that and can be contained within parentheses if your queries get really complicated, e.g., (this OR that) ("dog house*" | catbird")
I've recently created a site but have run into a problem with the navigation bar. My problem is I want to be able to filter out displaying links.
This is because part of my site makes use of books. As part of the site allows the user a choice of 4 links which link to 4 different books and they can progress through those books as you would expect.
Currently, a link to each page is shown at the bottom of the page. What I would like to do is filter these links so it only shows rel event links to a user, e.g. if they are on book1 it shouldn't show links to book 2 and 3 and their children pages as it currently does.
Any ideas?
I think you have used the Menu module to create the links. If you use Book module ( which is in core you need to just enable it). It will help you create hierarchical menu as in your requirement. The menu created by book module looks like the one on this page ( the relevant navigation menu ).
Update:
book navigation creates its own menu on the relevant book pages. And it is context sensitive. As you can see from the above example, depending on the page you are viewing, it displays sibling menu ( i.e. pages that are on the same level as the current one ). And also next and previous buttons along with go one level up links.
I suggest in your main menu you create only entries to reach to the Book. For example let you have three books, Book1, Book2 and Book3.
In your main menu create three entries pointing towards these three book. ( Delete all the entries coming from pages in book.)
After that enable book module in core and use the book module to manage the content type used to create book pages. Design your hierarchy using book modules menu system for book pages.
Again this link gives you an excellent documentation regarding using menu system for book.
PS: The method i described is easier than using other method like context and views to create the same functionality that book module provides out of the box.
We are creating the variation structure for a multilingual 2010 site. We would like our navigation to be based upon the site/subsite structure of the site collection. The problem is that the out-of-the-box SharePoint navigation creates links from the site name, which happens to be localized to the source site. We are ok with the URL's having the source site's name in it, we just want the navigation to use localized texts.
I know that a work-around is to turn off site-based navigation on the target site and do it manually, but this will become cumbersome as we anticipate having a few hundred subsites.
An example of what we would like our navigation to look like:
EN-US (English Source Site)
Link in Navigation | URL
Home | www.consoso.com/en-us/Pages/default.aspx
Work | www.consoso.com/en-us/Work/Pages/default.aspx
de-DE (German target site)
Link in Navigation | URL
Heim | www.consoso.com/de-de/Pages/default.aspx
Arbeit | www.consoso.com/de-de/Work/Pages/default.aspx
I think you don't have that much options. For each web, you need to enable the multilanguage option; it doesn't seem like this is inherited. Any changes made to the subweb's title don't automatically reflect in the navigation of the parent site. I tried like this:
Created an English site and enabled Dutch language on it.
Adapted the site title to postfix EN for English and NL for Dutch.
Created an English subweb, language settings are disabled by default. I called the subweb 'subweb' and verified that it displayed on the navigation of the parent site.
Adapted the site title for the subweb and postfixed it again with 'EN' and 'NL'. These changes don't reflect to the parent web in any way, it still lists 'subweb' for both languages.
If you now edit the navigation links for the parent, you can change the titles for both languages and those translate ok.
So I don't think you have that many options, it's just not there ootb. What could work (and perhaps is the most easiest) is creating a timer job which recursively processes your site collections / webs and recreates the navigation links for all subsites. With a little logic there, you could also discard any other (external) links.
But perhaps you found a good alternative in the meantime? I'm also researching the multilanguage / variation options, so I'm eager to find out :)
I want to copy a whole website (uncopyrighted)'s contents to a Blogspot blog.
Basically if a website has a table of contents like this:
Intro (link)
Chapter 1 (link)
Chapter 2(link)
etc...
How do I make a program so that automatically the links to these articles are posted to my Blogspot blog, and when I click on the links it goes to posts within my blogspot as opposed to the actual link?
So basically I want a program that does this:
When there is a series of links on a website, open link 1, copy & paste on Blogspot (on a new post) open link2, repeat until end of link,
and then create a final post that has links with the same title as the original links, to all the Blogspot posts.
Blogger/Blogspot isn't the best-suited tool for this. Wouldn't it be easier to just mirror the website's content elsewhere?
# Mirror an entire website (-m), convert links (-k), and wait (-w) 2 seconds between requests.
wget -mk -w 2s http://www.example.com/
Still, if you're adamant about it, you could take a look at the Import/Export feature in Blogger.
There is by definition no uncopyrighted content.
If the site you want to copy is using javascript magic then there is no easy general option, otherwise i agree with John to use "wget".
But from your question you should take a basic programming course first and come back in a few months.
I need to add a choice field to sharepoint that has values depending on the current selection.
Example:
if the current selection is Open then the options have to be 'open, and In progress
**Current selection | Possible selections**
Open | Open,In progress
In progress | In progress,To be communicates,rework
Rework | Rework,In Progress
...
That way i am forcing the user to follow some specific flow
I think you won't get this field behavior out of the box but you can archive this by implementing your own CustomFieldType.
Just take a look a this:[ www.sharepointsnippets.com/post/2009/01/Cascading-Dropdown---Configuration.aspx ] You need not download any third party software. Otherwise, just google SharePoint Cascaded/cascading lookupthere are lot of such commercial tools.
Hope this snippet works!
You can achieve this sort of behavior by editing your list's EditForm.aspx page and adding some JavaScript to the page.
Although I can't seem to find any examples for making dependant drop downs, there are a couple examples of modifying the EditForm to hide fields or make them readonly:
Making a field read-only
Hiding an entire row on the edit-form
So these are 2 columns out of which one filters the other?
Sounds like a cascading drop down list, there are a few (commercial) solutions out there.
See
http://cascddlistwithfilter.codeplex.com
for a free one.