How do I remove calendar from the forum header
#234905
02/16/2010 12:58 PM
|
Joined: Jun 2009
Posts: 4
mikekayak
OP
stranger
|
OP
stranger
Joined: Jun 2009
Posts: 4 |
We have a calendar as a part of our website that we want to be our only calendar. Is there a way to remove (at least from view) all signs of a calendar in the forum? It's confusing for our website users to see this when it's not being used.
Or if that is not possible is there a way to redirect to our website calendar when the forum calendar link is selected.
Thanks Michael
|
|
|
Re: How do I remove calendar from the forum header
[Re: mikekayak]
#234906
02/16/2010 1:12 PM
|
Joined: Jun 2006
Posts: 9,243
Rick
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,243 |
To disable it you can go to Feature Settings -> General Tab, and you'll see the "Enable Calendar" option. If you want to it to redirect to your calendar, then you'd want to enable it and you'd need to edit the header.tpl template file. If you're using our latest version, then you'll find the line to edit on line 185. You'd need change this:
<a href="{ubb url="ubb=calendar"}">{$lang.CALENDAR}</a>
To something like:
<a href="http://www.domain.com/your/calendar">{$lang.CALENDAR}</a>
|
|
|
Re: How do I remove calendar from the forum header
[Re: Rick]
#235267
03/02/2010 1:07 PM
|
Joined: Jun 2009
Posts: 4
mikekayak
OP
stranger
|
OP
stranger
Joined: Jun 2009
Posts: 4 |
Rick,
Thank you - I thought I'd been through all of the control panels, certainly missed that one.
Michael
|
|
|
Re: How do I remove calendar from the forum header
[Re: mikekayak]
#243432
05/26/2011 12:19 PM
|
Joined: Oct 2006
Posts: 98
phoebe
member
|
member
Joined: Oct 2006
Posts: 98 |
I know this is an old post but I can't find a way to turn off the calendar in feature settings > general
I'm using 7.4
|
|
|
Re: How do I remove calendar from the forum header
[Re: mikekayak]
#243433
05/26/2011 12:33 PM
|
Joined: Jun 2006
Posts: 15,852
Gizmo
|
Joined: Jun 2006
Posts: 15,852 |
In 7.5+ it's in: CP -> Master Settings -> Feature Settings -> "Enable Calendar"
So try there
|
|
|
Re: How do I remove calendar from the forum header
[Re: mikekayak]
#243434
05/26/2011 2:55 PM
|
Joined: Oct 2006
Posts: 98
phoebe
member
|
member
Joined: Oct 2006
Posts: 98 |
thanks for trying, Gizmo...it's not there. Was it not a feature, i mean turning off and on the calendar, in previous versions?
|
|
|
Re: How do I remove calendar from the forum header
[Re: phoebe]
#243435
05/26/2011 3:07 PM
|
Joined: Dec 2003
Posts: 5,998
Ruben
|
Joined: Dec 2003
Posts: 5,998 |
Change log shows the calender feature appeared in v7.5 Added an option to the Features Section of the Control Panel to enable/disable the Calendar PS. You could edit the header.tpl file and comment out the calendar link reference.
Last edited by Ruben; 05/26/2011 3:25 PM. Reason: added ps
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
Re: How do I remove calendar from the forum header
[Re: mikekayak]
#243436
05/26/2011 3:30 PM
|
Joined: Dec 2003
Posts: 5,998
Ruben
|
Joined: Dec 2003
Posts: 5,998 |
You could also just edit the link in header.tpl to goto your calendar. Just open the file and search for calendar.
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
Re: How do I remove calendar from the forum header
[Re: mikekayak]
#243437
05/26/2011 3:37 PM
|
Joined: Jun 2006
Posts: 15,852
Gizmo
|
Joined: Jun 2006
Posts: 15,852 |
Yeah, hence why I said 7.5+ lol; I'm with Ruben though, just nuke the link from the template (header.tpl).
|
|
|
Re: How do I remove calendar from the forum header
[Re: mikekayak]
#243438
05/26/2011 3:48 PM
|
Joined: Oct 2006
Posts: 98
phoebe
member
|
member
Joined: Oct 2006
Posts: 98 |
That just broke my board...all i did was open header.tpl in dreamweaver, changed the url and upload. I undid the change back to the original and it is still broken.
Why would editing this file break my board?
|
|
|
Re: How do I remove calendar from the forum header
[Re: mikekayak]
#243439
05/26/2011 3:49 PM
|
Joined: Oct 2006
Posts: 98
phoebe
member
|
member
Joined: Oct 2006
Posts: 98 |
This is...uh...an EMERGENCY! HELP!
|
|
|
Re: How do I remove calendar from the forum header
[Re: mikekayak]
#243440
05/26/2011 4:06 PM
|
Joined: Oct 2006
Posts: 98
phoebe
member
|
member
Joined: Oct 2006
Posts: 98 |
Whew! that was a close one! I found the original file and replaced it. Neve new dreamweaver to act that way....took out some code.
Did Ricks edit again and all is ok...pretty cool that it goes direct to our site calendar now. Thank you very much.
|
|
|
Re: How do I remove calendar from the forum header
[Re: mikekayak]
#243444
05/27/2011 12:15 AM
|
Joined: Jun 2006
Posts: 15,852
Gizmo
|
Joined: Jun 2006
Posts: 15,852 |
Because you used a WYSIWYG editor... Use wordpad or notepad to edit ubb files as they won't insert extra code into your pages (like dreamweaver or frontpage would do)
|
|
|
Re: How do I remove calendar from the forum header
[Re: mikekayak]
#243454
05/27/2011 1:44 PM
|
Joined: Dec 2003
Posts: 5,998
Ruben
|
Joined: Dec 2003
Posts: 5,998 |
I use dreamweaver 4. First you need to edit the ftp extension file and state that php,tpl, ect is a ascii file. 2nd is you need to be careful how you use urls. Because dreamweaver will try to change to url from the local file structure to the site file structure when using the internal ftp. Sometimes I will use dreamweaver to edit. But I use filezilla to upload the forum files.
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
Re: How do I remove calendar from the forum header
[Re: mikekayak]
#243455
05/27/2011 1:47 PM
|
Joined: Jun 2006
Posts: 1,344
gliderdad
veteran
|
veteran
Joined: Jun 2006
Posts: 1,344 |
Same as Ruben. Since switching to linux I only mess in dreamweaver if I need to create a template and thats about it now and use filezilla.
|
|
|
Re: How do I remove calendar from the forum header
[Re: mikekayak]
#243456
05/27/2011 5:20 PM
|
Joined: Jan 2008
Posts: 514
Dunny
addict
|
addict
Joined: Jan 2008
Posts: 514 |
I still think the best way to manipulate files in the header.tpl is to open them in gedit or notepad and save as all files <name.tpl> that is the only way I have been able to manipulate files so as to not corrupt them without interference (i.e. dreamweaver).
Dunny
|
|
|
|
|
|
|
UBB Dev
by JAISP - 11/03/2019 11:01 AM
|
|
1 registered members (isaac),
91
guests, and 432
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|