SMF Support > SMF 2.0.x Support

how to insert board name in board description of message index in smf2.0.2

<< < (2/2)

hcfwesker:
Messageindex.template.php

Find

--- Code: --- <p class="description_board">', $context['description'], '</p>';
--- End code ---

Replace with

--- Code: --- <p class="description_board"><strong>', $context['name'], ':</strong> ', $context['description'], '</p>';
--- End code ---

If you don't like the Board Name in bold in front of the description, just remove the two <strong> tags in the edited line.

fullmoonya:

--- Quote from: hcfwesker on February 25, 2012, 01:09:03 PM ---Messageindex.template.php

Find

--- Code: --- <p class="description_board">', $context['description'], '</p>';
--- End code ---

Replace with

--- Code: --- <p class="description_board"><strong>', $context['name'], ':</strong> ', $context['description'], '</p>';
--- End code ---

If you don't like the Board Name in bold in front of the description, just remove the two <strong> tags in the edited line.

--- End quote ---

that works nice! thanks for the help sir. :)

Navigation

[0] Message Index

[*] Previous page

Go to full version