[QUESTION] Style

Posts from previous Beta sessions

[QUESTION] Style

Postby DaarianneDarkmoon » Wed Aug 15, 2007 9:29 pm

I would like to know where i can malke changes to the style, besides the css?

The template folder is empty. As it seems templates are generated via php and places into the cage folder.

now i would like to change some elements, eg. placing the "Function" Menu above the "Config" menu in the CP. Or change the width of the "File Version" Menu in the RosterDiag. How and where can I do that?

Thanks
User avatar
DaarianneDarkmoon
WR.net Apprentice
WR.net Apprentice
 
Posts: 48
Joined: Wed Jul 12, 2006 12:34 am

[QUESTION] Style

Postby PleegWat » Wed Aug 15, 2007 9:41 pm

The header, footer, and news module have templates. The rest is still in the php pages, I'm afraid.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

[QUESTION] Style

Postby DaarianneDarkmoon » Wed Aug 15, 2007 9:52 pm

darn :/

any way i can change the output? php-wise

I would like to use a certain width for all pages and some elements just break out...
User avatar
DaarianneDarkmoon
WR.net Apprentice
WR.net Apprentice
 
Posts: 48
Joined: Wed Jul 12, 2006 12:34 am

[QUESTION] Style

Postby PleegWat » Thu Aug 16, 2007 1:10 am

If the element in question is the menu, that's actually templated, and I think the design could be made narrower.

I think the memberslist is the only module likely to get wider than the menu. Its columns can be turned visible/invisible using the javascript and in the memberslist config.

If it's some other element, please be specific. Also, if you can tell what width you're aiming for that may help.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

Re: [QUESTION] Style

Postby DaarianneDarkmoon » Thu Aug 16, 2007 1:44 am

PleegWat wrote:I think the memberslist is the only module likely to get wider than the menu. Its columns can be turned visible/invisible using the javascript and in the memberslist config.

If it's some other element, please be specific. Also, if you can tell what width you're aiming for that may help.


quoting myself ;)
now i would like to change some elements, eg. placing the "Function" Menu above the "Config" menu in the CP. Or change the width of the "File Version" Menu in the RosterDiag. How and where can I do that?


its manly confis stuff. it does not look bad with my general settings, but calling upon certain submenus in the CP will move the "Config" block too far o the right.
So a main thing would be to place the Config block from the right side to the left, above the submenu
User avatar
DaarianneDarkmoon
WR.net Apprentice
WR.net Apprentice
 
Posts: 48
Joined: Wed Jul 12, 2006 12:34 am

Re: [QUESTION] Style

Postby DaarianneDarkmoon » Thu Aug 16, 2007 2:28 am

Here some screens to help understanding what i am looking for:

The following are AS IS
Image

Image

Image

Image


These are not essential, but would be nice to change the width by a few pix, so it won't add scrollbars at the bottom...

Image

Image


This is what I would like to do in the Menu:

Image

Image

Image
Last edited by DaarianneDarkmoon on Thu Aug 16, 2007 2:36 am, edited 1 time in total.
User avatar
DaarianneDarkmoon
WR.net Apprentice
WR.net Apprentice
 
Posts: 48
Joined: Wed Jul 12, 2006 12:34 am

[QUESTION] Style

Postby zanix » Thu Aug 16, 2007 11:22 am

RosterCP is auto generated in lib/config.lib.php

I may change the layout, but there isn't an easy way to change this
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

[QUESTION] Style

Postby PleegWat » Thu Aug 16, 2007 12:59 pm

To change the layout of the boxes in the config page itself, you will need to change them in the database.

Appending the pagebar to the menu bar is acutally quite simple.

- Open pages/rostercp.php

Starting line 155, replace

Code: Select all
echo
   $header . "\n".
   '<table width="100%"><tr>' . "\n".
   '<td valign="top" align="left" width="15%">' . "\n".
   $menu . "</td>\n".
   '<td valign="top" align="center" width="70%">' . "\n".
   $body . "</td>\n".
   '<td valign="top" align="right" width="15%">' . "\n".
   $pagebar . "</td>\n".
   "</tr></table>\n".
   $footer;


With, for example

Code: Select all
echo
   $header . "\n".
   '<table width="100%"><tr>' . "\n".
   '<td valign="top" align="left" width="15%">' . "\n".
   $menu . $pagebar . "</td>\n".
   '<td valign="top" align="center" width="70%">' . "\n".
   $body . "</td>\n".
   "</tr></table>\n".
   $footer;


You may need to play with it a bit to get it right. Also note the code may have changed recently, and I'm behind in SVN a couple of days.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm


Return to Archived

Who is online

Users browsing this forum: No registered users and 1 guest

cron