Search results for: 'OrangeHRM+theme'
Results in Category pages.
Results in Magefan Blog.
-
How to change magento mobile template
If you want to change your magento theme with mobile platform . It`s very simple just do it what i tell you in following. In Magento Admin : System > Configuration > Design is where you want to be. You also want to make sure you have the mobile designed theme . Configuration the following way Depending on how you want to serve up your store depends on what configuration you want.
Option #1 :
Show mobile version on Any Mobile Based OS (phone ,tablet, kindle fire)
iPhone|iPod|BlackBerry|Pre|Palm|Googlebot-Mobile|mobi|Safari Mobile|Windows Mobile|Android|Opera Mini|mobile|Silk|Kindle
Option #2:
Show mobile version to just phone based browser and Display normal desktop version on tablet based devices
(iPhone|iPod|BlackBerry|Pre|Palm|Googlebot-Mobile|mobi|Safari Mobile|Windows Mobile|Android|Opera Mini|mobile)|(!iPad|Silk|Kindle|Xoom|SCH-I800|Tablet)
You have chosen one of the configurations above .Go under the Design “Themes” section & add it to the following sections (Template, Skin, Layout, Default) in the “Matched Expression” field. Then in the values section you should put in “iphone” in the value field. If you have a different mobile theme then your value field should be the theme name. Then click save config. reefer this following screenshot.
-
Magento multi site
Do you want the multi store magento from Single installation of magento . If you want create multi store magento proceed my following way.
Process: 1
If your store have different type of Category and product then follow the steps. Catalog *then* Manage Categories *then* Add Root Category
Process: 2
Create the new Website System *then* Manage Stores *then* Create Website
fill up all asking.
Name: Name for the domain (“samdoit”)
Code : Identifier for the domain (“samdoit")
Create the new store System *then* Manage Stores *then* Create Store
Fill all fields
Website:) Select “samdoit.com” on dropdown .
Name: ) Use samdoit_com identify of store.
Root Category:) Select Categories from category list by default "Default Category"
Create store view:
System *then* Manage Stores *then* Create Store
View Store: Select “samdoit_com” show in dropdown menu.
Name and Code “samdoit_com”
Make sure all leters in smaller case Status: 'Enabled'
Process: 3
Create Magento another domains. You need to update this following files:
Find this two sample file installed
magento root directory
- index.php.sample
- .htaccess.sample .
Copy the two files and Rename both sample files by below names in your other domain.
- .htaccess
- index.php
Open “index.php”
and change line which start with“$mageFilename”
$mageFilename = ‘{Your magento root}/app/Mage.php’;
Also Change Line start with
$mageRunCode" $mageRunCode = isset ($_SERVER['MAGE_RUN_CODE']) ? $_SERVER['MAGE_RUN_CODE'] : ”;
change ' ' into Your store code
$mageRunCode = isset($_SERVER['MAGE_RUN_CODE']) ? $_SERVER['MAGE_RUN_CODE'] : ‘samdoit_com’;
Theme Changes: You must to change skin, media and javascript link . Now set Magento admin Panel by click follow way click " Configuration in System on admin panal " In Configuration tab select {YOUR website/store } from the dropdown Under Configuration tab Click "Web" under Web tab select and change the link for Secure also Unsecured : Skin Link (eg: Media Link (eg: JavaScript Link (eg: Now you done . Now your multiple stores magento is ready to use. We can create you a Magento Theme for your site by just copy the folder and paste the folder into {your magento}/skin/frontend/default/{your theme} " and paste it as your store name and then just go the "system *then* configuration *then* Web *then* Design" and change the select your store name and paste the theme name whatever you have created in magento skin folder.
-
Display Related products on magento
As a magento developer display related product on product view page.It’s easy to show related product by following few easy steps. First we will have to add products to a particular product as related product. Screen shows product added as related product
After selecting products it will show on your product view page if you can`t view related product on it .Do following steps it`s very easy to follow all the best friends.
1)Open catalog.xml
catalog.xml file available in .
{magento root}/app/design/frontend/default/{your theme}/layout/catalog.xml .
If you not have the file just copy file from
{magento toot}/app/design/frontend/base/default/layout/catalog.xml
to your theme i already mention the path.
2) Remove & Add some xml in catalog.xml
Search catalog_product_view in
{magento root}/app/design/frontend/default/{your theme}/layout/catalog.xml
. Command or remove the following line from there .Search in catalog.xml "catalog.product.related" in appropriately line 258 under <reference name="right"> .
<block type=“catalog/product_list_related” name=“catalog.product.related”before=“-” template=“catalog/product/list/related.phtml”/>
add following line in catalog.xml . Search in catalog.xml "<reference name="content">" in appropriately line 189 . Below "<block type="catalog/product_view"..........>" this linl add following line.
<block type=“catalog/product_list_related” name=“catalog.product.related”before=“-” as="catalog_product_relate" template=“catalog/product/list/related.phtml”/>
3) Adding related product in product view page.
Adding some code in view.phtml available in
{magento root}/app/design/frontend/default/{your theme}/template/catalog/product/view.phtml
If you not have the file just copy file from
{magento toot}/app/design/frontend/base/default/template/catalog/product/view.phtml .
Add following line in where you want to view.
<?php echo $this->getChildHtml('catalog_product_relate');?>
4) Related Product view
-
How To Add Banner Ads To Ionic Apps Using AdMob Pro Plugin
In this post I will show how you can add banner ads to your Ionic apps. I will be doing this on a new app but you can do it to your existing app as well. I have also written a post on adding banner ads to Ionic 2 apps, so if you are looking for Ionic 2 apps You can check that post out as well.
Step 1)
We will first start by creating a new Ionic project by issuing the following command in the command prompt
1ionic start MyNewApp TabsStep 2)
Now we will need to add the platform to out app. So will do the following command
Step 3)
As we will be using the AdMob Pro plugin we will need to download it in our project. We will do that by the following command
you can read more about the plugin in the Admob pro plugin documentation
Step 4)
Now we will need to add the following code to the $ionicPlatform.ready() in the app.js file
So the finished app.js file looks like this:
NOTE: The app.js file will be different for each template namely tabs,bank,sideMenu, make sure you add the code to the $ionicPlatform.ready() function and no to any function inside it.
-
how to add wordpress header and footer in magento.
how to add wordpress header and footer in magento.after complete my previus tutorial How to integrate magento and wordpress follow my simple steps.
Step 1:(include wordpress header in Your magento store )
Go to this link in your file manager
"
YOUR-MAGENTO-FOLDER/app/design/frontend/default/YOUR-THEME/template/page/html/header.phtml
"
in top of this file u add this simple wordpress function .
"<?php get_header();?>
"
now You check in your magento store wordpress header show nice .
Step 2:(include wordpress footer in Your magento store)
Go to this link in your file manager"YOUR-MAGENTO-FOLDER/app/design/frontend/default/YOUR-THEME/template/page/html/footer.phtml"
open that file delete all coding in that file u add this simple wordpress function only.
"<?php get_footer();?>
"now You check in your magento store wordpress footer show nice .
Note:after adding all this you see some errors in prototype.js file. how to clear this error in next tutorial. -
jquery/prototype conflicts in Magento
When you add jquery in your magento .
if you are got following error comes.
1) You can`t add product in magento shopping cart,
2) Product image not shown correctly in product view.
Solution :
open the file in
{magento root folder}/app/design/frontend/default/{your magento theme}/template/page/html/head.phtml
and
Paste the following lines
<script type="text/javascript">// <![CDATA[jQuery.noConflict();
// ]]>after
<!--[if lt IE 7]>
........
.........
<![endif]-->





