Jump to content

CHANGE FORUM TOPIC COUNT HEADER


Bitlab Media Group

Recommended Posts

I am trying to do a customization where, i change TOPIC COUNT of the FORUM - into just the name of the forum..

Trying to use English Language translation - but not sure if there is a short-code for NAME of current forum the way there is for current TOPICS.

{# [1:topic][?:topics] in this forum} in english translation shows this

289612812_ScreenShot2018-11-20at10_50_16AM.jpg.60166cc65c2544769ee7a2ad522f7002.jpg

looks like this in language string

297782723_ScreenShot2018-11-20at6_27_20PM.thumb.jpg.26693397a7e15aedf1c30869aabab7e3.jpg

i am trying {[?:forum]} which i thought would load name of current forum

i even tried this

627145609_ScreenShot2018-11-20at6_37_09PM.jpg.ea0c320db70d657f8ca16ca3f0d0c735.jpg

which seemed logical, but didnt return name of current forum.

The url of the page is like this

..../forums/forum/11-body-rubs/

so i know the forum name is loading on that page, but want to know the short-code if possible, to pull in JUST the NAME of the forum not the blurb "1 topic in this forum"

Maybe i need to change the HTML of the page.. don't know where that would happen as I am not used to editing the html in the ACP just css, and other things like Language..

Thanks for any guidance.

~saraJ

 

Link to comment
Share on other sites

Ok thanks, i get you, again im trying to post name of forum, if it can't be pulled through translation, how might i achieve that? When i say short code trying to pull in something as i've seen in translations.. with %% etc.. Just a way to load the name of forum.

Again, maybe i need to edit html.

I am brand new to IPS been learning for a new client, used to raw html, php, wordpress etc, trying to learn here.

Again thanks,

~saraJ

Screen Shot 2018-11-20 at 6.41.52 PM.jpg

Link to comment
Share on other sites

You would have to customize the template and pass the forum name into the language string, in addition to changing the language string to accept another parameter.  

This isn't something you can do solely in languages because languages are forum agnostic.  They don't have any context of where they are being used unless given that information from the theme.

Link to comment
Share on other sites

I found this.. i dont know where that string shows up, but seems it loads name of forum..

1077419725_ScreenShot2018-11-20at6_49_52PM.thumb.jpg.e9f59bc37a2d9aa35d8a36feffd04a3f.jpg

4 minutes ago, Aiwa said:

You would have to customize the template and pass the forum name into the language string, in addition to changing the language string to accept another parameter.  

This isn't something you can do solely in languages because languages are forum agnostic.  They don't have any context of where they are being used unless given that information from the theme.

OK thanks for that comment.

~saraJ

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...