0

Details

  • I already have the .phtml file
  • The actual path = /var/www/html/store/app/design/frontend/base/default/template/page/distributors.phtml

After doing some research I found that I will have to add this

{{block type="core/template" template="/var/www/html/store/app/design/frontend/base/default/template/page/distributors.phtml"}}

Where exactly are we suppose to add this ? I logged in to Mogento Admin. Go to CMS > Pages > Add New Page, and the I don't know what elses to do ?

Here is my distributors.phtml :

Download it

OR

View it

Can someone help shed the light on this ?

Thanks.

1 Answer 1

1

It really depends what you want to do. The snippet you posted should look like this:

{{block type="core/template" name="distributors" template="page/distributors.phtml"}}

And it should be placed in CMS page Content area.

Sign up to request clarification or add additional context in comments.

9 Comments

Thanks, I tried paste this in {{block type="core/template" name="distributors" template="page/distributors.phtml"}}, save and go to Preview, I don't see any effect at all. Is it because the path is wrong ?
Path is correct. Whatever is in your .phtml should show up in CMS page.
It doesn't show. See HERE. :(
Well your template has all kind of issues but let's focus on important part. Did you omit the definition of $distributors variable because currently it's undefined. There is nothing to show.
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.