How to replace language UniqueSeoCode from url - nopcommerce

How to replace language UniqueSeoCode from url.
I need to manage language UniqueSeoCode from plugin. how to replace from plugin. if user selection any language from website but i need to redirect to only one language then how to do this ?
I try to do this from action filter based on CommonController of public website and then from this action filter i redirect to specific url. is this proper way or if you have any another proper way let me suggest please.
I need to redirect to customer to spefic language when customer directly open website(e.g. www.google.com) at the time in url does not contain any language so at this time i need to use my specif language.
now how to check that url contain language seocode or not.
if i use actionfilter on commonController at that time i always get language code? how to manage ?

UniqueSeoCode in url is not needed. NopCommerce can detect visitor browser language and browse website in this language. You can enable this option like below.
To configure localization settings go to Configuration → Settings → General settings
Tick the checkbox Automatically detect language for detecting language based on customer browser settings.

Related

Change wordpress front language at the same time as admin according to user profile

It is possible now to define a language in Wordpress for each user in his profile. The problem is that only the admin side (dashboard) is concerned and not the front.
I would like to change both front and back language of each user when I choose the language is his profile (like it is implemented when we go to "settings" - "general" - "choose site language", the language is changed for both sides but for default configuration, not for a specific user).
If you have any idea,
Thanks.
The WPML plugin allows you to do this.
Within Users => Your Profile, the WPML language settings will allow each user to choose their own language preference.
Thanks.

User not able to post iframes in joomla article

I am not able to add iframes to an article as a limited user.
As a super user, I am able to do so because I allowed it in the JCE editor settings. There is an option for user profiles there, so I edited the default one and gave permission to every user. Still when I login as a user with limited rights (no admin rights and no superuser rights) it refuses to save the iframe.
What am I doing wrong?
I am use JCE in Joomla 3.5.1.
You missed this steps set Filter Type to No Filtering in Joomla! Global Configuration, Text Filters tab
Configure Joomla! Article filters
By default Joomla! 'cleans' content on saving, removing script tags, event attributes (such as onclick, onmouseover etc.) and style tags.
A simple article parameter change is all that is required to fix this.
Joomla! 2.5 and Joomla! 3
In the Joomla! Global Configuration, click on the Text Filters tab.
For the Super Users group, or any other trusted user group, set Filter Type to No Filtering. Make sure that you only set this option for user groups that can be trusted as setting the Filter Type to No Filtering will essentially allow the user to include any html in an article.
Reference https://www.joomlacontenteditor.net/support/faq/item/iframe-removed-on-saving
Joomla! 2.5 and Joomla! 3
In the Joomla! Global Configuration, click on the Text Filters tab.
For the Super Users group, or any other trusted user group, set
Filter Type to No Filtering. Make sure that you only set this option
for user groups that can be trusted as setting the Filter Type to No
Filtering will essentially allow the user to include any html in an
article.
Please refer this url
https://www.joomlacontenteditor.net/support/faq/item/iframe-removed-on-saving
Also, in case there is still trouble with this after trying the above solution, make sure that the embed code's URL is set to whatever the site's SSL setting is.
For instance, if the site is set to Force SSL in the configuration.php document in the root folder and your site is https as a result, the URL of the embed code needs to also be https. Browsers such as Firefox will block the iframe if the URL is http.
For what it's worth. Cheers!

Is it possible to change web store url in ccavenue?

I am trying to implement ccavenue payment gateway in my php site.
I need to change webstore url in ccavenue dashboard.
How can i change webstore url?
You may change and set the Web store name as often as you like. However your website URL cannot be changed. In case you wish to change the URL kindly mark an email to compliance#ccavenue.com. This is in accordance to the documentation given on the link here

Drupal multi-language redirection

I am developing a Drupal 7 site with multi-language, using only locales module. Two questions.
1.I made a custom "forgot my password" page, accessible through http://example.com/fr/user/password for french. Once I enter my email and click the button, it get redirected to /user, loosing the language on the way.
I wrote my own submit handler and redirect to another page without much success. It looks like on the submit, the form is rebuild, without the language in the url, and from that point on, everything is happening in the default language. How can I keep the language reference ?
2.Drupal core messages are not translated, like "Further instructions have been sent to your e-mail address.", even if its under the t().
Any help would be appreciated.
Thanks.
Losing the language may be because of how you have your detection set up. Language detection settings are at 'admin/config/regional/language/configure'. But it may also be because you are redirecting to the wrong language? How are you getting the url to redirect to?
You should use the l() function or url() function as I think these will respect the current language and give you the correct url.
You should be able to translate messages on the translate interface at: admin/config/regional/translate/translate

Drupal path alias not found

Got a Drupal6 install, and I'm using a webform to collect some data. The webform has a path alias set on the edit page as 'contact_us'. The issue that I can't figure out (and hard to reproduce) is from time to time, some users end up on the page 'node/'. Seems like that is a possible failure trying to find the alias or system path.
Any one seen this before? Any suggestions on some places to look or to why this is happening?
Do you have a module like path_redirect installed? Check to see that there is nothing trying to forward contact_us to node/.
Also, check that users have correct permission to access the form.
Also, 'domain.com/node' is the default homepage of Drupal. Are they submitting the form and being sent back to the homepage?
In a site where more than one language are enabled, in some circumstances Drupal doesn't find the correct URL alias for the language currently set for the user, and returns the Drupal canonical URL instead.
You didn't report if the Drupal site is multilanguage, and if there is an alias for that URL also in another language; I cannot suggest more possibilities without knowing that.

Resources