Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Replacing library folder files

edited October 2012 in Vanilla 2.0 - 2.8

Can I override file "class.theme.php" in library > core ??
I tried it creating the core folder in my theme,adding that file and editing but didn´t work. Is it posible in any mode??

Answers

  • Options
    whu606whu606 I'm not a SuperHero; I just like wearing tights... MVP

    @ch3ssmaster

    What are you trying to achieve?

    It may be that there is another way to go about it.

  • Options

    I need to modify function:
    "public static function Breadcrumbs($Data, $Format = '<a href="{Url,html}"> {Name,html}</a>', $HomeLink = TRUE)", declared in "class.theme.php" in library > core, line 39 for Vanilla version 2.0.
    I need modify breadcrumb format.

    I hope will be explanatory enough. If any other info is necessary please ask me.

  • Options
    whu606whu606 I'm not a SuperHero; I just like wearing tights... MVP

    @ch3ssmaster

    How do you want to modify the format?

    Can you post an image of the sort of thing you would like, even if it is very rough?

  • Options

    Is not a presentation question only. By default, last element in breadcrumb is locked by a anchor element. I´d like replace this last anchor by a span tag.

  • Options

    @ch3ssmaster said:
    Is not a presentation question only. By default, last element in breadcrumb is locked by a anchor element. I´d like replace this last anchor by a span tag.

    In fact, I made it easily replacing some code in that function, but will be better if could do without make changes in the original file, like overwriting the function from a theme file or overriding the file from theme

Sign In or Register to comment.