The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Script for Sub Forums:

View previous topic View next topic Go down

Solved Script for Sub Forums:

Post by Mati on September 30th 2015, 4:12 pm

I want a code to wright Sub Forums: before Subforums:


Last edited by Mati on October 1st 2015, 5:01 pm; edited 1 time in total

Mati
Active Poster

Posts : 1873
Reputation : 281
Language : || HTML || CSS || jQuery ||
Location : At the Gym

http://elite-gaming.forumotion.net/

Back to top Go down

Solved Re: Script for Sub Forums:

Post by Ange Tuteur on September 30th 2015, 4:26 pm

Hi @Mati,

Go to Display > Templates > General and edit the index_box template. Edit

Find :
Code:
{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}

Replace by :
Code:
<div class="sub-forums">{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</div>

Save and publish. Add


Then add the following CSS to your stylesheet.
Display > Colors > CSS stylesheet
Code:
.sub-forums:before {
  content:"Sub-forums : ";
}

.sub-forums:empty { display:none }

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2681
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Script for Sub Forums:

Post by Mati on October 1st 2015, 5:02 pm

Ah, cool you may lock it now and thanks for the help. Very Happy

Mati
Active Poster

Posts : 1873
Reputation : 281
Language : || HTML || CSS || jQuery ||
Location : At the Gym

http://elite-gaming.forumotion.net/

Back to top Go down

Solved Re: Script for Sub Forums:

Post by Ange Tuteur on October 1st 2015, 5:07 pm

You're welcome. ^^

Topic archived

Have a nice day. Smile

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2681
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


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