Magento wysiwyg editor insert variable in static block not working - magento

When I use the editor in the CMS, I tried use the "Insert Variable" button in both show and high editor state and also edit html source.
I entered Link to Base URL.
If my base url is http://example.com, it is supposed to chagne http://example.com/abc,
but it shows me the same Link to Base URL in the frontend, how can I successfully get the true URL.
P.S. I got something like this in the 'edit html source' button:
Testing, but in the frontend it still show me back Link to Base URL

Try this way to add base url in your static block:
Link to Base URL
That should create a link to your store's base URL.

Related

How to rewrite PHP wesite url?

my website url is : http://localhost/kubas/?page=home or
http://localhost/kubas/index.php?page=home
I want to make http://localhost/kubas/home how to do that?
Remeber that the browser automatically looks for the INDEX page.
It would appear that your "home" is being pulled from another source, and being dynamically inserted into the INDEX page
If you want the HOME page to load without using the $_GET function to pull your home page "content", you will need to manually insert all of the HOME PAGE content into the INDEX.php page, from there you will need to insert the index page e.g. (index.php) into your HOME..."FOLDER".
The browser will then go to HOME folder, look for INDEX.php and vioala!

wordpress: how to force a form fill before going to a page?

I am building a wordpress site with this requirement: when the user attempts to navigate to certain pages, they will be forced to fill out a small form (enter their email address) before they can get to the desired page.
On a standalone site, I'd do it like this: on each "protected" page, I'd look for a cookie named "email". If this cookie doesn't exist, redirect to an email capture page, along with a url parameter indicating the page to go to after they enter their email. The email form would call a PHP script that would set the "email" cookie, then redirect to the desired page
How to do this in wordpress? Would I create my cookie testing code in a template and assign that to the protected pages?
Create a template and page for your php code and when user try to navigate to protected pages check for cookie if doesnt exist go to email page (instead it would be fine if the form appears in a pop up window).There when you get the email onsubmit use ajax to go create cookie from php page and once the cookie is set the navigation should take place .you should create a template for the php page ,and give the page id in ajax code
I hope this is what u r looking for.

How to link a specific store view in Magento from outside the store?

I have Magento set up in a multi-language store so that every language has its own store view. I have an HTML landing page where users choose the language they want, and I want to link each store view from the landing page.
I need to create a URL for each specific view so that it can be accessed from the landing page (like my_magento_installation.com/spanish, etc.), outside of the Magento installation. That means that I can't use any core code to get the store view.
I noticed that this URL format:
http://www.my_magento_installation.com/?___store=view_name
...is shown in the URL bar after selecting a specific store view from the default dropdown in Magento. However, if I set up a link with this format from outside the Magento installation, it just redirects to the base URL (www.my_magento_installation.com)
Thanks in advance,
Pau
Pul Vila,here the soap list using soap client of magento list ,for referece here http://www.magentocommerce.com/api/soap/miscellaneous/store.list.html
after using htaccess write url of landing page...https://stackoverflow.com/questions/21433203/donot-want-show-magento-home-using-htaccess-file

Magento onepage link adds hash(#) to current url when clicked on any edit link?

Well, I am integrating pay-pal express checkout to magento for the first time.
Here is the URL of my store
http://missymtoyz.com/missymtoyz/magento_admin_test/checkout/onepage/
When I click any of the edit link, it add hash(#) at the end of url, how could it work as it works in default theme?
If you've copied the href from the base default theme - and have confirmed it's also a # on base default, you've probably missed some Javascript that is bound to the link. I would have another thorough look through the base default theme to figure out the exact actions triggered by the link.

How to edit magento home page via code?

Hello I'm trying to edit home page
http://www.kreatifyazilim.com/magento/
For example I want to write code on the middle part of the page, ( banner )
The dropdown boxes you can see on demo must be included in banner side.
Go to Magento admin->CMS->Pages
Select Home Page
In Content Tab, add your dropdown
Create a new template (home.phtml).
(make a copy of design/frontend/base/default/template/page/1column.phtml).
And choose this template in the CMS Page design layout.
You can freely edit the complete template (PHP+HTML)

Resources