[nodebb-plugin-glossary] Glossary Plugin for NodeBB
-
@crazycells said in [nodebb-plugin-glossary] Glossary Plugin for NodeBB:
additionally, is it possible to customize /glossary page just like the /feed page?
You can do this with
nodebb plugin customize
- there isn't a widget etc from recollection. -
@phenomlab said in [nodebb-plugin-glossary] Glossary Plugin for NodeBB:
@crazycells said in [nodebb-plugin-glossary] Glossary Plugin for NodeBB:
additionally, is it possible to customize /glossary page just like the /feed page?
You can do this with
nodebb plugin customize
- there isn't a widget etc from recollection.is adding this code to the top of the template enough?
<div data-widget-area="header"> {{{each widgets.header}}} {{widgets.header.html}} {{{end}}} </div>
or adding this to the bottom?
<div data-widget-area="footer"> {{{each widgets.footer}}} {{widgets.footer.html}} {{{end}}} </div>
I cannot see glossary.tpl in widget customize page...
-
@crazycells no, you won't do as there is no widget.
If you use the customize plugin, you can change it there
-
@phenomlab said in [nodebb-plugin-glossary] Glossary Plugin for NodeBB:
If you use the customize plugin, you can change it there
Yes, this is what I did. I added those codes above to the tpl file... one to the top, one to the bottom and saved, restarted the forum...
what else should I add to the tpl file to be able to edit the page in the widget customize section?
-
@crazycells I just tried this myself, and get the same result
Added
<div data-widget-area="header"> {{{each widgets.header}}} {{widgets.header.html}} {{{end}}} </div>
Rebuilt, reloaded, but nothing shows in the widget section.
-
maybe @baris can direct us... what codes should we add to the glossary.tpl file in order to be able to add widget to the page?
I am more interested in header and footer widgets, not side widgets...
-
@baris thanks a lot. looks great
what style/codes should I use to add links?
I can see all the HTML links and styles at .com/admin/plugins/glossary page in ACP, however everything is converted to plain text at .com/glossary page...
-
@crazycells That is not possible right now since all the content entered is escaped to make it safe for the front end. I can parse the
info
field like regular posts so you can use markdown in them. Please open an issue on the plugin page. -
@volanar said in [nodebb-plugin-glossary] Glossary Plugin for NodeBB:
@baris can you change the code so that the plugin doesn't look for keywords in the url?
I think it is not checking URLs.
-
@crazycells said in [nodebb-plugin-glossary] Glossary Plugin for NodeBB:
@volanar said in [nodebb-plugin-glossary] Glossary Plugin for NodeBB:
@baris can you change the code so that the plugin doesn't look for keywords in the url?
I think it is not checking URLs.
No
-