phtml

Magento My Account Layout XML Problem

Hi there, I'm having issues getting the customer.xml layout file to work properly for the customer's "my account" pages. The navigation links and the previously ordered items that are usually on the left hand side of the page won't show up on the page, but if I change the reference name to "content" in the xml file, it shows up (except...

.htaccess set phtml to be run as php

Hi, I'm using this: AddHandler application/x-httpd-php .php5 .php4 .php .php3 .php2 .phtml AddType application/x-httpd-php .php5 .php4 .php .php3 .php2 .phtml ...within a .htaccess file but my .phtml files are not running as php, they're just showing the code! Have I missed something? ...

Magento - locate specific core files

Hiya, I am familiar with theming and using template hints in the Magento back office to locate .phtml files. What I am not really familiar with are the core files such as app/code/core/Mage/Catalog/Model What I need to do is override a core file like I would a core phtml file by copying it to 'my theme'. I basically want to amend som...

HTML vs SHTML vs PHTML

What is the difference between: HTML SHTML PHTML Why and when i'll use which one? ...

XAMPP + Zend Framework = .phtml files don't render

I have an installation of XAMPP and an application built on Zend Framework that works in a normal apache2 + php5 environment. The application resides inside a vhost correctly configured and as a precaution I also added .phtml files to match php compiler <FilesMatch "\.php$|\.php5$|\.php4$|\.php3$|\.phtml$|\.phpt$"> SetHandler appli...

php symfony and apache2 - inst't serving .phtml

Hi, I have a problem with apache2 settings (Ubuntu system). I would like to run symfony project on my localhost but instead of serving .phtml files, browser is trying to download files. this is my file .host: 127.0.0.3 test this is apache2/sites-available/default file < VirtualHost 127.0.0.3:80> ServerName test Document...

Magento: How to tell if you're on a category page, or product page in .phtml file(s)

Hi everyone, I am trying to program into my .phtml files an if statement if the guest is on a category list page, or on a product page. For example this code: <?= Mage::app()->getFrontController()->getRequest()->getRouteName(); ?> Returns "catalog" whenever l'm on a page other than a CMS page. Is there a way l can use a similar m...

color coding of .phtml Zend framework files in Dreamweaver 8 win7

Hi, I am using Dreaweaver 8 in windows 7. Problem is that i cannot see color syntex coding of phtml files. How can i ??????? Thanks in Advance. ...

Work with the cart in the billing.phtml

Hi! inside the checkout onepage billing.phtml I have to do several checks and even remove or add stuff to the cart. But I don't seem to find how to do that how can I change the cart from within an template? Thanks, Joe ...