How to create a site using SFRA but name and ID would be my custom name and ID - demandware

Whenever I am creating a site following the steps in SFCC infocentre I am getting two sites with name as RefArch and RefArchGlobal but I want my site with my id and my name, I was able to do that by creating a custom site and then assigning the same catalog as RefArch and also the same content libraries as RefArch and then by importing the slot config of Refarch to my custom site, I want to know if there is any other way of doing it easily.
Thanks,
Faizen

You can pull on your local -> Storefront Reference Architecture Data. This is a repository for the RefArch site data that goes with Storefront Reference Architecture (SFRA). After:
Clean up the demo_data_sfra folder by removing what you don't need. An example is all related to RefArchShared site if you need just
RefArch
Replace in the XML files RefArch with your site ID
Rename folder names in the sites with proper site names.
Rename catalogs and make a proper link between them.
Cross check all files to see if there are other references. For example, in the jobs.xml you might have a site context and you need to use a proper site ID there.
After all those steps, archive and import the site to your sandbox. Run reindex and clean cache and check storefront. It should work.

Related

How to embed a custom url path to a file in Google sites

I have a Google Sites website with a custom domain, let's say www.mysite.net for example. I want to put a dataset file (let's say file.csv) into the site, that can be downloaded with a link as in www.mysite.net/datasets/file.csv. I do not know how to do that. I can insert a file from Drive into the site, but I want it to have a custom url like I mentioned to download it. How can this be done? Can it be done from within the Google sites domain, or do I have to do something special?
Thanks!

Create Store in magento

Hi I'm trying to create a website, store and store view in Magento 2. I've been watching youtube video on how to do it. But I'm just curious why is it my admin panel has this kind of prefix
As you can see below my website name I have (Code: aliexpress) may I know what this mean? In the video I'm watching they don't have this. Any idea regarding this?
Every website, store and store view has one unique identifier that is called code. in your case your website Name is Aliexpress according to that name code is aliexpress.
Website code is helpful when we want to run specific website in Multi-Website environment. you can open your index.php file in your Magento installation directory and find the below code.
$params[\Magento\Store\Model\StoreManager::PARAM_RUN_CODE] = '<your website code>';
$params[\Magento\Store\Model\StoreManager::PARAM_RUN_TYPE] = 'website';
Using above code you can run specific website.

Multiple stores in Magento 1.7. Not directing to new website

Multiple stores in Magento 1.7.
I am having issues setting this up.
I have set up via configuration two websites, store, store views etc and the url's in web config.
I have changed the A records on the domain to point to the magento website and I have as instructed changed index.php but when i type in my 2nd website address it just takes me to the main (original) website pages, if I change the default website in Magento it works! I can't be far off but I'm struggling now, any advice?
I've been told that in 1.7 I only need to alter index.php to make it work
Andrew
you must provide either store code or website code to server variable $_SERVER['MAGE_RUN_CODE'] or as first parameter to Mage::run() function in index.php file, for example if every subdomain of site has one store, you can accomplish this by:
$storeOrWebsiteCode = strtok($_SERVER['HTTP_HOST'],'.');
$_SERVER['MAGE_RUN_CODE'] = $storeOrWebsiteCode;
or
$storeOrWebsiteCode = strtok($_SERVER['HTTP_HOST'],'.');
Mage::run($storeOrWebsiteCode, 'website');
or
Mage::run($storeOrWebsiteCode, 'store');

Sharepoint 2013 Tag profile is empty

When I click on tag in tag clouds web part, I have a tag profile page (mysite.domain.com/tagprofile.aspx?termid=9e183a42-9603-43ea-8e9c-173e62dbe34c) which is empty.
How can I see the data in a tag profile?
UPD: If I click a search tag link, I have query like
SocialTagId:"9e183a42-9603-43ea-8e9c-173e62dbe34c", but no data in result.
I found how to search for tagid, if write in search box query: owstaxIdTaxKeyword:"9e183a42-9603-43ea-8e9c-173e62dbe34c", we have all documents with this tagid.
But how to get result on TagProfile page?
The Tag Cloud in SharePoint leverages social tags, not just any enterprise keyword. Though most tags are pulled from the Managed Metadata Service, social tags are stored alongside the User Profile Service Social Database.
You need to make sure that the library you are tagging documents have social tagging enabled. You do this by going to the Library Settings > Enterprise Metadata and Keywords Settings. Within there, you will be able to enable Save metadata on this list as social tags:
Then, make sure you are using the Tags & Notes board to ensure that your documents are tagged appropriately.
Finally, make sure that you Search Service application is actually crawling. If you have only performed an initial crawl, setup a crawl schedule or switch to using Continuous Crawling.

Suggest idea for creating microsite in Joomla 1.5

I am having a site as http://www.test.com running in Joomla 1.5 . We are planning to have a microsite like
http://www.sub.test.com which has to have separate homepage with different contents .
Is that is possible with the following idea
Making a export of all the tables in my joomla and replacing jos with suband again importing them into the same Joomla database.
Writing a PHP script of identifying whether the Url tat i have entered in the browser is
http://www.test.com OR
http://www.sub.test.com
If test.com, then the $dbprefix would be jos OR if sub.test.com then the $dbprefix would be sub.
Will the above idea for creating a microsite is the correct one.
Just as another option, you could contain both sites in the exact same instance with a different template assigned to the micro site.
Set up a content category for the micro site, detect the request URL (most likely in the WebServer - best location, or in a DNS setting with a forward URL)
Assign all content items in the category with the new Template.
We regularly do this for a site that wants a blog site alongside the main website, but want a different look and feel.