Home arrow Forum Trying to remove two 'parts' on my forum's site / Joomla v1.0.7
  Welcome, Guest. Please login or register.
Did you miss your activation email?
January 09, 2009, 04:28:16 AM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Core Discussion
| |-+  Joomla 1.0.x
| | |-+  Trying to remove two 'parts' on my forum's site / Joomla v1.0.7
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Trying to remove two 'parts' on my forum's site / Joomla v1.0.7  (Read 3784 times)
Civic
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile
Trying to remove two 'parts' on my forum's site / Joomla v1.0.7
« on: February 13, 2006, 07:18:05 PM »

http://www.legacyweapon.net/index.php?option=com_smf&Itemid=43 (Please don't register or anything...)

I still need to fix a lot of things, especially the CSS of the forum part, but first I want to prepare everything else. Now to my problem... I'd like to only have the forum under the two banners you see at the top. I want to remove the box which is left on the left for some reason but can't find where. I checked all modules/menus (mainmenu, usermenu, othermenu) which are set to be on the 'left' and unchecked the forum site in all of them... but there's still the mentioned box and I can't get rid of it.

My second problem: I'd also like to remove the bar above the forum (with 'Home - Forum' in it). I've checked all modules etc for this as well, without luck... Sad


I hope somebody can help me out or at least direct me into the right direction. Smiley

Thanks,
Civic
« Last Edit: February 13, 2006, 11:05:59 PM by Civic » Logged
joomlanewbie
Joomla Master
***

Karma: +20/-5
Offline Offline

Posts: 145


View Profile
Re: Trying to remove two 'parts' on my forum's site / Joomla v1.0.7
« Reply #1 on: February 14, 2006, 07:37:01 AM »

You are using a modified version of the Rhuk Solarflare template.
The sections you are referring to are the left side table cell and the 'pathway 'section.


Edit your index.php and look for PATHWAY() where that is output, you will find the table def and you can remove the pathway output command. (you will have to edit the table so that the other cells grow appropriately otherwise the table will be 'unbalanced' and the template will appear broken.

Also, look for....
<tr>
              <td bgcolor="#colorcode" ><?php if (mosCountModules('left')>0) mosLoadModules('left','true'); ?>
              </td>
            </tr>


The above PHP code (in the area bordered by <?PHP... ?>) checks to see if any modules have been assigned to the LEFT position, and if so, outputs them.

There are two ways to go about this.

You can make the table autosizing so that with no content it disappears, or you can move the table cell definition WITHIN the IF test for left modules, so that if there are no LEFT modules it wont define the table section.

These are just untested ideas to try but they are on the right track.

(I'd have to install the Solar Flare template myself and try it out, which is a bit of a bother...Now, If were a member......Cheesy)


Logged
Civic
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile
Re: Trying to remove two 'parts' on my forum's site / Joomla v1.0.7
« Reply #2 on: February 14, 2006, 02:51:22 PM »

Thanks for the tips, I was able to remove the pathway.


About the 'left' menu, though... it simply doesn't work. I tried PHP if etc, I tried copying code from other menus in the index.php (which disappear properly when disabled for a certain site; of course without forgetting to adapt the menu's name) but kept getting errors (making the complete website not work at all), no matter how I put it. I also tried adding an autosized table around it (there isn't one for 'left') but this didn't change anything.

Any other ideas? Sad
Logged
joomlanewbie
Joomla Master
***

Karma: +20/-5
Offline Offline

Posts: 145


View Profile
Re: Trying to remove two 'parts' on my forum's site / Joomla v1.0.7
« Reply #3 on: February 20, 2006, 04:40:28 AM »

Hmmm..... In the index.php
----snip---
<div id="left_outer">
   : :           
</div>
-----snip----


note: that snipped segment has the code to display left modules so that position will -cease to exist- unless you move that code somewhere else
(add it to the "module right" publishing code) or edit the mod positions in the backend.


Also note: and this is more serious, there will now be a space on the right side..

I fiddled with the unpublishing all 'right' elements just long enough to remember why I dont like that boxy template Sad

I'm sorry I dont have the time right now to fiddle with it much more.

I would however SERIOUSLY look at using another template.
The MATRIX one here looks closest to the look you seem to be trying to get. (In Template downloads)
Logged
p9939068
Joomla Expert
****

Karma: +18/-5
Offline Offline

Posts: 173


View Profile WWW
Re: Trying to remove two 'parts' on my forum's site / Joomla v1.0.7
« Reply #4 on: March 02, 2006, 01:14:45 AM »

Nonono do not just remove the code! Wink
This is what you can do
-either-
1) go to Joomla-SMF configuration and set it to upwrapped mode, though this will remove the top banner too.
-or-
2) go to file: templates/[current template]/index.php
find:
Code:
<div id="left_outer">
  <div id="left_inner">
    <?php mosLoadModules 'left' , -); ?>
  </div>
