Breadcrumbs without Forum Category?
From Another Web Company
Viewed 467 times, With a total of 11 Posts
Have a suggestion, improvement, change or non-beta Forum Entension bug ? Please add them to the todo list
|
|
|
|
Clicked A Few Times
Wiki Edit 3
Threads 11
Posts 17
|
|
| 7:45:43 PM - Wednesday 22nd, July 2009 |
|
I only have 3 subforums and all are in the same category since it makes no sense to categorize them.
So the breadcrumb for the forum category is very useless.
How can I disable it? I don't mind changing core code.
Thanks
|
|
|
|
|
|
|
| 1:19:04 AM - Friday 24th, July 2009 |
|
This is off the top of my head so it might not be right...
Find:
/extensions/awc/forums/includes/gen_class.php
function Set_AWC_Forum_BreadCrumbs($add, $send = false){
static $b_crumbs;
if(!isset($b_crumbs)){
$b_crumbs = new awcs_forum_breadcrumbs();
}
if($add != '') $b_crumbs->add($add);
if($send) return $b_crumbs->send();
return ;
}
and add a 'return ;' at the begining of the function.
Some where along the lines ill add a hook to the awcs_forum_breadcrumbs class so you wont have to edit any files, just create your own small "forum-extension".
_
|
|
~ What was once an opinion, became a fact, to be later proven wrong ~
|
|
|
|
Clicked A Few Times
Wiki Edit 3
Threads 11
Posts 17
|
|
| 10:41:02 AM - Friday 24th, July 2009 |
|
that was in loadforum.php and it removes the complete beadcrumb. I want to use the bc, it just shouldn't list the entry for the Forum Category, so it reads:
Forum >> Forum Name
|
|
Edited On 10:47:11 AM - Friday 24th, July 2009 by Subfader
|
|
|
|
|
|
|
| 10:53:11 PM - Saturday 25th, July 2009 |
|
| ill add a forum hook soon so you can do what ever you want with them.
|
|
|
|
|
|
Clicked A Few Times
Wiki Edit 3
Threads 11
Posts 17
|
|
| 12:43:33 PM - Sunday 26th, July 2009 |
|
| cool. i'll check if i can out which core file to edit manually.
|
|
|
|
|
|
|
| 3:39:48 PM - Sunday 26th, July 2009 |
|
| just changed how a current hooks work, "you" will have access to links now before any thing is displayed; this will be working in 2.5.7.
|
|
|
|
|
|
Clicked A Few Times
Wiki Edit 3
Threads 11
Posts 17
|
|
| 3:42:38 PM - Sunday 26th, July 2009 |
|
you wrote all this (and the other 2.5.7 changes from ym requests) today?
I fear I can't wait till 2.5.7. i'm almost done customizing the forum and want to go live asap 
could you tell me in which file the array for the links is defined? I found where the bread crumbs are created by not where the links come from. grepping for "cat" etc. didn't help much.
|
|
Edited On 3:43:18 PM - Sunday 26th, July 2009 by Subfader
|
|
|
|
|
|
|
| 3:51:49 PM - Sunday 26th, July 2009 |
|
Yea, alot of the things you have asked (please dont be offened, but you dont seam like the kind of person who uses the search option of checks things out too much ) and requested have been talked abuot before, just have not had the time to get then ready... for the most part they where all quick changes (as you seen how quick they whent up).
id have to look where the 'cat' is added (probly in the forums.php file), which might take a bit and im heading off to work on my house now.
Im gonna try and put togeather a 2.5.7 download tonight which will have a bit of core edits done to just abuot all forum files.
_
|
|
|
|
|
|
Clicked A Few Times
Wiki Edit 3
Threads 11
Posts 17
|
|
| 3:55:20 PM - Sunday 26th, July 2009 |
|
| well, if I find a bug and it's not in the tracker I add it.
|
|
|
|
|
|
|
| 3:58:38 PM - Sunday 26th, July 2009 |
|
thats a big help.
Its eazy for me to forget things... there have been a few things you have re-posted which where forgotten about or only 1/2 done/changed.
|
|
|
|
|
|
Clicked A Few Times
Wiki Edit 3
Threads 11
Posts 17
|
|
| 4:13:17 PM - Sunday 26th, July 2009 |
|
got it. Set_AWC_Forum_BreadCrumbs in forum.php and thread.php
|
|
|
AWC's:
2.6.0 MediaWiki - Stand Alone Forum Extension Forum theme style by: AWC
|