View Full Version : Removing site name and description text - Resolved
Neticus
12-06-2005, 03:58 AM
Ok ive searched but to no avail. Have also tampered with my files but still nothing. So the question is
How do I get the site name and description NOT to show up on the main index page? This is the information that goes into that space you fill in (via admin) - Site: name, URL, description. Apparantly these are required fields so I just cant leave them blank. So please which file do i need to edit and where to suppress the 'site name', and 'description' from shown on the index page? I haven't had any luck localising it to that space only.
Thanks. Neticus.
dagger
12-06-2005, 03:45 PM
1- open header.tpl
2- delete <h1 id="title">{$in_page_title}</h1>
<p id="descr">{$description}</p>
thats it
Neticus
12-06-2005, 04:06 PM
Yes ive already tried that but that also removes title and description for categories. I just want to supress the site title and description from showing on that first page.
thanks anyway :)
Perhaps someone can tell me how to make the required fields for 'site name, description' unrequired so I can leave them blank?
Thanks
Neticus
vkaryl
12-06-2005, 05:30 PM
Somewhere in here is a little mod to show stuff only on the index page; I can't find it right now, don't have time to do a deep search, but you might dig around some....
Another possibility: try using a space in those required fields and see if it "fools" it. Though I think that might make them blank on all pages....
Post back, if that doesn't work or you can't find that little mod; I've got it in file somewhere, I'll try to hunt it up and post it later.
Neticus
12-09-2005, 04:46 PM
Thanks, yes i tried 'fooling' the required fields by placing a space, it worked yet like predicted it also removed the site title i.e. 'Home' from the breadcrumb bar. A space in the 'site description' field was okay because site desc only appears on the first page.
Ive tried searching for the mod you suggested yet couldn't find it perhaps im using the wrong keywords. Well i'll keep searching but if you do manage to stumble upon it. Appreciated.
thanks
Neticus
bobby9101
12-10-2005, 10:04 PM
i will need to wrap them in an {if blah blah blah}{/if}
replace the blah blah blah with some code that will only display on non mian pages
do a search you will find it
i know it is posted somewhere
Neticus
01-24-2006, 03:08 AM
Resolution:
http://www.phplinkdirectory.com/forum/showthread.php?t=2986
vBulletin® v3.8.0, Copyright ©2000-2012, Jelsoft Enterprises Ltd.