-
AuthorPosts
-
March 28, 2009 at 5:42 pm #139683
Hi,
how can remove “you are here” and body?Thank
Arvind Chauhan ModeratorArvind Chauhan
- Join date:
- September 2014
- Posts:
- 3835
- Downloads:
- 74
- Uploads:
- 92
- Thanks:
- 1240
- Thanked:
- 1334 times in 848 posts
March 28, 2009 at 5:50 pm #298711If you want to remove the whole Breadcrumbs body along with the search module :
Take backup of your template index.php before trying this :
OPen your templates/ja_opal/index.php and around line 163 :
Remove the following block of code :
[PHP]<!– PATHWAY –>
<div id=”ja-pathway” class=”wrap”>
<div class=”main”>
<div class=”inner clearfix”><div class=”ja-pathway-text”>
<strong>You are here:</strong><jdoc:include type=”module” name=”breadcrumbs” />
</div><?php if ($this->countModules(‘user4’)) { ?>
<div id=”ja-search”>
<jdoc:include type=”modules” name=”user4″ style=”raw” />
</div>
<?php } ?></div>
</div>
</div>
<!– //PATHWAY –>[/PHP]March 28, 2009 at 5:54 pm #298712Ok, but in this way i have eliminate only “you are here”, now i can remove the body module?
Thank you
Arvind Chauhan ModeratorArvind Chauhan
- Join date:
- September 2014
- Posts:
- 3835
- Downloads:
- 74
- Uploads:
- 92
- Thanks:
- 1240
- Thanked:
- 1334 times in 848 posts
March 28, 2009 at 6:08 pm #298715<em>@wlfmarcus 121100 wrote:</em><blockquote>Ok, but in this way i have eliminate only “you are here”, now i can remove the body module?
Thank you</blockquote>
I am not sure if removing the body is a good idea, thats the main container to publish and display article and body is not a module.
May be telling us what you plan to do with your body, may help in finding options for you.
March 28, 2009 at 6:12 pm #298717i want to remove because for now it no necessary, if in the future i want it, replace index.php with the original.
Arvind Chauhan ModeratorArvind Chauhan
- Join date:
- September 2014
- Posts:
- 3835
- Downloads:
- 74
- Uploads:
- 92
- Thanks:
- 1240
- Thanked:
- 1334 times in 848 posts
March 28, 2009 at 6:29 pm #298720<em>@wlfmarcus 121106 wrote:</em><blockquote>i want to remove because for now it no necessary, if in the future i want it, replace index.php with the original.</blockquote>
To make it clear it to you, if you remove body from your template, you wont be able to show any articles / news in the body area and its the body where all your main articles are shown.
Still if you want to confirm it yourself try this after taking backup of your index.php around line 186
[PHP]<!– CONTENT –>
<div id=”ja-mainbody”>
<jdoc:include type=”message” /><div id=”ja-current-content” class=”clearfix”>
<jdoc:include type=”component” />
</div>[/PHP]Change it to
[PHP]
<!– CONTENT –><div id=”ja-mainbody”>
<div id=”ja-current-content” class=”clearfix”>
</div>
[/PHP]Now try to open any article and you wont see it coz the body area is gone.
Trust me removing body area will not work for any template, if you wish to show articles.
March 28, 2009 at 6:32 pm #298721Ok very very very Thanks
Arvind Chauhan ModeratorArvind Chauhan
- Join date:
- September 2014
- Posts:
- 3835
- Downloads:
- 74
- Uploads:
- 92
- Thanks:
- 1240
- Thanked:
- 1334 times in 848 posts
March 28, 2009 at 6:37 pm #298723If i was you, i would not have tried this or even though of this, you have made me very curious about what you plan to do with the template. Once you ar done developing / crashing your site, do post a live url, would love to see what you are upto.
I hope you have taken backup of your files. Best of luck and cheers.
-
AuthorPosts
This topic contains 9 replies, has 2 voices, and was last updated by wlfmarcus 15 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum