| Author |
Message |
moonrunner |
|
Post subject: left block question
Posted: Oct 15, 2005 - 08:29 PM
|
|
Joined: Oct 15, 2005
Posts: 7
Status: Offline
|
|
installed a roster module and need to remove the navigation panel for the roster page as follows:
Finally, as the roster application takes up the full-width of the page, it is best to modify your theme to ensure that it will remove the left navigation panel to lessen the need for scrolling.
So go to the themes\YOURTHEME folder, where YOURTHEME is the name of the theme you are using, open up the theme.php page and find the section where the 'blocks(left)' is set. Replace it with the following code.
if ($name=='GuildRoster') { // remove left blocks for these modules //
}
else {
blocks(left);
}
couldn't figure how to do this as it appears autotheme blocks work differently.
any help here?
thanks |
|
|
| |
|
|
|
 |
mars |
|
Post subject:
Posted: Oct 15, 2005 - 08:30 PM
|
|
Site Admin

Joined: Aug 15, 2004
Posts: 4277
Status: Offline
|
|
| What theme are you using? |
|
|
| |
|
|
|
 |
moonrunner |
|
Post subject:
Posted: Oct 15, 2005 - 10:26 PM
|
|
Joined: Oct 15, 2005
Posts: 7
Status: Offline
|
|
|
|
|
 |
mars |
|
Post subject:
Posted: Oct 16, 2005 - 01:05 AM
|
|
Site Admin

Joined: Aug 15, 2004
Posts: 4277
Status: Offline
|
|
| Go into Admin, AutoTheme, Themes, WoW, create a custom page for the module and set it to use forums.html as its main template. |
|
|
| |
|
|
|
 |
moonrunner |
|
Post subject:
Posted: Oct 16, 2005 - 06:54 AM
|
|
Joined: Oct 15, 2005
Posts: 7
Status: Offline
|
|
Ok I did that and got the guildroster custom page listing with block edits.
disabled all blocks for the page and still have all the left blocks.
on a simular note I also have the same left blocks on the forum page startingat the top with the default navigation block labled modules(haven't renamed it yet).
granted I'm a noob at this but it appears that the roster module puts a memberspage.php or related type page in the center block of a default wow1phpnuke theme page. Due to the lenght of the roster listing from an imported lua file from the game WoW the center block acts like a scroll block and the main roster page scroll as well.
lossing the left blocks would make the theme page static and only the center block with the actual roster would scroll.
thanks again for any help |
|
|
| |
|
|
|
 |
mars |
|
Post subject:
Posted: Oct 16, 2005 - 01:22 PM
|
|
Site Admin

Joined: Aug 15, 2004
Posts: 4277
Status: Offline
|
|
| Can you post a link to the site so I can see what is happening? |
|
|
| |
|
|
|
 |
moonrunner |
|
Post subject:
Posted: Oct 16, 2005 - 04:33 PM
|
|
Joined: Oct 15, 2005
Posts: 7
Status: Offline
|
|
| www.lordmoonrunner.dynu.com |
|
|
| |
|
|
|
 |
mars |
|
Post subject:
Posted: Oct 16, 2005 - 04:58 PM
|
|
Site Admin

Joined: Aug 15, 2004
Posts: 4277
Status: Offline
|
|
Not Found
The requested URL /ancient/ was not found on this server.
Apache/1.3.33 Server at localhost Port 80 |
|
|
| |
|
|
|
 |
moonrunner |
|
Post subject:
Posted: Oct 16, 2005 - 05:21 PM
|
|
Joined: Oct 15, 2005
Posts: 7
Status: Offline
|
|
| Strange the url works for me |
|
|
| |
|
|
|
 |
mars |
|
Post subject:
Posted: Oct 16, 2005 - 06:34 PM
|
|
Site Admin

Joined: Aug 15, 2004
Posts: 4277
Status: Offline
|
|
I got it to work.
Ok here is what you will have to do.
Create a copy of theme2.html and name it roster.html
Open it up and look for
Code:
<tr>
<td width="160" align="center" valign="top"><!-- [left-blocks] --></td>
<td align="center" valign="top"> <!-- [modules] --></td>
</tr>
Replace it with
Code:
<tr>
<td align="center" valign="top"><!-- [modules] --></td>
</tr>
Then upload it to themes/wow/
Then create the custom module in AT admin for the roster and set it to use roster.html as it's main template. |
|
|
| |
|
|
|
 |
moonrunner |
|
Post subject:
Posted: Oct 17, 2005 - 03:44 AM
|
|
Joined: Oct 15, 2005
Posts: 7
Status: Offline
|
|
|
|
|
 |
mars |
|
Post subject:
Posted: Oct 17, 2005 - 11:26 AM
|
|
Site Admin

Joined: Aug 15, 2004
Posts: 4277
Status: Offline
|
|
| Can you create me an admin account? PM me the login information here. |
|
|
| |
|
|
|
 |
moonrunner |
|
Post subject:
Posted: Oct 21, 2005 - 07:21 PM
|
|
Joined: Oct 15, 2005
Posts: 7
Status: Offline
|
|
I just moved the site to payed hosting and as soon as I get back to the roster mod I'll make ya an account.
in the mean time I need a block that I can use as a navagation block for guild info pages I make.
After trying several things I haven't been able to do that except possable thru the content manager but thats not documented.
my first is CodeofConduct.php which I need to open from the title listing in the guild info block. |
|
|
| |
|
|
|
 |
mars |
|
Post subject:
Posted: Oct 21, 2005 - 11:37 PM
|
|
Site Admin

Joined: Aug 15, 2004
Posts: 4277
Status: Offline
|
|
| Use a regular HTML block and use the a href tag to do the links. |
|
|
| |
|
|
|
 |
Aegen |
|
Post subject:
Posted: Nov 16, 2005 - 02:23 PM
|
|
Joined: Nov 11, 2005
Posts: 14
Status: Offline
|
|
| I too am having the same trouble. I've tried the couple of suggestions you've made here Mars, and they didn't work for my site either. It seems when I make a custom page in AutoTheme for the roster module that any of the changes I make are implemented. It's almost as if it's pulling the theme from another file. Anyhow, you're the expert on this and I'm probably way off. Do you have any other suggestions? |
|
|
| |
|
|
|
 |
|
|