</div>
and change it to:
Code:
<?php if ($_REQUEST['action'] != 'com_smf') { ?>
<div id="left_outer">
  <div id="left_inner">
    <?php mosLoadModules 'left' , -); ?>
  </div>
</div>
<?php ?>

Quote
My second problem: I'd also like to remove the bar above the forum (with 'Home - Forum' in it).
File: [smf folder]/themes/[current theme]/index.template.php
Search for "template_menu();". Remove that line and modify the surrounding codes to make it look better (if you wish to).
Alternatively, you can choose what buttons to show. Scroll down and search for the function "function template_menu()", and remove the buttons you dont want. Personally i prefer to leave Home, Help, Search and Admin. You may change the button's image, and even add your own links like "Who's Online".

My suggestion though, is to leave the joomla left panel there and not remove it when the user is viewing the forum. 2 Reason: 1) smf does not provide navigational links for joomla, and 2) it makes your site look "whole" and not divided into the site and the forum.
I understand the links in your top menu are identical to the left menu. to have duplicate links on the same page linking to the same page in the site is bad actually bad design practice Smiley

Hope this helps.

Rgds, Mike
« Last Edit: March 02, 2006, 01:27:21 AM by p9939068 » Logged

-----
Owner of http://mike.simbunch.com
Creator of ParaInvite, AJAX Sandbox, AJAX SMF Polls, Profile URL etc..
Civic
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile
Re: Trying to remove two 'parts' on my forum's site / Joomla v1.0.7
« Reply #5 on: March 02, 2006, 01:49:46 AM »

Thanks, but this didn't work either, unfortunately. I replaced the said code as you posted but it's still the same, box on the left still there. Could there be a little mistake in it or so? When I tried to mess with the code of the left menu myself or adapted it so it looks like the one for the right module, I got errors... yours didn't, so it might eventually work, if fixed(?). Undecided
Logged
joomlanewbie
Joomla Master
***

Karma: +20/-5
Offline Offline

Posts: 145


View Profile
Re: Trying to remove two 'parts' on my forum's site / Joomla v1.0.7
« Reply #6 on: March 05, 2006, 11:02:58 PM »

RHUK SOLARFLARE is a VERY BOX and table driven template. Internally it as ugly as any I've seen and very inflexible to modify than most. It's boxy square assignments though full of little spaces for you to put thing, leave you NO OPTION when you not only 'want to put something there' you don't even want 'there' to be there in the first place!

Again, your best bet is to choose another template that looks close to it without the extra stuff which is almost uneditable. The time you can spend tweaking some of these BS templates, you could easily create one from scratch yourself!
Logged
Jay Harris
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 1


View Profile
Re: Trying to remove two 'parts' on my forum's site / Joomla v1.0.7
« Reply #7 on: March 25, 2006, 01:13:40 AM »

Thanks for the tips, I was able to remove the pathway.


About the 'left' menu, though... it simply doesn't work. I tried PHP if etc, I tried copying code from other menus in the index.php (which disappear properly when disabled for a certain site; of course without forgetting to adapt the menu's name) but kept getting errors (making the complete website not work at all), no matter how I put it. I also tried adding an autosized table around it (there isn't one for 'left') but this didn't change anything.

Any other ideas? Sad

I'm having this problem, too. There's no 'left' option for module placement on the drop down list so can't get modules to show up at all on the left side. The strange thing is that some modules have placement show as 'left' in the module panel, but when they are opened to be edited they show up as 'advert1' and, as mentioned, there's no 'left' option at all on the drop down list. Don't know how else to say it, but it is VERY frustrating as I can't administrate the modules. Hopefully someone can help. FYI, I'm using RKDreamwoman2 template.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Joomla Comment
Search Contact About Advertise Blogs Topsites Submit News Register Login