Not signed in (Sign In)

Categories

Vanilla 1.1.5 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthorLord_Coder
    • CommentTimeSep 25th 2006
     # 1
    Hi all ,

    i want make discussion's titles look like :
    DISCUSSION_NAME - CATEGORY
    How to do that ?
    ( sorry i dont know how vanilla's php scripts work ...) .

    Thanks ,

    Bouazza .
    • CommentAuthorSirNot
    • CommentTimeSep 25th 2006
     # 2
    Go into comments.php, and on line 42, change$Context->PageTitle = $CommentGrid->Discussion->Name; into $Context->PageTitle = $CommentGrid->Discussion->Name.' - '.$CommentGrid->Discussion->Category;
    • CommentAuthorLord_Coder
    • CommentTimeSep 25th 2006
     # 3
    Thanks very much SirNot , i have another question , is there a documentation about vanilla's php scripts ?
    •  
      CommentAuthorDinoboff
    • CommentTimeSep 25th 2006 edited
     # 4
    • CommentAuthorLord_Coder
    • CommentTimeSep 25th 2006
     # 5
    No , i mean a doc for developpers .
    • CommentAuthorSirNot
    • CommentTimeSep 25th 2006
     # 6
    The 'find in files' function in emeditor to come in handy a lot, but it also helps to explore the source and try to figure out how mark has approached the project/its components (eg. where is he most likely to have put function/class/variable assignment/whatever X?).
    • CommentAuthorLord_Coder
    • CommentTimeSep 25th 2006
     # 7
    I dont find this line on my comments.php :
    $Context->PageTitle = $CommentGrid->Discussion->Name;
    Its because i use Vanilla Blue theme , but i ill try to see how the theme's scripts are designed ...
    • CommentAuthorLord_Coder
    • CommentTimeSep 26th 2006
     # 8
    Ah yes , you mean Vanilla's comment.php on the root and not the theme's one !
    • CommentAuthorLord_Coder
    • CommentTimeSep 26th 2006
     # 9
    Where is the Context class declaration ?

    Thanks for your time !
    •  
      CommentAuthorDinoboff
    • CommentTimeSep 26th 2006 edited
     # 10
    Look in library/Framework/Framework.Class.Context.php. Almost each class is in a file in library with its name in the title.
Add your comments
    Username Password
  • Format comments as