Slight Problem with Aphrodite template

Support for the IM Portal Project

Moderator: Integra Moderator

Slight Problem with Aphrodite template

PostAuthor: wizard7070 » Fri Jan 05, 2007 2:24 pm

Your phpBB Version: 2.0.21
phpBB Type: Integramod 132
MODs: Yes
Your knowledge: Advanced Knowledge
Board URL: http://www.faceforward.org.uk/forums/adult/portal.php

PHP Version:
MySQL Version:


What was done before the problem appeared?
Nothing


What was done to try to solve the problem?
Not a lot i can do



Description and Message

I need some help. When using the aphrodite template on my board, the html blocks will not centre, so text is always to the left. It works fine with morpheus the other template i am using on my board, so i know its not a html error.
Last edited by wizard7070 on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

wizard7070
Newbie
Newbie
 
Posts: 4
Likes: 0 post
Liked in: 0 post
Joined: Fri Jan 05, 2007 2:18 pm
Cash on hand: 0.00

Re: Slight Problem with Aphrodite template

PostAuthor: Teelk » Fri Jan 05, 2007 9:33 pm

Hey wizard7070,

When you say "html blocks" do you mean the portal blocks? You can find the code for those in the template layout folder. If you need more specific help, feel free to ask again.
Last edited by Teelk on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 5:25 pm
Cash on hand: 0.00
Location: Canada

Re: Slight Problem with Aphrodite template

PostAuthor: wizard7070 » Sat Jan 06, 2007 2:29 am

Hi

Yeah its a portal block, and under the option of using a block etc fourm, top posters etc. I simply set it to none. and enable html. Should i be using a block?

Thanks
Last edited by wizard7070 on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

wizard7070
Newbie
Newbie
 
Posts: 4
Likes: 0 post
Liked in: 0 post
Joined: Fri Jan 05, 2007 2:18 pm
Cash on hand: 0.00

Re: Slight Problem with Aphrodite template

PostAuthor: Frost » Sat Jan 06, 2007 2:33 am

So you are using a block made of html that you did yourself and trying to center it?

If so, post the code you are trying to use
Last edited by Frost on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[size=99px]PhpBB3 Themes[/url] ]PhpBB3 Development Center[/url] [/size]

Frost
Sr Integra Member
Sr Integra Member
 
Posts: 776
Likes: 0 post
Liked in: 0 post
Joined: Wed Sep 13, 2006 1:04 am
Cash on hand: 0.00
Location: Photoshop CS3

Re: Slight Problem with Aphrodite template

PostAuthor: wizard7070 » Sat Jan 06, 2007 3:25 am

I dont think its the code as it works fine with morpheus, but heres an example anyway

<p>Everyone here at faceforward would like to welcome all new members to the forums. I hope you will enjoy your stay and continue to contribute to the discussions that take place. A good place to start would be to tell us about yourself in the introduction section of the forum found <a>here</a> </p>
<p>There are a whole host of features to use, feel free to explore each one in detail. For some the forums might seem daunting at first a good FAQ found <a>here</a> will help you get started.</p>

Even tried <centre> and </centre> at start and finish, with no luck.

I had a look at the layout folder and edited the portal_body.tpl

I put the <centre> tags before and after {center_blocks_row.OUTPUT} and {right_blocks_row.OUTPUT} although it still doesnt work for html. It does now centre in BBcode, which is fine as if i want to keep it left just use html lol.

Only thing i need now is where is the header? its not in that file only the two i mentioned.
Last edited by wizard7070 on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

wizard7070
Newbie
Newbie
 
Posts: 4
Likes: 0 post
Liked in: 0 post
Joined: Fri Jan 05, 2007 2:18 pm
Cash on hand: 0.00

Re: Slight Problem with Aphrodite template

PostAuthor: Frost » Sat Jan 06, 2007 3:37 am

try this

[code]<div>Everyone here at faceforward would like to welcome all new members to the forums. I hope you will enjoy your stay and continue to contribute to the discussions that take place. A good place to start would be to tell us about yourself in the introduction section of the forum found <a href="http]

And I'm not sure but it also might back a difference between "centre" and "center"

As this is just text I don't see any reason why it is not centering unless specificaly told not to in the css of your template. You can try showing me the .css file to the style and I'll have a look there too.

Also, make sure "Enable HTML" is on instead of bbcode
Last edited by Frost on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[size=99px]PhpBB3 Themes[/url] ]PhpBB3 Development Center[/url] [/size]

Frost
Sr Integra Member
Sr Integra Member
 
Posts: 776
Likes: 0 post
Liked in: 0 post
Joined: Wed Sep 13, 2006 1:04 am
Cash on hand: 0.00
Location: Photoshop CS3

PostAuthor: wizard7070 » Sat Jan 06, 2007 3:51 am

Thank you for that. It worked fine, i can only assume its center instead of centre or could be the div tag, not heard of that one before, will have to look it up. Strange how it works for one template and not another.

Again Thanks
Last edited by wizard7070 on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

wizard7070
Newbie
Newbie
 
Posts: 4
Likes: 0 post
Liked in: 0 post
Joined: Fri Jan 05, 2007 2:18 pm
Cash on hand: 0.00

Re: Slight Problem with Aphrodite template

PostAuthor: Frost » Sat Jan 06, 2007 5:09 am

You're welcome <img>

You could try one or the other, but I think both would have worked individually.
Still good to know what works and what doesn't for future references
Last edited by Frost on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[size=99px]PhpBB3 Themes[/url] ]PhpBB3 Development Center[/url] [/size]

Frost
Sr Integra Member
Sr Integra Member
 
Posts: 776
Likes: 0 post
Liked in: 0 post
Joined: Wed Sep 13, 2006 1:04 am
Cash on hand: 0.00
Location: Photoshop CS3


Return to IM Portal Support Forum

Who is online

Registered users: Bing [Bot], Google [Bot], Majestic-12 [Bot]