11
tjnemez
Re: Theme is stretching out when viewing user details
  • 2005/4/22 2:29

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


your theme will look great once you get the issues fixed up. you need to download firefox as soon as possible.

12
illutic
Re: Theme is stretching out when viewing user details
  • 2005/4/22 21:59

  • illutic

  • Just popping in

  • Posts: 13

  • Since: 2005/3/14


well, to be quite frank with you, i was kinda pissed last night... but i think that had more to do with work and the time then with the posts.... when i thought about it a bit longer i thought that perhaps it was just positive critisism so, being blond means it generally takes a little more time to understand things

I looked in the template, but it's not the one i need... well, it's nice to know where they've 'hidden' those things but i just realised i only need the one where you can edit the users 'profile' and in the system_userinfo.html is no textarea for the signature...

Know any other files that are 'hidden' and could be of any use for me??

13
illutic
Re: Theme is stretching out when viewing user details
  • 2005/4/22 22:02

  • illutic

  • Just popping in

  • Posts: 13

  • Since: 2005/3/14


Quote:

tjnemez wrote:
your theme will look great once you get the issues fixed up. you need to download firefox as soon as possible.


although it was way passed my bed-time last night, I downloaded and installed firefox last night

Just wanted to let you know

14
m0nty
Re: Theme is stretching out when viewing user details
  • 2005/4/22 23:16

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


i've always found this method to work..

after the tag in the theme.html file.

place this directly after..

<body>
<
table cellspacing="0" class="fixed" align="center">
<
tr><td>


then just above the closing body tag

place the closing tags.

td>tr>
table>
body>


once done, add a new class to your style.css for the new class u just made 'fixed'

ie.

.fixed {width990pxmarginauto;}


of course change the width to what u require.. best to allow for the scrollbar size too.. usually around 1024 - 25px at 1024x768 res.. but it may varie a little..

15
illutic
Re: Theme is stretching out when viewing user details
  • 2005/4/23 0:18

  • illutic

  • Just popping in

  • Posts: 13

  • Since: 2005/3/14


that doesn't work because the width of the table is already defined and the size of the textarea's are also defined (and i'm trying to find out where...) so, no matter how i try to keep the table in the exact width as defined in the style.css and theme.css, the layout is getting stretched because of the textareas in the edituser.php and there's nothing to do about it, beside finding out where the textarea cols and rows are defined...

Got any other ideas??

16
m0nty
Re: Theme is stretching out when viewing user details
  • 2005/4/23 0:47

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


in class/xoopsform/formdhtmltextarea.php

line 75 or thereabouts:

function XoopsFormDhtmlTextArea($caption$name$value$rows=5$cols=50$hiddentext="xoopsHiddenText")


$rows value is the height basically, and columns is the width.. change these values to suit..

do the same for formtextarea.php

line 80 or thereabouts

function XoopsFormTextArea($caption$name$value=""$rows=5$cols=50){


change these values to suit..


not sure in regard to the timezone tho.. other than enclosing it with an inline style tag in the template to reduce the font-size..

17
tjnemez
Re: Theme is stretching out when viewing user details
  • 2005/4/23 3:03

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


in terms of textarea here is an example from one of my theme's style sheet:

textarea {
width: 400px; /* set to preferred width */
color: #000;
background: #efefef;
border: 1px solid #000;
font-family: Verdana, Arial, helvetica, sans-serif;
font-size: 10px;
font-weight: normal
}

this works well for me, besides editing core files is no fun.

in terms of timezone you will need to edit (shorten) text in:

language/yourlanguage/timezone.php

18
illutic
Re: Theme is stretching out when viewing user details
  • 2005/4/23 10:40

  • illutic

  • Just popping in

  • Posts: 13

  • Since: 2005/3/14


Thanks a lot guys!!

I'll try yours first tjnemez, because i don't want to screw everything up with editing a corefile

And i already found the timezone.php

And m0nty, thanks alot for yours too, now i know where it's defined and if the solution of tjnemez doesn't work, i'll try that

19
illutic
Re: Theme is stretching out when viewing user details
  • 2005/4/23 18:37

  • illutic

  • Just popping in

  • Posts: 13

  • Since: 2005/3/14


Well, just wanted to let you all know that adding the textarea stuff into my style.css changed the width!!! Yay!!

And ehm... the theme that concerns this thread even looks good in firefox

20
tripmon
Re: Theme is stretching out when viewing user details
  • 2005/4/23 19:11

  • tripmon

  • Module Developer

  • Posts: 462

  • Since: 2004/2/28


Great!

Glad it's resolved. If nothing else, from reviewing this thread, it looks like you found out some new things which should help make your next theme easier to debug .

Are you using an IDE or editing the css files by text editor? There are some tools out there that make it easier to see the styles associated with your css classes, and some even show realtime wisywig (or as close as it gets) while you edit the css pages (my dreamweaver install uses a smarty plugin which helps in design view and the css features allow me to edit css elements and see the changes while viewing the templates...).

If you think something like that would help, post back what you are using to dev, and I bet someone could help you optimize your tool box (I can provide you some tips and the smarty plugin if you use DW).

I hope to see some of your work in the themes repository one day.

Login

Who's Online

421 user(s) are online (321 user(s) are browsing Support Forums)


Members: 0


Guests: 421


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits