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...
I hope somebody can help me out or at least direct me into the right direction.
Thanks, Civic
« Last Edit: February 13, 2006, 11:05:59 PM by Civic »
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.
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......)
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.
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
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)
Nonono do not just remove the code! 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:
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
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..
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(?).
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!
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?
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.
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