Default store view opens different store's storeview - magento-1.9

I have multi store magento 1.9 with three stores.
I have third storeview: /en1, when I visit it with domain/en1 it opens correctly.
But when I visit domain/ (without en1), it opens first(different) store's storeview.
In this path System > Configuration > Web > Url Option > Add Store Code to Urls I've turn ON
Any help appreciated

Forget to add default storeview to webserver configuration.
https://support.hypernode.com/knowledgebase/magento-multistore-using-multiple-domains/#Storefronts_Websites_Store_views

Related

WSO2 IS 5.10.0 - Add new language in User Portal Overview

When I log in "user-portal" of WSO2 Identity Server (the url is "https://localhost:9443/user-portal/overview"), I can see four options to change the language (english, portuguese, sinhalese or tamil).
I need to add more options in this section. How can I do this? I can't see a "Resource.properties" inside the folder "/repository/deployment/server/webapps/user-portal" to do something like in the following link https://is.docs.wso2.com/en/latest/develop/localization-support-in-identity-server/#localization-support-in-identity-server.
Thanks in advance.
Gonzalo.
WSO2IS UserPortal is a React-based application and in there what is done is to combine all the configurations in i118 to react config mappings if you want to change anything you need to do it at the code level.
https://github.com/wso2/identity-apps/blob/v1.0.72/apps/user-portal/src/configs/i18n.ts
you can map all the configs to your preferred language and map them to the configurations used in UserPortal by building the package.

Moodle - where are URLs/links stored in database?

I'm exporting an old release 1.9.2 and importing to 3.0.2.
Each module has dozens of videos that I play via an URL/link, which points to my own .PHP program on the site (and that wraps a Camtasia video).
I found that in 3.0.2, the link opens on a separate page, unless I edit each link by going to "Appearance", then "Display" and setting it to "Embed".
So I would like to write a mySQL update script to automatically set this flag for all such links (I will add a where clause to my script name).
I checked database in PHP/MyAdmin, and didn't see any likely table names.
You should attempt to use the admin tools to update everything, go to your moodle installation's main URL.
Then go to the site administration. After /admin in the url, add /tool/replace and go there.
You can there enter what you want to find in the db, and replace it with another value. Just be carefull with this tool and make a backup before you begin.

Magento: Creating Multiple store and products display issue

I have magento store (version 1.9) and 10 categories under root categories. Now I created sub-store following these steps:
1) Admin-> System-> manage store
2) Create website, created store (selected 'root category'), created store view[code: new]
3) System->Configuration->General->Web: Change value of 'Add store code to Urls' to yes
4) I can access substore with url: http://example.com/new and its working fine.
Problem: No products and cms pages are displaying in my site. How can I achive it and also did I created sub-store properly?
Sharing your knowledge is highly appreciated.
Multiple stores creation was correct.
Display products on all stores:
Go to your manage products page, click select all, change the action dropdown to say "Change Attributes" and click submit. Then, on the websites tab, make sure your new site is checked in the "Add Product to Websites" area, and click save
CMS Pages: I had to go to edit every CMS page to display to all stores.

How to retain last setting value in windows phone application

I have a windows phone application in which two listpicker and one listbox in a form.
When i press a window start button or close the application and again start the application it does not retain the previous filter value can anybody give a solution .
Thanks
Try using the Application Settings of Isolated Storage where you could store and retrieve the values.
Check out this sample:
Store and Retrieve Application Settings Using Isolated Storage
Or else you could preserve the state of the page:
How to preserve and restore page state for Windows Phone 8
In your App.xaml.cs file are two methods: Application_Activate and Application_Deactivate. In the deactivate function you have to store the current filter in the isolated storage, in your activate you have to load them.
In your page.xaml.cs you have to use the loaded informations in the OnNavigatedTo function.

Suggestions for developing WebInterface (using Tomcat)?

I am working with TS-7500 (ARM 9) board running Debian Linux (Linux ts7500 2.6.24.4). It is connected to a couple of sensors and is running driver code to talk to these sensors.
Every time the C program starts, it reads a couple of config-parameters from a config-file and starts sensors with those values.
So the task at hand is : presenting a web interface to show/edit these config-parameters to user. The task of the web interface can be summarized in four steps :
Read config-parameters from the config-file and show the current configuration
Allow user to change the configuration
Capture and save the changes to same config-file
These config-parameters could be presented as drop-down menu items or radio-buttons. And I have a linux background script which restarts the C prg when config-file is modified.
I know TS-7500 runs Tomcat. Now please suggest a good way to handle this problem. I have heard about using Servlet and JSPs (am not very familiar with those actually). Which one of them is suitable to generate HTML pages dynamically ? (as I see everytime I need to generate a new HTML page by selecting the current configuration while displaying the page).
Sorry for being very elaborate !
EDIT : Beeps ! No reply ? Come on guyz, is the question not clear ? Or no one has ever faced a similar problem (design problem) ??
The solution would be to use a PHP in addition with Apache web server ! PHP script could be used to
Read the config file and capturing the parameters
Generate a HTML form (by pre-selecting the dropdown menus and radio buttons from the already read parameters)
And capturing the new edits and saving them to config file.
PHP script must be placed in /var/www/ directory of the embedded board. Then from any system, it could be accessed just by keying the IP address of the board and the script name using a simple web browser.