php forum
php mysql forum
php mysql smarty
 
Topic Options
#115928 - 06/27/05 07:42 PM title image alignment
Wendy Anderson Offline
Junior Member

Registered: 06/27/05
Posts: 17
It's position in public_common.pl is to the left. I want it to go to the right (in order to get rid of white space).

My code doesn't change it:

$standard_title_table = qq~
<table border="0" width="$vars_style{TableWidth}">
<tr><td align="right" valign="top"><img src="http://housechurch.org/cgi-bin/rand_image.pl" border="0" align="right" alt="$vars_config{BBName}" />
</td><td align="center">
<b>

I have cleared the cache, btw, in the control panel and have emptied the browser cache.

Thanks in advance!

Top
#115929 - 06/27/05 09:29 PM Re: title image alignment
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25366
Loc: Texas
Which version ubb are you running? I don't believe standard title table is even used after version 6.6 or so smile
_________________________
- Allen wavey
- What Drives You?

Top
#115930 - 06/27/05 10:33 PM Re: title image alignment
Wendy Anderson Offline
Junior Member

Registered: 06/27/05
Posts: 17
Hi Allen,

6.7.2 - The latest and greatest.

I've had earlier versions. Surely, I am not updating old documents...

Top
#115931 - 06/28/05 11:19 AM Re: title image alignment
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25366
Loc: Texas
ok, then you might want to look for "BBTitle" in public_common.pl, there's a section in there for the header/footer and the title graphic has settings within.
_________________________
- Allen wavey
- What Drives You?

Top
#115932 - 06/28/05 12:52 PM Re: title image alignment
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
You're going to want to be editing around line 1346, it should be obvious what to do (do essentially the same you did above)
_________________________
Code monkey like Fritos

Top
#115933 - 06/28/05 01:57 PM Re: title image alignment
Wendy Anderson Offline
Junior Member

Registered: 06/27/05
Posts: 17
Very, very interesting, Ian. I suspected I was missing something substantial and will work from there, asap. I was limiting my search to sections with "bbtitle."

May I ask you for a brief interpretation of this line:

$args{before_image}$image_cell$args{after_image}

Particularly: args

Much thanks to you and to Allen. I'm on the road again!

Top
#115934 - 06/28/05 02:05 PM Re: title image alignment
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
those are just variables that aren't important for what you're doing. adding the align="right" and the align="left" for the 2 cells should be all you need

You actually get to edit an $args variable in the other topic I replied to (for the image url)
_________________________
Code monkey like Fritos

Top


Moderator:  Gizmo, tackaberry 
Top Posters Last 30 Days
AllenAyres 83
Gizmo 27
sirdude 24
Zarzal 23
blaaskaak 11
swebs 6
willing 5
Who's Online
0 Registered (), 29 Guests and 23 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Nice Ajax Chat
by Thelockman
Yesterday at 09:07 AM
[7.x] UBB.Post Templates v0.1
by sirdude
07/05/08 12:48 PM
Team UBBDev Rides Again!
by AllenAyres
07/04/08 10:56 PM
[7.3.x] ubb.links
by AllenAyres
07/03/08 06:15 PM
Changing currency for subscriptions?
by AllenAyres
07/03/08 01:15 PM
Protect users emails
by AllenAyres
07/03/08 11:36 AM
VPS and Newbies
by Gizmo
07/02/08 09:08 PM
New Mods
Protect users emails
by Basil Fawlty
06/29/08 08:44 AM
[7.3.x] Scheduled board close for backup
by blaaskaak
06/26/08 04:01 AM
[7.3+] CustomTag - Audo Embedding
by Gizmo
06/24/08 07:52 PM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.3] Dissallow quotes more then 3 levels deep
by blaaskaak
06/09/08 09:01 AM
Newest Members
ryzilla, M4D, Jer, Kanigo2, Bubba
13302 Registered Users

 

 

 
fusionbb message board php hacks