• 0
Sign in to follow this  
Followers 0
Comendator

how to remove button "start new topic" from index

Question

help me? tutorial posted on this forum dont work for me, im use this code

[data-pagemodule="forums"][data-pagecontroller="index"] .cForumHeader h1.ipsType_pageTitle {
    display: none;
}

works removing "Forums" name, but button dont remove.

0

Share this post


Link to post
Share on other sites

3 answers to this question

  • 1

Delete in forums/front/index/index the following 

{{if \IPS\Member::loggedIn()->member_id}}
		<ul class='ipsToolList ipsToolList_horizontal ipsClearfix ipsPos_right'>
			<li class='ipsToolList_primaryAction ipsResponsive_hidePhone'>
				<a class="ipsButton ipsButton_medium ipsButton_important" href="{url="app=forums&module=forums&controller=forums&do=add" seoTemplate="topic_non_forum_add_button"}" data-ipsDialog data-ipsDialog-size='narrow' data-ipsDialog-title='{lang="select_forum"}'>{lang="start_new_topic"}</a>
			</li>
			{template="viewChange" group="global" app="forums" params=""}
		</ul>
	{{endif}}

 

1

Share this post


Link to post
Share on other sites
  • 0

Thanks, work for me.

0

Share this post


Link to post
Share on other sites
  • 0
The question(s) in this support topic have been answered and the topic author has resolved their issue. This topic is now closed. If you have other questions, please open a new topic.
0

Share this post


Link to post
Share on other sites

What do you think? Remember the human.

Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.