Posted November 20, 20186 yr 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 looks like this in language string i am trying {[?:forum]} which i thought would load name of current forum i even tried this 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 Edited November 20, 20186 yr by Bitlab Media Group
November 20, 20186 yr Author 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 Edited November 20, 20186 yr by Bitlab Media Group
November 20, 20186 yr 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.
November 20, 20186 yr Author I found this.. i dont know where that string shows up, but seems it loads name of forum.. 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
November 20, 20186 yr Where the string is used along with how the pluralization works. Edited November 20, 20186 yr by Aiwa Added docs link
November 20, 20186 yr Author yes, i just know understood my 2nd question on that. thanks ok! sorry for shouting the topic.. i know yall arent used to that. all respect. cheers! ~saraJ
Archived
This topic is now archived and is closed to further replies.