aDy
Total Posts: 25
Joined: 2008-05-09
France
Hi everyone !
I have a question !
So..I see the template link for the administration is : /adminhtml/default/default /images/login_logo.gif
I would like change the original panel by : /adminhtml/default/mytemplate /images/login_logo.gif
Is it possible ? (I would like make an another login form)
Thanks !
nb: excuse me for my english !
Posted: June 15 2008
| top
v2uk
Total Posts: 64
Joined: 2008-03-23
just change the original?
Posted: June 15 2008
| top
| # 1
SwiftCol
Total Posts: 85
Joined: 2008-05-22
aDy, this took me hours to figure out how to do, but once I did, I wrote up a Wiki Article about how to do it. You can check it out here . Let me know if you have any questions.
Posted: June 27 2008
| top
| # 2
aDy
Total Posts: 25
Joined: 2008-05-09
France
wahooo, that’s rocks !!!
a big thanks for your reply, and your nice job SwiftCol
Posted: June 27 2008
| top
| # 3
SwiftCol
Total Posts: 85
Joined: 2008-05-22
Glad you like it. Did it work for you?
Posted: June 27 2008
| top
| # 4
gunnar
Total Posts: 37
Joined: 2008-05-27
hey,
if I follow the instruction in your wiki, I get the following error:
Cannot redeclare class jMyCompany_Adminhtml_Block_Page in /var/ www / localhost / htdocs / magento / app / code / local / Mage / Adminhtml / Block / Page . php on line 38
can you give me a hint?
thanks, gunnar
Signature
# Joint Forces Media GmbH
# shop.rap.de ...
# Köpenicker Str. 178/179
# D-10997 Berlin
# Tel. +49-30-69597212
# Mobile +49-170-4807502
# Fax. +49-30-69597240
#
# Gunter Kreck
# CIO * Development
#
#
Posted: August 19 2008
| top
| # 5
SwiftCol
Total Posts: 85
Joined: 2008-05-22
Can you post the contents of that file?
Posted: August 19 2008
| top
| # 6
gunnar
Total Posts: 37
Joined: 2008-05-27
here is the code
class jfm_Adminhtml_Block_Page extends Mage_Adminhtml_Block_Template
{
public function __construct()
{
Mage::getDesign()->setTheme(’jfm’);
}
}
Signature
# Joint Forces Media GmbH
# shop.rap.de ...
# Köpenicker Str. 178/179
# D-10997 Berlin
# Tel. +49-30-69597212
# Mobile +49-170-4807502
# Fax. +49-30-69597240
#
# Gunter Kreck
# CIO * Development
#
#
Posted: August 19 2008
| top
| # 7
SwiftCol
Total Posts: 85
Joined: 2008-05-22
This seems odd, the error says jMyCompany_Adminhtml_Block_Page, but the code you posted says jfm_Adminhtml_Block_Page. Did you change it or something?
(Also, please post code in a code container so that it’s easier to read.)
Posted: August 19 2008
| top
| # 8
mikewhitby
Total Posts: 38
Joined: 2008-09-08
I’m confused as to why you need to put the block rewrite into local.xml, I tried to make it into a module by using an xml to declare my module in app/etc/modules and by having an etc/config.xml in the local/company/adminhtml directory, but no luck. As soon as I put the xml to rewrite the block back into the local.xml file it works fine.
Always cleared my cache…
Posted: September 16 2008
| top
| # 9
Prattski
Total Posts: 54
Joined: 2008-01-22
Any idea how to get this to work in 1.1.6? I don’t get any errors - but it doesn’t load the new template file that I created.
Signature
Prattski
Prattski | Magento & Web Development
Need a Magento Developer? Contact the company I work for: August Ash, Inc.
Posted: September 26 2008
| top
| # 11
platinumtackle
Total Posts: 40
Joined: 2008-09-30
Does this work like the frontend where it uses the default unless you have the file in your template?
B00MER
Total Posts: 130
Joined: 2007-12-27
DFW, TX
platinumtackle - 01 March 2009 08:08 PM
Does this work like the frontend where it uses the default unless you have the file in your template?
The front end already uses this fall back for custom templates.
Signature
► Molotov.bliss / Mb™
└► Magento Commerce
└► Hire Me
platinumtackle
Total Posts: 40
Joined: 2008-09-30
I understand this, but I was asking if the backend or admin side worked the same.