Search Box In Header

Permalink Browser Info Environment
How do I disable/remove the search box that is in the header area of each page?

Type: Discussion
Status: Resolved
View Replies:
c5studio replied on at Permalink Reply
In the following file: "/packages/theme_businesstheme/themes/businesstheme/elements/header.php" you can remove lines 34-40 which is this sections:
<div id="search">
   <form action="/index.php/search/" method="post">
      <input type="hidden" name="search_paths[]" value="">
      <input type="text" id="search-field" class="search_text" name="query"/>
      <input type="submit" value="" id="search-submit" class="search_button"/>

concrete5 Environment Information

# concrete5 Version

# concrete5 Packages
BusinessTheme (1.5.1), LoadFooV2 (1.0).

# concrete5 Overrides
languages/fi_FI, languages/ru_RU, languages/sv_SE, languages/es_MX, languages/fa_IR, languages/es_AR, languages/zh_CN, languages/nb_NO, languages/zh_TW, languages/ro_RO, languages/ja_JP, languages/es_PE, languages/sl_SI, languages/cs_CZ, languages/ar, languages/de_DE, languages/fr_FR, languages/da_DK, languages/sk_SK, languages/nl_NL, languages/he_IL, languages/es_ES, languages/tr_TR, languages/pt_PT, languages/el_GR, languages/vi_VN, languages/it_IT

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off

# Server Software

# Server API

# PHP Version

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, enchant, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, ionCube Loader, json, ldap, libxml, mbstring, mcrypt, mhash, mysql, mysqli, odbc, openssl, pcntl, pcre, PDO, pdo_dblib, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, readline, recode, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend Guard Loader, zip, zlib.

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 128M
post_max_size - 10M
sql.safe_mode - Off
upload_max_filesize - 10M
ldap.max_links - Unlimited
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; Touch; rv:11.0) like Gecko

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.