Customizing SMF > SMF Coding Discussion
How to display category in title site??
phantomm:
What about {board_name}? It's not the same thing?
MESWEB:
I don't think so. You only have to choose:
Possible variables: {board_name} — board name, {topic_name} — topic subject, {#} — current page number, {forum_name} — your forum name.
floridaflatlander:
I know what you mean I think in the old days smf had clickable category(board) links and you may have been able to get titles from that(or from a board id). This has been on here for two weeks now, if there was a solution you would have heard about it by now.
phantomm:
Correct me if I'm wrong, but I think that $context['categories']['name'] should give category name right?
MESWEB:
--- Quote from: phantomm on June 02, 2012, 04:17:50 PM ---Correct me if I'm wrong, but I think that $context['categories']['name'] should give category name right?
--- End quote ---
I try this befor i put here post. This is wrong code put me error:
--- Code: ---http://localhost/forum/index.php?action=search2
8: Undefined index: categories
Plik: C:/xampp/htdocs/forum/Themes/default/Search.template.php
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version