Is there a way to add this code without editing the templates?

Go down

Solved Is there a way to add this code without editing the templates?

Post by Guest on Mon 21 Sep 2015 - 3:50

Hello, I want to add this to my forum, so my users and can see how many topics/stickies/announcements there are. I've also read this topic and it told me to add a space to it. Is there a way for me to do it with JavaScript?


Last edited by Ghost on Mon 21 Sep 2015 - 4:12; edited 1 time in total

Guest
Guest


Back to top Go down

Solved Re: Is there a way to add this code without editing the templates?

Post by SLGray on Mon 21 Sep 2015 - 3:52

Is there a reason why you do not want to modify the templates?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 43153
Reputation : 3059
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Is there a way to add this code without editing the templates?

Post by Guest on Mon 21 Sep 2015 - 3:53

@SLGray wrote:Is there a reason why you do not want to modify the templates?
Things don't always work out when I do it.

Guest
Guest


Back to top Go down

Solved Re: Is there a way to add this code without editing the templates?

Post by SLGray on Mon 21 Sep 2015 - 3:57

This is really simple:

1.   Admin Panel ► Display ► Templates ► General ► topics_list_box

2.  Locate
Code:
{topics_list_box.row.topic.table_sticky.L_TITLE}
3.  Add a space after L_TITLE} and add this
Code:
({topics_list_box.row.topic.table_sticky.COUNT_TOTAL_TOPICS})
4.  Press Save

5.  Publish template


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 43153
Reputation : 3059
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Is there a way to add this code without editing the templates?

Post by Guest on Mon 21 Sep 2015 - 4:12

Okay, ty SLGray.

Guest
Guest


Back to top Go down

Solved Re: Is there a way to add this code without editing the templates?

Post by APE on Mon 21 Sep 2015 - 15:27

Topic solved and archived



avatar
APE
Administrator
Administrator

Male Posts : 12139
Reputation : 1241
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum