2

I have added the following to local.xml file

<?xml version="1.0"?>
<layout version="0.1.0">
    <contacts_index_index translate="label">
        <label>Contact Us Form</label>
        <reference name="head">
            <action method="setTitle" translate="title" module="contacts"><title>Contact Us</title></action>
        </reference>
    </contacts_index_index>
    <customer_account_forgotpassword translate="label">
        <reference name="head">
            <action method="setTitle" translate="title" module="customer"><title>Forgot Your Password</title></action>
        </reference>
    </customer_account_forgotpassword>
    <checkout_onepage_success>
        <reference name="head">
            <block type="core/template" name="cj_udo" template="app/design/frontend/base/default/template/cj/udo.phtml" />
        </reference>
    </checkout_onepage_success>
</layout>

location:

/app/design/frontend/base/default/local.xml

then I added udo.phtml here: http://screencast.com/t/Hj9VRuFYC7

However I get this error on my system.log

2014-08-10T11:51:36+00:00 CRIT (2): Not valid template file:frontend/base/default/template/app/design/frontend/base/default/template/cj/udo.phtmlt

2

don't need to put full template path

<block type="core/template" name="cj_udo" template="app/design/frontend/base/default/template/cj/udo.phtml" />

Should be

 <block type="core/template" name="cj_udo" template="cj/udo.phtml" />

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.