How to edit href of button on magento homepage - magento

I was a magento dev for some years but stopped for a couple of years. Now back and was stuck at how magento (architecture works).
Question is:
How to find the href of a submit button on a magento homepage?

this will where the template button is located.
Log into the magento back-end admin
Go to System -> Configuration in the main menu
Go to Developer on the bottom left under ADVANCED
Switch to the store view on the top left to your current website or store view.
Under the Debug tab of the same Developer config page you will see a new option appear that will allow you to turn on/off template path hints.
Remember to clear your cache.

Related

Magento Pages Showing Same Content

I am using Magento 1.9.2. I created 3 categories active in the main navigation menu. The display mode for each category is 'static block only' and the static block each one is set to use has a unique url key, name, and content. The categories are called 'how to use', 'colors,' and 'faq.'
The problem is that when I click on one of the links on the frontend for one of those categories, the content for that category/cms block displays fine, but if I click on another link the url changes correctly but the content stays the same. For example, if I click on the how to use link first, I get the right content, but then if I click on the faq link the url changes to the faq page but the page keeps displaying the content for the how to use page.
Flushing the cache and reindexing only works for one click on one of the links. In other words, if I have the problem described above and then flush the cache/reindex the site and click on the faq link, the content changes to the faq content, but if I then click on the colors link I have the same problem.
Has anyone ever encountered this before and/or can explain why this problem is happening?
Thank you for your help.
I resolved this issue by downloading Magento 1.9.2.1 and uploading app/code/core/Mage/Cms/Block/Block.php to app/code/local/Mage/Cms/Block/Block.php.

Magento, category, details button

I'm trying to teach myself Magento, and basic programming.
In the product lists I have, beside the "add to cart" button is a "Details" button. It has a typo in the label, and says "Detalis".
I need to fix this, but I can't find where/which file it is in. Can anyone point me in the right direction?
Generally,product list layout came from list.phtml file.
file location:app/design/frontend/default/my_theme/template/catalog/product/list.phtml
(or)
Please enable the path hints via admin panel.It's show all block paths.
How do I turn on template path hints?
To turn on template path hints in Magento:
log into the magento back-end admin
Go to System -> Configuration in the main menu
Go to Developer on the bottom left under ADVANCED
Switch to the store view on the top left to your current website or
store view.
Under the Debug tab of the same Developer config page you will see a
new option appear that will allow you to turn on/off template path
hints.
Remember to clear your cache.
Generally, I believe that the templates associated with products would be located in the
app/design/frontend/default/your_theme/template/catalog/product/
However, I am unsure of your site template files etc, especially if you are doing things yourself.
To make your life easier, I would suggest installing a program called Agent Ransack which I have found to be invaluable when searching for a needle in a haystack.

Magento content does not show up

It is the first time I use Magento. I have installed Magento with a custom theme. When I add category and product from dashboard, they doesn't show up on the website, just a blank content (header, sidebar and footer works fine, more precisely you can see it at here)
I found the added product from sitemap with css gone. What might be the reason for this? Why categories and content doesn't appear on the website? Why css is broken on the product page?
Magento is designed to be as efficient as possible and the learning curve can initally be daunting to people encountering it for the first time. A couple things to try:
Make sure that the category you've created, found in Catalog > Categories > Manage Categories, the option "Include in Navigation Menu" set to yes (this should automatically "create" the navigation bar for you)
In the admin section of your site, navigate to System > Index Management and select all and reindex them all
In the admin section, navigate to System > Cache Management and flush the cache
The last two steps, when developing your site, are sometimes necessary to see the most up to date information on your Magento install. Something which may make your life easier is in the Cache Management page, select all of the cache types and choose to disable them for now. You'll want to re-enable them once you make the site live.

joomla Administrator Site Off-Line

I want to access the configuration.php file from a custom front-end module. I want to set var $offline to o or 1 from the module(through radio) and then refresh page. I also want the module to show when the site is off line.
as i understand, if you want to set some message on the front end when the site is offline then simply follow the steps:
login on admin pannel.
hover the mouse on the site menu on the top of the admin pannel.
click on the global configuration menu.
in the site tab, you will find the site settings and the radio button with yes, and no and the offline message the you want to display when the site is offline.
if you want to show the offline message the simple click on the yes radio button and save it..
thats it..

Changing Layout of Product Options in Magento

I'm currently customizing the bluescale theme for Magento. I have moved the position of the "product options" box for configurable products from lower on the page to just under the title.
I am now trying to remove the 3 links below the add to cart button (add to wishlist, compare, and ask a question), but cannot figure out where to do so. Where can I find the template for the actual "product options" box? You can see the webpage here: http://bit.ly/xgFy2a
P.S. I can't simply delete the template file for the links, as they still appear elsewhere.
Thanks,
Brett
You can debug your template locations by enabling Template Path Hints like this:
Open the admin control panel
Open the system tab and select configuration
Select Developer on the left sidebar
Select Main Website From the Current Configuration Scope Drop Down (upper left)
Open the debug dropdown
Set Template Path Hints To Yes

Resources