Browsing this Thread:   1 Anonymous Users




(1) 2 »


Re: Index page table
#13
Zoner
Zoner


See User information
Thanks. Works great. The index and cat pages look so much better.

Jere

Posted on: 2007/12/8 22:18
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: Index page table
#12
Webmaster
Webmaster


See User information
O.K. I thought that was it.
Go to the file templates/alumni_index.html around line 72 look for this line:

<tr><td class="head"><{$cat.image}> <{$cat.link}> (<{$cat.count}>)</td></tr>

you can change it like this:

<tr><td class="head" height="60px"><{$cat.image}> <{$cat.link}> (<{$cat.count}>)</td></tr>

change the number 60 to fit your needs,

if the <{$cat.image}> <{$cat.link}> (<{$cat.count}>) is bigger than 60px you will not notice a difference, you will have to change it to larger than 60. go in small increments until you get it right.

remember people use different screen resolutions so that will matter also.

Hope this helps,

John

Posted on: 2007/12/8 12:53
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: Index page table
#11
Zoner
Zoner


See User information
Okay, here goes:
Resized Image

I'm running a 3 column site. That makes names wrap. Of course, these are long names and would wrap in a 2 column site.

Do you see how the wrapping makes the cells of different heights and how this makes it look a little untidy?

If I could make each cell of a height sufficient to accommodate the longest name, then it would look a lot better. Or, if each row would expand in height to match the tallest cell, that would be okay, too.

Hope that makes sense.

Jere

Posted on: 2007/12/8 11:59
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: Index page table
#10
Webmaster
Webmaster


See User information
Jere,

I'm sure it is fairly easy to do, but I'm not clear on what you mean.
Do you mean the title area's should all be the same or the whole area including subcats should be the same. Maybe show me a screenshot and I will figure it out.

Thanks,

John

Posted on: 2007/12/8 10:08
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: Index page table
#9
Zoner
Zoner


See User information
Thanks. One more thing: Titles of schools and colleges are typically long. When the title of one cell wraps, then it is out of sync with its neighbors, and there isn't much you can do with the name.

If you wanted all cells to have the same height, regardless of whether the title wraps or not, is there an easy way to do that?

Even if just all in the same row were of the same height, that would be better than having 2 or 3 different heights in the same row.

Jere

Posted on: 2007/12/7 13:03
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: Index page table
#8
Webmaster
Webmaster


See User information
To make it the same as the classifieds just remove:

border=\"0\" width=\"10\" height=\"10\"

Then it is just like classifieds.

John

Posted on: 2007/12/5 17:31
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: Index page table
#7
Zoner
Zoner


See User information
Quote:

john wrote:
Jere,

That is defined in the index.php page around line 79 look for this line:

$a_cat['image'] = "<img src='".XOOPS_URL."/modules/$mydirname/images/cat/".$myrow['img']."' align=\"middle\" border=\"0\" width=\"10\" height=\"10\" alt=\"\" />";


You can change it there.

John


Thanks, but would it be possible to change it so as to be like Classifieds and use whatever size image you select and not have the size pre-defined? The same statement in Classifieds is very different, and I'm not sure how to change it.

Jere

Posted on: 2007/12/5 10:14
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: Index page table
#6
Webmaster
Webmaster


See User information
Jere,

That is defined in the index.php page around line 79 look for this line:

$a_cat['image'] = "<img src='".XOOPS_URL."/modules/$mydirname/images/cat/".$myrow['img']."' align=\"middle\" border=\"0\" width=\"10\" height=\"10\" alt=\"\" />";


You can change it there.

John

Posted on: 2007/12/4 18:41
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: Index page table
#5
Zoner
Zoner


See User information
Okay, that fixed the table. Thanks.

What about the little icons in the top level categories? Everything gets resized to gnat size?

Jere

Posted on: 2007/12/4 12:32
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: Index page table
#4
Webmaster
Webmaster


See User information
O.K. one more thing.

around line 234 on the index.php page look for this:

if ($scount>4) {
$scount = 0;
}

change to this:

if ($scount>4) {
$count = 0;
}

let me know what happens.

John

Posted on: 2007/12/4 6:17
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top




(1) 2 »



You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create pdf.
You cannot get print page.

[Advanced Search]


Login
Username:

Password:

Remember me



Lost Password?

Register now!
 
Main Menu
 
Who's Online
2 user(s) are online (1 user(s) are browsing Forum)

Members: 0
Guests: 2

more...
 
Donat-O-Meter
Make donations with PayPal!
Stats
Goal: $25.00
Due Date: Dec 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $25.00