Questions tagged [template]

The folder that contains all the phtml files used to display at frontend or backend.

Magento uses .phtml files to display the outputs of the code. These files are placed in the folder called template. This folder is used for both front-end and adminhtml. Each theme can has its own template folder.
This tag should be used for issues of such template related files.

1407 questions
3
votes
2 answers

How to make a parent category show every 3 rows of subcategory which sorted by price asc

i have to make a parent category show every 3 rows of subcategory which sorted by price asc, for example cat1 cat-A cat-B cat-C if i click cat1 , the page will show cat-A-product1 cat-A-product2 cat-A-product3 $1.00 …
hkguile
  • 2,221
  • 5
  • 45
  • 85
2
votes
1 answer

How to use two different price templates / list and detail view

within the following file I can see below shown code: File: frontend/default/ves_fashion/template/common/list/default.phtml Code:
getPriceHtml($_product, true, $price_prefix) ?>
If I navigate to…
Torben
  • 231
  • 3
  • 11
2
votes
1 answer

Magento First Line Whitespace

Basically i have a magento collection list which i am converting to xml output. When i try to validate the XML/page output if fails because the first line is just white space, and for XML to be valid in needs to be the start of the document. Line 1…
BENN1TH
  • 814
  • 1
  • 8
  • 19
2
votes
2 answers

What is your recommended commercial template

There are so many templates to choose from but I don't understand the difference between a free, a paid and a premium template. I also couldn't find any independent reviews. As I'm new to Magento I do need some help to make a decision for my sport…
Bobby
  • 63
  • 3
2
votes
1 answer

Set Template in handle in magento

I am using one step checkout and shipping_method.phtml responsible for showing the shipping methods.so now i have 2 more modules which both have shipping_method.phtml each.so i need to show either shipping_method.phtml from Module A or Module B…
Pradeep Sanku
  • 9,236
  • 2
  • 41
  • 73
1
vote
3 answers

Find path of Mage::helper on FTP-Server?

I can see the following function in my template's minicart.phtml: getMinicartBlock(); ?> But on the FTP I can not find the folders ves_tempcp/framework. Where do I have to look for the path…
Torben
  • 231
  • 3
  • 11
1
vote
4 answers

How to change template path hints colour and font size

Which file is responsible for the style of magento template path hints? How can I change the colour and font size of the hints that are highlighted by a red background?
Nico
  • 101
  • 3
1
vote
2 answers

My Magento page shows content above the header

I have added a new template file between cart page and checkout.The issue I am facing is that the content of the file is shown above the header please help me to solve this issue public function…
Pratik bhatt
  • 1,490
  • 13
  • 37
1
vote
1 answer

Welcome message getAdditionalHtml?

I'm completely new to Magento and am trying to work my way through a template that I downloaded. I've got to the welcome message which I understand is set using the "Welcome text" field in the admin area. What I don't understand is the…
michael
  • 113
  • 4
1
vote
1 answer

Create a new independent page

A site I'm working on (that you guys have helped me hugely on so far) requires a "splash" page which is completely different (and massively more complex) in layout to anything else on the site so I just want to create the page independently with…
Fraser
  • 169
  • 2
  • 7
1
vote
1 answer

Customizing view.phtml template

Hello I would like to make changes in my Magento template product listing page right now it displays the image only and i want to write the text after the image. I tried to edit in view.php file but its not working for me. Here i am attaching the…
Akash
  • 55
  • 6
1
vote
3 answers

how to change customer login page into 2 column page

I am using Facebook connect and like plugin On Login or Create an Account page, i want two columns page. currently its one column
Alizain Prasla
  • 335
  • 2
  • 5
  • 16
0
votes
1 answer

Moving template part around

I am trying to show new_grid.phtml info under media.phtml or in other words i want to show qty. and dropdown e.g attributes under the image of the product. How should i do that? I am looking at view.phtml and i am lost. any help?
localhost
  • 249
  • 1
  • 4
  • 17
0
votes
1 answer

overriding a default template

hello i am trying to override the default book.phtml file with my own for a module the costumer.xml code for this is
Yehuda Schwartz
  • 1,152
  • 3
  • 14
  • 33
0
votes
2 answers

load magento controller method from Template

I have two simple method inside controller
beginner
  • 109
  • 2
  • 2
  • 8
1
2