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 September 21st 2015, 3:50 am

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 September 21st 2015, 4:12 am; 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 September 21st 2015, 3:52 am

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 : 43668
Reputation : 3104
Language : English
Location : United States

http://fmthemesdesignteam.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 September 21st 2015, 3:53 am

@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 September 21st 2015, 3:57 am

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 : 43668
Reputation : 3104
Language : English
Location : United States

http://fmthemesdesignteam.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 September 21st 2015, 4:12 am

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 September 21st 2015, 3:27 pm

Topic solved and archived



avatar
APE
Administrator
Administrator

Male Posts : 12466
Reputation : 1305
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