We are going to hide the {last_modified_by}
tag on the page Contact Us. However, it has to be still displayed on all other pages.
1. Open the template Business World for editing (Layout | Templates).
2. Add the Smarty IF code around the
{last_modified_by…}
tag, as shown in the following code snippet:<!DOCTYPE html> <html> <head> <title>{title} - {sitename}</title> {stylesheet} {metadata} <meta name="description" content="" /> </head> <body> <div id="container"> <div id="header"> businessWorld </div> <div id="top-navi"> {menu number_of_levels="1" template="minimal_menu.tpl"} </div> <div id="content"> <h1>{title}</h1> {content} {if $page_alias neq "contact-us"} output, Smarty basicstags, hiding<p>Last modified by {last_modified_by format= "fullname"}</p> {/if} </div> <div id="sidebar"> {menu start_level="2" template...