|
Joined: Jun 2009
Posts: 4
stranger
|
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
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
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>
|
|
|
|
Joined: Jun 2009
Posts: 4
stranger
|
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
|
|
|
|
Joined: Oct 2006
Posts: 98
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
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
In 7.5+ it's in: CP -> Master Settings -> Feature Settings -> "Enable Calendar"
So try there
|
|
|
|
Joined: Oct 2006
Posts: 98
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?
|
|
|
|
Joined: Dec 2003
Posts: 6,562 Likes: 78
|
Joined: Dec 2003
Posts: 6,562 Likes: 78 |
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 4:25 PM. Reason: added ps
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Dec 2003
Posts: 6,562 Likes: 78
|
Joined: Dec 2003
Posts: 6,562 Likes: 78 |
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
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
Yeah, hence why I said 7.5+ lol; I'm with Ruben though, just nuke the link from the template (header.tpl).
|
|
|
|
Joined: Oct 2006
Posts: 98
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?
|
|
|
|
Joined: Oct 2006
Posts: 98
member
|
member
Joined: Oct 2006
Posts: 98 |
This is...uh...an EMERGENCY! HELP!
|
|
|
|
Joined: Oct 2006
Posts: 98
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.
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
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)
|
|
|
|
Joined: Dec 2003
Posts: 6,562 Likes: 78
|
Joined: Dec 2003
Posts: 6,562 Likes: 78 |
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
|
|
|
|
Joined: Jun 2006
Posts: 1,344
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.
|
|
|
|
Joined: Jan 2008
Posts: 514
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
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
1 members (1 invisible),
875
guests, and
141
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|