Members: 16,996
Threads: 38,866
Posts: 159,475
Online: 47

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse

Go Back   Mambers.com > Archive > Mambo 4.5 > Mambo 4.5 'How Do I' Questions

 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 13.08.2004, 20:55   #1 (permalink)
aly
Senior Mamber
 
aly's Avatar
 
Join Date: Jun 2004
Posts: 176
aly is on a distinguished road
Default How to set default template without template manager?

Without going into a lengthy explanation, I have an as yet unsolved problem that is causing my Template Manager to be unusable. I have a custom template for my site but at the moment am only able to select it through the template chooser -- which I do not want to have active on the live site.

If I simply delete all other templates, will my custom template become the default? Or is there some piece of code I can hack to make it stick?

Thanks
aly is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Old 13.08.2004, 21:10   #2 (permalink)
Baby Mamber
 
Join Date: Jul 2004
Posts: 11
lauren40883 is on a distinguished road
Default Re: How to set default template without template manager?

You can hard-code your choice of a template by altering the code in index.php, in your root folder.

Look for the code that says (maybe around line 135):
PHP Code:
$cur_template $cur_template $mainframe->getTemplate(); 
and replace it with:
PHP Code:
$cur_template "name_of_template"
Where "name_of_template" is the name of your template. Make sure you use the correct capitalization and spacing.

Hope this helps!!
lauren40883 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 13.08.2004, 21:53   #3 (permalink)
Mamber
 
reikimaster's Avatar
 
Join Date: Apr 2004
Posts: 60
reikimaster is on a distinguished road
Default Re: How to set default template without template manager?

Or you can just change it right in the database if I remember correctly
reikimaster is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 14.08.2004, 02:16   #4 (permalink)
aly
Senior Mamber
 
aly's Avatar
 
Join Date: Jun 2004
Posts: 176
aly is on a distinguished road
Default Re: How to set default template without template manager?

Ah thank you!! That was virtually painless :-)
aly is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
bug im template manager (mos 4.5 1.0.7) ??? scheurer Installation 2 02.11.2004 13:20
Fehler beim Installieren verschiedener komponenten twotwenty6 Komponenten 2 21.07.2004 21:57
template manager & component up/download issues in admin section moabman1 Mambo 4.5 General Talk 3 01.06.2004 19:19
Template Manager dusan Mambo 4.5 Installation and Upgrades 2 24.05.2004 08:05
Template manager problem PeeWee Mambo 4.5 Bugs 1 10.05.2004 07:43


All times are GMT +2. The time now is 10:34.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.