Re: How to get rid of the displayed articles on front page..
Posted 17 years 3 months ago
Alme, when someone clicks on the "Latest News," It is going to need that mainbody...
I am not sure I can help you with this, there are too many factors. Removing the mainbody from the home page is easy. Removing it from ALL pages is easy (although it doesn't make sense), but to have it show in certain instances... The nest suggestion I would make is to create two templates and hook them together so they use the same CSS, and remove the mainbody from one and leave it in the other...
BUT, That is not something I could help do over a forum. I would actually need to be paid to do something like that, because it can be tricky.
If you know enough, then do it yourself, and just apply the template with the mainbody to the pages (menu items) that need it...
Or, alternatively, perhaps someone else on the forum can help you do that...
Re: How to get rid of the displayed articles on front page..
Posted 17 years 3 months ago
Ok Heather Claus I understand.Thank you very much for ur help.If u could help me just to align the position of user 3 with left and right as shown in the picture.
For the mainbody please send me a Pm with the price and banking details.
Re: How to get rid of the displayed articles on front page..
Posted 15 years 10 months ago
Hey Gang,
I have a similar issue. Fairly new to all of this so didn't quite understand how this worked.
I would like to remove the main content area from just the homepage. I have attached a file and my code. Can someone give my a hand please
Thanks
<?php
/**
* @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
">
<html xmlns="
www.w3.org/1999/xhtml
" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
<jdoc:include type="head" />