HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Name of parent category
-
Re: Name of parent category
-
Re: Name of parent category
@marthajane77 said in the sixth post in this thread: "would you happen to know how to display parent category as well as child in discussion links? (see attached pic)." I have the same question. However I don't want to edit core files, I'm writing a plugin. So, I'd love to show the category "chain" up there - like instead… -
Re: Name of parent category
-
Re: Name of parent category
Thanks @R_J, Thanks for your thoughts. In the end I wanted the least hacky option. So that it's futureproof. So in the end I just echoed the parent category in square brackets after the child category. So, where it used to say "Child" now it says "Child [PARENT]". Here is the code for anyone's future reference. public… -
Re: Name of parent category
-
Re: Name of parent category
Hi again Lisa, I feel like some more basics are in order here, learning a bit about programming as a whole would be a good start. Let's get to it! First off, randomly editing files, no matter the language, is always a very bad idea. In the above case, take a look at the $CssClass-thingy. This is a variable (see how it's… -
Re: Name of parent category
Hi Lisa, No bother at all, the community is here to help! I'm thrilled to hear that you've learnt a thing or two from playing around with Vanilla! As for the code, I see now that I made a small mistake, one that will hopefully help teach another valuable lesson about PHP. The word array is exactly what we want to see - it… -
Re: Name of parent category
Hi Kasper, Firstly, I'm sorry if I'm any bother. I have read your comment (and I can even say I've learned some valuable facts from you too - thank you). * I can honestly say that building my Vanilla forum has taught me more over the past two months than self-taught web development has over the past ten years! I am certain…
9 results