TinyPortal

Development => Support => Topic started by: Dianna on February 28, 2009, 10:19:08 PM

Title: Spacing or padding around article blocks
Post by: Dianna on February 28, 2009, 10:19:08 PM
Site:www.schreeandbaby.com/index.php
SMF Version: 1.1.7
TP Version: 1.0.5 beta1
Theme: Gold Charm by Shadow82x (I've tweaked the css and images)
Current Mods:  Just TP, haven't reinstalled shoutbox, blog or gallery after fresh install

Hi all! I hate to ask such a petty or maybe simple question, but I have spent quite a few hours looking and tweaking to try to fix this and cannot find it, it's driving me nuts!  :tickedoff:

My articles which contain all of my site HTML pages have this spacing above the actual HTML article part that I cannot seem to remove.  I cannot tell if it's some set padding in the article blocks. I've looked all through the theme CSS and index.templates to find where to remove this spacing.

Anyone know where this spacing could be hiding that I can tweak it.  I've changed the background of the site for now so you can see what I"m talking about.  I want the heading of each page to line up with the top of the left and right panels.  As a graphic designer, aesthetically it's driving me nuts!   :uglystupid2:

2ND QUESTION:
I'm not sure if I should ask a 2nd question here while I'm at aesthetics I hope I'm not breaking posting guidelines, but I'm also looking for how I can take the "TP Portal" credits/copyright and move it to the SMF credits line....like you have it here in this forum. I cannot find where the TP Portal credits are at to move them to where the SMF credits are at.  I want them to all be on the same line. That's been a simple head scratcher. 

Title: Re: Spacing or padding around article blocks
Post by: G6Cad on February 28, 2009, 11:19:20 PM
You know that you are using our first beta that are so full of bugs its crazy.
Im not forcing you to upgrade to beta3, but i dont want to give support for a version thats outdated and full of issues so half would be enough.

So please update to beta3 and we go from there, see you post all over for all kinds of issues in that version is no fun for eather you or us  :-\
Title: Re: Spacing or padding around article blocks
Post by: Dianna on February 28, 2009, 11:26:56 PM
I would love to upgrade to beta 3.  I did the fresh install of SMF and TP after I tried to move my forum to the root directory and had issues.  But, I had problems when I first did the fresh install and went straight for the beta 3 and also for SMF 1.1.8.  I got a lot of bugs since it wasn't matching my backed up database. 

So is it safe now that I have everything back up perfect to go and ugrade to SMF 1.1.8 and TP beta3???  I was afraid to upgrade SMF in case it could mess up TP somehow. I would like to do it before I start adding mods while it's clean.  So I'm safe to do upgrades now? 

My short while during beta 3, even though the install was acting weird, I LOVED the new version. I loved it. So let me know if it's safe and I'll go upgrade both now. 

Title: Re: Spacing or padding around article blocks
Post by: IchBin on March 01, 2009, 12:04:46 AM
Dianna, if you make a backup of your files and database, it is always safe to try something out. If anything goes bad, all you have to do is restore your backup to fix things.
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 01, 2009, 12:18:16 AM
Thanks Ichbin, yes I've become an expert in restoring from backups. My concern was that if I upgraded SMF from 1.1.7 to 1.1.8 if it would override any of the TP settings.

Since I have the fresh install all sorted out on the versions I was running before, then an upgrade to beta 3 should work fine and not give me all the weird stuff that I was having issues with before? Are there just "upgrade files" or do I just upload the beta 3 version through the package manager as if I've never had TP?  That's what concerns me. 
Title: Re: Spacing or padding around article blocks
Post by: JPDeni on March 01, 2009, 12:27:31 AM
QuoteMy concern was that if I upgraded SMF from 1.1.7 to 1.1.8 if it would override any of the TP settings.

Nope. It will run a little script that will take about 90 seconds. You won't even notice that anything happened.

QuoteAre there just "upgrade files" or do I just upload the beta 3 version through the package manager as if I've never had TP?

When I did it, I uninstalled the earlier version of TP and then installed the beta 3 version. Nothing is deleted from the database when you uninstall, so your settings should stay the same.
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 01, 2009, 12:46:44 AM
Hi JP, okay good. After all the buggy stuff when I fresh installed and went straight for the latest versions, that was a mess. Once I got it stable and solid again I was afraid to mess with it.  I guess the problem is pulling up a backgup to not the same version. So always be sure to install back to the original version and then you're safe to upgrade.  I'll go run it now so then someone can take a look at this article padding issue.  IT is driving me nuts to look at it. LOL 

I'll come back after I run the upgrades right now. Thanks!
Title: Re: Spacing or padding around article blocks
Post by: JPDeni on March 01, 2009, 01:07:26 AM
Quote
So always be sure to install back to the original version and then you're safe to upgrade.

Yes. Always apply a backup to the same version you had installed when you backed up. Then apply upgrades. :)
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 01, 2009, 01:24:27 AM
Okay, I installed SMF 1.1.8 no problem. I'm trying to install TP 1.0 beta3 now but I'm getting a "error in package installation" saying that the error may be caused by a conflict between the package I'm trying to install and another package that I don't have installed yet. 

The test shows that it failed with everything EXCEPT sources/security.php, sources/errors.php, sources/profile.php, and ssi.php. 

Could this be because of that advshout that is sitting in my TP beta1?  It won't let me get rid of it out of the mod even though I'm not using it since I was told to use the regular shout.

Or, could the installation problem be after having to do a "manual" install of TP beta1. It wouldn't let me do a package manager install so I had to do it manually. My TP 1.0 runs great, but could it be how I installed it?  There were some parts in th tp manual install folder that weren't used, i.e. FCKeditor and some other various files that I can list.  I just put the FCKeditor in the forum root.

What should I do? a manual install for Beta3?  Please tell me no.  LOL  But I'm willing to do it to get beta 3, it's really nice!!!

And I desperately want to have someone look at that article top cell padding issue or whatever is causing that in the articles. 
Title: Re: Spacing or padding around article blocks
Post by: Renegd98 on March 01, 2009, 01:30:36 AM
The problem is due to the fact the installer can not find where it is supposed to do edits on the files. Most likely due to the manual install of TP. I would do a manual install of TP Beta 3. You will find that alot of the changes you already made when you did the first manual install are the same for the new Beta.
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 01, 2009, 01:36:19 AM
Okay, I will definitely go do that then to get beta 3 running. 

Just in case, I wanted to list the files that were REMAINING after the tp v1.0 beta 1 install and they weren't mentioned in the manual install instructions. They were left over.  I've  listed them below and if I did anything with them for lack of knowing what to do. I want to be sure so I don't already have something messed up before doing the beta 3 manual install.

changelog_TP.txt (I put in the forum root)
FCKEditor (I put in the forum root)
manual_tp_install.php (I put in the forum root)
package-info.xml (I put in the forum root)
readme.txt (I put in the forum root)
tinyportal1010-1049.mod
tinyportal1020-1049.mod
tinyportal1048-1049.mod
tinyportal1049.mod
wysiwig (I put it in the forum root)
Title: Re: Spacing or padding around article blocks
Post by: Renegd98 on March 01, 2009, 02:21:32 AM
None of those files are needed for the upgrade.
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 01, 2009, 02:40:13 AM
Oh good!  Thank you so much!! I'll start the manual install now. 

Do I have all those leftovers in the right place, i.e the root folder?   

Should I be doing anything with those tinyportalx-x.mod files? 


Title: Re: Spacing or padding around article blocks
Post by: Renegd98 on March 01, 2009, 02:53:05 AM
You don't need those files on the server.

The tinyportalx-x.mod  are xml files with instructions for changes that need made based on the previous version installed.
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 02, 2009, 01:25:17 AM
Hi all, I just did the manual install for beta 3 as instructed because of all the bugs in beta 1. But now, I'm getting the OLD bug issue of my iframes having scrolling frames now just like it did previously when I had beta3 after a fresh install.  My site looked perfect in Beta 1 and now Beta3 has put me back to that old issue.  I'm super frustrated now. :( 

And now my site won't stay open in my browser on my mac, after it pulls up the index.php page, the browser crashes.  Should I have upgraded beta 3 from a beta1 when my beta1 was working fine???? 

When I did the manual install, I copied the root folders as instructed. Are there beta1 files that I should be removing???  I didn't remove anything from beta1 on the server, I just copied over. 

I noticed FCKeditor and whysiwig was not in the beta3 install, should I be removing those from the root directory.

Those are my own guesses on what I've done that could now be causing it to crash my browser.  On my PC the browser seems to be keeping the site up. My mac is where I do all my work of course.

Should I start fresh and get it back to beta1?  I'd like to have beta 3 for its' functionality and for you guys to look at the article spacing issue I had, but I don't want to troubleshoot when it was perfect before. Sigh. :( 

So I'm running SMF 1.1.8 and TP 1.0beta3 and my url is:

www.schreeandbaby.com/index.php

I just want to get this thing solid so I can get going on adding mods and building this site. I've been doing installs and fresh installs for days. Sigh.
Title: Re: Spacing or padding around article blocks
Post by: Renegd98 on March 02, 2009, 01:30:31 AM
I was just on your site and it runs fine for me in FF3 and IE7. I do see a scroll bar at the bottom that makes no sense, but other than that I see no issues.

Are you doing something to change the width of the forums?

Do you have these issues/problems with the default theme? If not then the issue is the theme and not the TP version.

Let us know.
Title: Re: Spacing or padding around article blocks
Post by: ZarPrime on March 02, 2009, 01:43:03 AM
It looks pretty good to me as well.  The 2 horizontal scroll bars under the 2 blocks on the right can probably be fixed by making the right panel a little wider.

As for that scroll bar at the bottom, can you go into themes and settings and check the following ...
Allow members to select their own themes.
Allow members to select the "Default" theme.

This will allow us to see what it looks like in the default theme.

Who made this theme for you or what theme was it based on?

ZarPrime
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 02, 2009, 01:52:42 AM
Okay, I'll go do that. From how it was acting when I had beta after the fresh install, it was the same problem in all themes.  I had previously discovered that nothing I did could take the scroll out of the iframes, but when I chose the NO FRAME/TITLE option then the scroll removed. But I wanted the frames with no titles for aesthetics.  So it was like there was some bug that was confusing the TP frames around blocks for frames in iframes.  I did the complete fresh install back to beta1 just to get AWAY from that problem and it fixed the problem.

Also, my articles also have a scroll.  Every iframe has a scroll except for my right panel and that's because I'm not using the TP frame for the left panel. Check it out, it's weird and FRUSTRATING. 

Also, can you guys look at the folders below that were from Beta1 install that wasn't included in beta3 and is still on my servers.  I didn't remove them. Should I be? I just did a file by file comparison and made a list. 


root directory:
I have FCKeditor and Wysiwig from beta1

/tp-downloads
.htaccess file from beta1 is still there

/tp-files/fonts
.htaccess file from beta1 is still there

/tp-files/tp-modules
[/color]
I had the advanced TP Shout folder and .xml so I just removed it, I may have removed it before you guys looked at the site, I'm going to try to open the site again on my mac right now.

And I have some TPtestmodule folder with a bunch of files in it and plus it's .xml file, haven't removed it yet

/tp-files/tp-plugins
I had a themeshop_plug.xml and tpdlmanager_plug.xml from beta1

Those are the only differences that I can see from my manual install.  :'(
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 02, 2009, 01:56:30 AM
I tried to open the site after having removed the advanced shoutbox from the servers and it's still crashing my firefox on my mac. I'll go now here on my PC and add the other theme options so you guys can look.  I'm dead in the water if I can't open my site on my mac.  :'(

I'll have to go back to beta1 but I know it's not very supported and I should/need to have beta3.
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 02, 2009, 02:02:57 AM
Okay, I just checked the option to let users select what theme they want.  You'll see that I'm still getting the scroll on all of my iframes. 

I can remove a frame/title option from of the blocks and show how then the scroll problem goes away. The only glitch in this theory is that the articles have scrolls and I'm not using the block frame on those or on my footer.

Title: Re: Spacing or padding around article blocks
Post by: Renegd98 on March 02, 2009, 02:04:17 AM
I keep hearing you talk about iframes. what are you forcing into iframes?  Are you putting your blocks into iframes for some reason? With the default theme I see no scroll bar at the bottom but the site of course looks very different.  The right panel needs the width changed some to get rid of the srollbar on the bottom of it.

The center content should be centered. What kind of block do you have the center content in? Can you paste the code you use for it. Then some of our code guru's could look at it. I do not believe that TP3 is the culprit here.. I think some of the code you are using is causing issues.


Edit:  you will need to add a theme block so we can change themes.
Title: Re: Spacing or padding around article blocks
Post by: ZarPrime on March 02, 2009, 02:06:39 AM
I agree with Renegd on this.  Add about 10 pixels to the width of your right panel, and then center the content of whatever your content is in the middle and let's see what it looks like then.

ZarPrime
Title: Re: Spacing or padding around article blocks
Post by: ZarPrime on March 02, 2009, 02:14:28 AM
There's got to be something else going on here as well.  The menu buttons on the default theme aren't showing up right.  Got any strange mods installed that might be causing this?

When using theme #2, no scroll bars show up anywhere.  In your dark theme, is there a setting in "current theme" for width of Forum?  If so, switch back to that dark theme, set the Forum to show 100% and let us see what it looks like.

ZarPrime

EDIT:  I meant on the TP General Settings set FrontPage width to be zero for 100%.
Title: Re: Spacing or padding around article blocks
Post by: Renegd98 on March 02, 2009, 02:22:07 AM
Agreed.. something weird, not associated I don't believe with the TP3 install.

Yep, the default theme has issues as stated by Zarprime. Go to the forums and they look Ok, except the footer is still there with a left alignment.

Is the panel on the left a TP panel or is it a hard coded left panel/column?
Title: Re: Spacing or padding around article blocks
Post by: Renegd98 on March 02, 2009, 02:32:46 AM
Interesting enough on the default theme only the blocks on the right panel that have custom code in them have the scroll bars. So changing the right width should fix that I believe.
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 02, 2009, 02:42:17 AM
Renegd, yes it's only the right column that use iframes that get the scroll. 

Yes, I'm putting all the html bocks and articles into iframes. I like being able to tweak my site in my golive and then just drop the changes to the serves. I love the use of the iframes. I'll play with the sizing again and see if I can fix it. 

The center body part is where I was having the issue of it not centered and the article sits lower than it should be. That's why I upgraded to beta3 so you could look at the cell spacing/padding issue on the article pages/html pages of my site. I changed the color back to black and you can see the article block in the shade of gray. I cannot find where this spacing or padding is at to change it. That has been my frustrating issue to resolve. 

I think on the default theme it looks like the menu items are gone because I must have the font color to WHITE for some reason. So the menu is there in default. I can go change that back to black and then I can add a themebox for you to use. 

The my BIGGEST problem that is of critical concern right now is why my firefox is crashing on my mac now with the new install.  Do I need to remove any of those files that I've listed above from beta1? 

I'll come back after I fix the font and the themebox and let you know that part is done.
Title: Re: Spacing or padding around article blocks
Post by: Renegd98 on March 02, 2009, 02:54:31 AM
root directory:
I have FCKeditor and Wysiwig from beta1  - Not needed with Beta 3 but you can leave if you want. I would rename directory if you leave it by adding _old to the end.

/tp-downloads
.htaccess file from beta1 is still there -  how do you know it is from Beta 1? Safe to leave.

/tp-files/fonts
.htaccess file from beta1 is still there - how do you know it is from Beta 1? Safe to leave.


/tp-files/tp-modules[/color]
I had the advanced TP Shout folder and .xml so I just removed it, I may have removed it before you guys looked at the site, I'm going to try to open the site again on my mac right now. - Good, not needed

And I have some TPtestmodule folder with a bunch of files in it and plus it's .xml file, haven't removed it yet - I've never looked at that directory but I have them too, so leave it.

/tp-files/tp-plugins
I had a themeshop_plug.xml and tpdlmanager_plug.xml from beta1 - how do you know it is from Beta 1? Safe to leave.

Let us know about the width change if it helps.

I am not a php/html coder/guru but I think using the Iframes in the blocks may cause issues.  There are ways to control the output without the iframes.. but I request a code smart member address this.

If someone notices something wrong in the above, please correct me.
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 02, 2009, 02:57:27 AM
Okay, thanks from above. I don't know that some of those things are from beta1 so just ignore that. It's just not in the beta3 folder. 

I've just installed a theme box but the box says no themes selected. I haven't used a themebox and don't plan to with my site, what do I need to do to make the themes show up for you? 

I have it set to allow members to choose their own themes.
Title: Re: Spacing or padding around article blocks
Post by: Renegd98 on March 02, 2009, 02:59:50 AM
No need for the theme box, I can use index?theme=x to change the theme so you can delete the theme box.

Did you change the width of the right panel?  ADMIN --> Panels and Blocks --> Panels
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 02, 2009, 03:05:42 AM
haven't changed the size yet, I was making that themebox. LOL  I'll go try it now. 

Title: Re: Spacing or padding around article blocks
Post by: Renegd98 on March 02, 2009, 03:20:09 AM
I see that the width change has eliminated the scroll bars on the right panel. 
The reason for the right panel and center column not having the right padding between them in your custom theme is a theme issue, not a TP3 issue because as you can see in the default theme the padding is correct.

That issue and the scroll bar at the bottom, which again is a custom theme issue are the only issues I see with a quick look around the site.  Site looks nice...

Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 02, 2009, 03:28:40 AM
Okay, I changed the right panel size by 5pixels and that did the trick for the right panels!!! YAYYYY!  However, I've tried to tweak the footer and still not working, still have a scroll.  I've set the bottom panel to 925 which is my body width, then the iframe is set at 900 and my footer html is at 890. So there should be no problem in a typical iframe world. I'm just about thinking of putting my footer into the hardcoding of the smf copyright footer area. 

Which that also comes back to the question of WHERE is the TPportal copyright located?  I could not find it so I could put it on the same line as the SMF copyright just like you guys have it here in the forum.  If I just hardcode the footer, I can do away with this iframe footer issue. 

So that still leaves my articles scrolling.  In beta1 I didn't have that issue. So it clearly looks like the article does not have enough space.  In my themes (gold charm) body I have it set go 925px which is the pixel width of my header. 

I have my HTML body designed at a table wide of 595 and the iframes set at 603. 

Do you know where this body not aligning or enough space?  Would the issue be in my goldcharm theme CSS or in the article block settings?  This also goes back to my original issue of wanting to find where the article setting is at so I can remove that space/padding above the articles. I want the heading to start where the right and left panels line up.  Also, with beta3 I get the article background as a different shade of gray and I need to find that. I'm wondering if the sizing issue and that block color is in the same area?  Any suggestions on where to find this issue? 

And should I just try to put the footer coding into the index.template where the SMF copyright stuff is located?

I'm just ignoring the firefox crashing issue for now. Too much going on. I'll deal with that later. It's pretty critical for me since I mainly use firefox and do my designing on my mac. Sorta really puts me in a weird situation having to go to my pc to pull up my site and back and forth to my mac. It won't work for the long haul. :(
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 02, 2009, 03:37:57 AM
That spacing/padding above the article section is also in the default theme. Could it be located in some sort of spacing in the index.template? 

I've played so much with the CSS on that spacing issue that it's become a mystery to be solved.

I need to go and work with the body and footer on the sizing, but I'm thinking if I figure out where the article body spacing is located, it might solve a lot of these issues. 
Title: Re: Spacing or padding around article blocks
Post by: Renegd98 on March 02, 2009, 03:38:58 AM
Quote from: Dianna on March 02, 2009, 03:28:40 AM
Okay, I changed the right panel size by 5pixels and that did the trick for the right panels!!! YAYYYY!  However, I've tried to tweak the footer and still not working, still have a scroll.  I've set the bottom panel to 925 which is my body width, then the iframe is set at 900 and my footer html is at 890. So there should be no problem in a typical iframe world. I'm just about thinking of putting my footer into the hardcoding of the smf copyright footer area. 

You will need to get a coder to answer this.

QuoteWhich that also comes back to the question of WHERE is the TPportal copyright located?  I could not find it so I could put it on the same line as the SMF copyright just like you guys have it here in the forum.  If I just hardcode the footer, I can do away with this iframe footer issue. 

You will need to get a coder to answer this.

QuoteSo that still leaves my articles scrolling.  In beta1 I didn't have that issue. So it clearly looks like the article does not have enough space.  In my themes (gold charm) body I have it set go 925px which is the pixel width of my header. 

I do not see any articles scrolling (if you mean left and right)... by articles I suspect you mean advertising, testimonials, contact us, book club, shopping, etc..... again I do not have to scroll them...

QuoteI have my HTML body designed at a table wide of 595 and the iframes set at 603. 

coder issue.... and again I do not like the idea of the iframes when SMF/TP can control this... but I am not a coder...

QuoteDo you know where this body not aligning or enough space?  Would the issue be in my goldcharm theme CSS or in the article block settings?  This also goes back to my original issue of wanting to find where the article setting is at so I can remove that space/padding above the articles. I want the heading to start where the right and left panels line up.  Also, with beta3 I get the article background as a different shade of gray and I need to find that. I'm wondering if the sizing issue and that block color is in the same area?  Any suggestions on where to find this issue? 

There are some definite issues I think with your theme and how it interacts with SMF/TP. Hopefully a coder can help, but you need to post the code you are using if you want any help.

QuoteAnd should I just try to put the footer coding into the index.template where the SMF copyright stuff is located?

Can't hurt as long as you do not change, remove the TP and SMF copyrights.


I'm off to bed.. going away on business in the morning and 4:00 AM comes early... I hope some of the TP coding gurus can help with your issues.. but I do belive you are better off with beta 3.. it has lots of bug fixes over Beta 1 & 2.

Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 02, 2009, 04:06:42 AM
Thanks for all of your help Renegade!  If I want to put my HTML into the TP blocks, what other options do I have in TP?  Just copy the coding into the HTML block?  So everytime I make site changes I would need to come over and copy and paste over the old cold?  Is that how you would suggest to build the content?

Yea, I'm talking about the FAQs, Testimonials as the articles. 

It's that gray section that is showing that is the padding that I can't find and if I removed it, then my scrolling issue and the header spacing issue would be resolved.

Thanks for your late night help before a trip, I really do appreciate that! 

What code should I be copying her for a coder to look at?  The entire theme CSS coding?  I'll definitely do that if that's what they need.
Title: Re: Spacing or padding around article blocks
Post by: IchBin on March 02, 2009, 05:23:39 AM
These are the problems you will run into using iframes and fixed width etc. If you have so many questions and are constantly trying to figure out things, I would highly recommend you use the firebug extension for firefox. Most of your padding questions can be found with ease by just using the firebug extension to see what CSS is related to your code. You have a scrollbar at the bottom because your content is wider that the width you have set. Change the width of your body in the CSS file and you will see that. I realize that using a program like dreamweaver or go live are nice an easy because they hold your hand so much. But if you're looking to do it that way, there really is no ideal way for you to use TP then. The best thing you can do IMO, is to stop using iframes, and to start using PHP includes. In a php article all you have to do is include the file.


include('path/to/file.html');


This way, you don't have to mess with iframes. Not to mention the SEO problems you run into when using frames. Take a search for moving the copyright, that answer has already been posted.
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 02, 2009, 05:30:13 AM
Ichbin, that is EXACTLY the code that I have been looking for!!!  I knew that way back I had read that there was a way to put a PHP path to my pages.  I could not find it since then.  I would MUCH rather use the php path you just provided. OMGGG, thank you soooo much!  I'm getting my #$&)#&$ out of iframes right now!  Thank you thank you thank you!  I just needed another way and I that is it!

I've never heard of this firebug extension, I'll do anything to find where that damn padding is at in my pages.  Do I go to firefox and do a search for a download?

I just don't see the padding in the CSS. It is really hidden somehow. I was about to paste my CSS file for you guys to maybe take a look to see if anything stands out.  Can I or should I do that?  I'll do either, firebug, past my CSS, anything to sort out the problem.  I really want to keep my body at 925px so it will line up with my header. 

Thank you again for the php coding, that's all I needed to get away from iframes.  :D
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 02, 2009, 05:31:45 AM
p.s. I've been looking for that copyright topic, I'll look again here in the forum.
Title: Re: Spacing or padding around article blocks
Post by: IchBin on March 02, 2009, 05:47:37 AM
Take a look at firebug. If you don't know how to use it, search on youtube as there are lots of tutorials for using it on that site. If you can't figure out things after that, post what you are still having problems with. No need to post code yet.

As for the copyright, searching for "move copyright" will show the result on the first page of search results.
Title: Re: Spacing or padding around article blocks
Post by: ZarPrime on March 02, 2009, 08:00:03 AM
Diana,

Let's try to solve one problem at a time.

For the copyright, click on the globe under my avatar and look at my site.  At the very bottom, right above the TP copyright, you will se a copyright statement about the site.  This is a php "bottom" Block and is set to show without the title or frame.  The code for it is ...

echo '<div align="center" class="smalltext">Tales of the Haven Expanse is Copyright Ã,© '.date("Y",mktime()).' Phoenix Liberties, LLC ~ All Rights Reserved</div>';

You'll need to change the code for your own site.

The mktime function automatically changes the statement to the new year every January 1st.  This is block code from somewhere in our block code snippits board.  Let me do a quick search for it.  OK, found it.  Here is the link --> http://www.tinyportal.net/index.php/topic,27087.msg215889.html#msg215889

It would be simple to put another div above this in the same block containing your html links.

That should fix your copyright thing.

ZarPrime
Title: Re: Spacing or padding around article blocks
Post by: ZarPrime on March 02, 2009, 08:11:14 AM
Diana,

On the spacing issue for the article, you might want to take a look at this bug report I made about a week or so ago.  I believe that your issue might be related to this bug ---> http://www.tinyportal.net/index.php?action=bugtracker;sa=bug466

Take a look at this report and read the associated topic that I reference in my post.  The way I temporarily fixed it for this member was to put their article into a Front Page block.  If this is the same issue, it is still an open bug and the fix for now would be as I state in the report, to place the article into a "single article" Front Page block.

Here's a link to a message describing what I actually did to make the article show without the gray border. -->  http://www.tinyportal.net/index.php/topic,28507.msg227167.html#msg227167

ZarPrime
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 03, 2009, 12:54:08 AM
Hi Zarprime,

1. FOOTER question - thanks for the footer info. That does put me closer to what I want, but I'm wanting to find where the TP Portal copyright is so I can put it in the same line as the SMF copyright.  Ichbin said this has been addressed in the forum so I need to do some more looking. But I will for sure probably add my footer as you showed. Then I can move the entire thing to the SMF footer area. 

2. I just looked at you bug report and in my quite a few hours searching on the forum I had already read that thread. So I'm glad I'm on the right track when you referred me to that thread.  I think you're right with the frontpage because when I had put my homepage html into the frontpage it looked much better.  I can try the frontpage way but wouldn't that only fix my homepage?  I have all of my site HTML pages pulled over into TP. Or can you put all pages into a frontpage single article setting??
Title: Re: Spacing or padding around article blocks
Post by: ZarPrime on March 03, 2009, 01:18:32 AM
Diana,

If you want to try my single article category block method with more than one article, simply create a FrontPage (Single Article) block for each article, and then place them one right after the other.  In your case, I would uncheck all the visual options and show the blocks without the title or frame.

Why don't you try it out, and if you don't like it you can always turn the blocks off and switch back to just showing articles instead of showing Front Page blocks containing the articles.

On the question about which file contains the the TP copyright, I'm not sure off the top of my head so I'd have to search for that as well.  I've got a few minutes, so I'll see if I can find it.

ZarPrime
Title: Re: Spacing or padding around article blocks
Post by: ZarPrime on March 03, 2009, 01:25:01 AM
For the copyright location, read this message and the rest of the topic --> http://www.tinyportal.net/index.php/topic,24164.msg195035.html#msg195035

I'm not sure that it is stil there, but it probably is.

ZarPrime
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 03, 2009, 01:55:33 AM
Hi Zarprime,

I just did a test of putting my "about" page into a frontpage to see if it fixes that bug. I'm confused because I made the about page with the "show on frontpage" option, that was the only way I could figure out how to make each article as a frontpage. Is that the right way? 

But then the confusion is also that the about page is now my actual homepage and my homepage is now at another link.  I'm sure that can be fixed somehow by how they show one after the other but in looking at how the URL is for the home page now, I don't like how those pages show up for the URL.

I like how it used to be like this:

www.schreeandbaby.com/index.php?page=about

So is that what I have to give up in order to get all my site pages to work right?  That sucks actually. :(  This whole thing is because of the gray border or padding behind the articles. Something that seems so small but very important to the look of my site. SIGH.  Do you know when the bug could be looked at because setting all of my pages in the frontpage way just doesn't seem right and look right. It's confusing. :'(

I also have to go and look because I did the php content line that Ichbin gave me but my images aren't showing up with the php coding. My images are in the same folder that the php coding is pointing to.  Sigh. 

That cell padding issue and these scrolling iframes have had me hung up for a week on just that. I can't seem to get past these issues so I can get my site built. This is a radio show with listeners waiting for the site to come up. I have a lot of pressure right now to get this site up. I'm so hung on these issues. Yes, meltdown starting. Sorry.

I do appreciate all of everyone's help. I just can't these 2 issues ironed out.
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 03, 2009, 02:04:54 AM
Hi Ichbin,

Thanks again for the php block code to insert content. I tested it out on my about page and my images disappear. They are located within the same folder as my html page. 

example:
/pages/about.html
/pages/images

I dont' know what to do to make the images show?

www.schreeandbaby.com/index.php to see what I'm talking about. Ignore that the about is on the home page, that's what I'm melting down about in my above post. I'm at a loss with that cell padding and putting all pages into frontpage articles just doesn't seem to be the idea way to help that bug.  I'm at a loss on it and it doesn't look good on my pages. :'( 
Title: Re: Spacing or padding around article blocks
Post by: IchBin on March 03, 2009, 02:14:47 AM
This is the beauty of Firebug. When you have little issues like this, Firebug can show you the fix in 5 seconds. If you click on an images, you can see the path. Since your images are being loaded in TP/SMF now instead of the iframe, you have to supply the relative path to SMF's index.php file. If your pages directory is in the same directory as your index.php file for SMF, you simple change the path. With firebug, you can do this live right on the webpage by clicking on the inspect button, then highlighting the image you want to check. Then look at the HTML code in the firebug window. You can then click on the path of the image and test things. Try it out, and you'll see how cool firebug is.
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 03, 2009, 02:39:04 AM
Hi Ichbin, I just did a property check on the image on the page and I think I can tell how it's reading wrong. I will have to check out firebug. 

One thing, just call me crazy, but I have the test page in the php code block as you instructed and I STILL see a scroll at the bottom of the article.  I've cleared my cache and it's still there. I know it's calling the php code because of the images being gone. Take a look and see if you still see the scroll? 

If you do, then it's that bug that zarprime is talking about and I'm really about to freak for not being able to get this worked out so I can get on with my site design.

Look and see if you can still see the scroll

http://www.schreeandbaby.com/index.php

ETA:  Ichbin, look at this page to see the about page that is using the PHP code, I took it out of the frontpage setting.  Go here to see the php code that still has the scroll:

http://www.schreeandbaby.com/index.php?page=about

I'm thinking when in Rome.....I might just reformat, squeeze up and shrink up all of my HTML pages,  to fit this mystery padding so it may fix the scroll that way. Not sure what else to do.
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 03, 2009, 02:54:46 AM
Zarprime, I'm taking my test page out of the frontpage option, it's not working. I can't get some of the top coding to go away, it shows the date and article title, and views and ratings, EVEN though I don't have them checked.  This work around of putting into the frontpage options is just making matters worse for my issue. The URL's look bad and it just doesn't look good.  I'm going to go back to the original problem of having my articles set up correctly but going back to have just the cell padding bug to worry about and go from there. 

Do you know if anyone is looking in to the bug or when?  I'm hitting frustration on this one simple issue because it's messing up the look of my entire site, outside of the forum. The forum looks great.
Title: Re: Spacing or padding around article blocks
Post by: IchBin on March 03, 2009, 03:06:02 AM
If you take out the code you have in that article/block in the middle, do you still have the scroll problem at the bottom?
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 03, 2009, 03:24:21 AM
What do you mean, remove the php content code from the article?
Title: Re: Spacing or padding around article blocks
Post by: IchBin on March 03, 2009, 03:27:02 AM
Yes, make the article empty.
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 03, 2009, 03:31:53 AM
I just removed the php coding and it does remove the scroll, it just leaves that lovely grey padding that has become my nemesis. 

So it's that padding that is pushing my html into a scroll regardless of an iframe or a php code.  If that mystery padding was gone it would fit right. 

I'm just going to take the long easy route and tweak all of my html pages to fit inside that mystery padding and just let the site go with the gray padding. At least gray fits the colors of my site.  I don't know what else to do but conform and work around that gray padding. 

I'm surprised that the php coding would create a scroll just like the iframe did. It seems it would just cause some of the area to hide or overlap. 

I'm going now and starting to reduce the width of my html pages and reducing my images to fit inside what area I have to work with in order to remove that scroll. 

It's all about that gray mystery padding. :-( 
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 03, 2009, 03:32:48 AM
Here's the page without the php code by the way and how it only leaves the gray mystery padding that is the root of my problem.

http://www.schreeandbaby.com/index.php?page=about
Title: Re: Spacing or padding around article blocks
Post by: IchBin on March 03, 2009, 03:38:06 AM
The root of your problem is that you're content is too wide. Fixed widths are the problem here. If you'd use percentages in your layouts you'd never have this problem. The gray box is from some tinyportal settings that are not properly set, (bug in TP) but it is not causing the problem. If you got rid of the gray box you would still have the scroll.
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 03, 2009, 03:54:17 AM
No, that gray padding is causing some spacing that is pushing my article width out.  In my normal website in HTML it fits fine.  I have a 925px width.  My left column is 150 and right column is 150 and my body is 603. That's 903px for left, right and body. It's the grey padding that is pushing it to not fit. 

I'm thinking of either shrinking my body area or going ahead and going with 100and then tweaking my header.  I would have to do my header with a left, right and middle and have the middle part be able to adjust accordingly.  It's not how I wanted my header since I have the marquee in it and how I have my graphics. But it may be the better option so I don't have to shrink the body anymore and not much play there.  I'm looking at my header and I will have change some things around because there is no where that I could put a split in it to put a middle that would shrink or enlarge. URGGG!

It's definitely that damn gray padding that has caused my problem.

I'm just going to have to go and work around this padding to make the site work around it.  I may just have enlarge the width of my header and try stuff that way.

If it weren't for that gray padding.
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 03, 2009, 04:14:49 AM
Ichbin,

I've just created a new footer and using the php coding block and I'm still getting a scroll on it.  The html body that it's calling up is at 890px and the bottom block width is 925px.  So how in the world could it be causing a scroll? 

I'm not too convinced that if I shrink my HTML pages that the scroll will go away if a simple footer won't get the scroll to go go away. 

The crazy thing is that I didn't get the scroll issue in beta1, it's only until I move to beta3 that I get this problem.

www.schreeandbaby.com/index.php?page=about  ....to see the footer with it's scroll on the php block.  And that's a 35pixel difference, there should be no scroll on this! UGH, I'm frustrated!

ETA:  I just changed my footer and shrunk it's width more to 800px. Then the bottom panel is set to 925px so that's a 125px difference and still getting a scroll with a php block.  That has to be a bug, right?
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 03, 2009, 04:31:10 AM
UGH, I got it!  If my body is set at 925px then the bottom panel has to be smaller than 925 to not get that scroll.  It's not my HTML width but the panel width causing the scroll in the footer.  I set the bottom panel to 915 and my body width is 925px and that worked!  So I can go back and fit my HTML back to 915 so it centers correctly. 

Too bad I can't do the same for the articles.
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 03, 2009, 04:39:34 AM
Okay, another discovery:

Body = 925px
BottomPanel = 915px
HTML table width = 905px

So basically they have to 10px apart for me not to get a scrol in my footer regardless if I use a iframe or a php code block. 

I'm hoping I can do something with the actual articles to do the same. Is there a place that I can change the width of the article body or does that go back to that evil mysterious grey cell padding?
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 03, 2009, 05:11:04 AM
When in Rome......okay, I just set my HTML table width for my ABOUT page article to 565 and then I set the iframe width to 570 and it WORKS!  I now have no scrolling issues.  I also found if I set the setting to a "FRAME" around the article that it puts the nice border around that damn mystery gray padding so at least it looks purposeful and looks a little better.  So I've totally worked around the cell padding issue.

So I'm set for now with this and I'm going to change the width of all my article pages to 565pixels and my iframes. Yea, I'm still going to use iframes since with php I still get scrolls and with iframes I don't have to mess with my image settings. It works for me.

If I do encounter future problems with my body settings, I'll go and change it too 100% and just have tweak my header by putting it into 3 parts with the middle able to shrink or enlarge. That's my plan B if this doesn't work. 

But I do hope that Zarprime will still let me know on this grey padding bug issue. If it goes away then that problem will go away for me all together and I'll have a perfect all black body.  :-)  So I hope the bug is still on the list as important to look at.

So I have my footer working, the body now working and I have beta 3 so I should be set with the work arounds.  Thanks for all of you guy's help. I really do appreciate it.  At least this will be a workaround that will work for my site. 

So I'm on to reducing my pages to 565. Thanks again!! 
Title: Re: Spacing or padding around article blocks
Post by: G6Cad on March 03, 2009, 10:34:16 AM
Please, EDIT your posts instead of just adding a new one after your own.
From what i can see, your meny have an extra br between HOME and Topics link, if you look closer, you see that the space there are wider then the other

Also your top block ( or what ever it is ) that holds your add images free shipping, florals etc, contain more images then the width of the block can handle, the last blue image there beside the dental plan image are only 1/3 visible.
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 03, 2009, 07:10:02 PM
Oh sorry about adding posts after my own posts.  Do you mean I have some extra space between my home and topics on my main menu?  I think that is just something I need to tweak in my template, I know how to fix that.  I'm going to be adding more items to my menu so I was going to tweak that spacing then. 

Oh, I'll have to take a look at the affiliate marquee scroll.  Those are all things I have to iron out.  I've been very involved in getting beta3 installed and figuring out the scroll problem. 

But my MAIN issue is that gray padding behind my article/sites pages, i.e. faqs, about, testimonials, etc.  That gray block is a mystery block. Zarprime said it was on the bug list. I've just added a frame around and am working around it at this point until the bug is looked into.  At least it's gray and sorta matches my site.

Thanks for looking at my site.  Check out that gray border around my articles, that is the culprit and my issue.  :'( 

I've taken this page so far and worked around it to incorporate it into the site since I can't do anything else with it. I put the frame around it to make to look nicer. It actually doesn't look too bad for now.  I'll let the site go live with it and will wait for the big fix.

www.schreeandbaby.com/index.php?page=about

ETA: Zarprime, please read this!!! Check it out -- One thing I've noticed when I added the frame to the gray mystery area on my ABOUT page to make it look nicer and when I tested it out, it just put the border around that mystery gray area.  Well, it appears that the gray padding/border is actually a frame itself but without the border on it!!!!! 

Look at my about page and then look at my other pages and look at the difference.  When I chose the FRAME option on the about page all it did was add the border to that gray area.  So if someone is looking at the bug, maybe that will help identify that gray area, I think is a FRAME setting that is stuck in the "ON" mode without a border on it.  And it's definitely the same gray as the frame settings in my right panel so I think it's definitely a frame without its border in articles that is set to ON in the coding. 



Title: Re: Spacing or padding around article blocks
Post by: ZarPrime on March 03, 2009, 07:33:18 PM
I've looked at the about page several times and it actually looks very nice.

I don't have time right now to deal with this but either tonight or tomorrow I want to look at your site from the inside.  In order for me to do that, I am going to ask you to setup a temp account with full admin access.  I want to check some things first hand.  You can do that now if you want, but like I said I won't be able to look at it until at least tonight.

Once you've setup the temp account, PM the details to me (username and password).  Don't put that info here, just PM it to me.

ZarPrime
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 03, 2009, 08:18:17 PM
Okay, sure, thanks!!!  I really appreciate it.  I'll go do that right now. BRB

ETA:  Oh, and yes I agree, with the border on that gray padding, it actually doesn't look bad. I can live with it. It makes the panels and article area line up at the top and that makes me happy so I can live with the bug if I have too.  I'm working on shrinking up the width of my HTML pages to fit this mystery frame/padding, but that's now big deal, it won't take me long.

I'm going to PM you now the login.
Title: Re: Spacing or padding around article blocks
Post by: ZarPrime on March 04, 2009, 04:08:00 AM
Diana,

OK, please have a look at your Front Page now.  If you don't like it this way, I can change it back.

I'll check back here a little later.

ZarPrime
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 04, 2009, 04:39:01 AM
I think it looks really good!  I like it a lot!  I can keep my pages at the width that I have them and I like the green top. I like it lot! 

So what does that mean?  Do I need to put all articles into a frontpage?  The one thing I didnt' like about that was how the URL looks with all of them in frontpages. And it seemed a bit confusing to work with. I didn't like how the articles in frontpages put the page numbers at the bottom, I would need to remove them.  I would have to find how to remove the pages at the bottom.

Let me know what I need to do. I really like it a lot though!  I guess I can live with weird looking URLs for my pages.  That could be a tradeoff.  I like it a lot!!!  Thank you so much.  Let me know.   ;D

Title: Re: Spacing or padding around article blocks
Post by: ZarPrime on March 04, 2009, 12:36:10 PM
Hi Diana,

No, what I would do is ...

1.  Have the Link in left Menu go straight to /index.php instead of to /index.php?page=home.

2.  Then I would setup your other articles to appear like the About Page.  This way, the other articles will look consistent with the way the about page looks and you won't have to worry about what the Home Article looks like, since clicking that link will take you straight back to the home page instead of to /index.php?page=home (the HomePage article).

This way, the article pages will still be article pages, and even though they will have the gray border, they'll still look pretty good.

The page number at the bottom only appears when an article is shown on the Front Page.  Since the Home article on the front page is now in a block it won't show the page number since it is the only page that will be on the Front Page.

LMK what you think.

ZarPrime
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 04, 2009, 08:03:03 PM
ohhhhh, HUGE bummer, I thought you were going to say that I would be able to make all of my pages look like how you did the frontpage.  You teased me with that!!!  So I'm back to where I was, I just have the homepage looking the way I want all of my pages look. 

The reason I put the home link to the index.php?page=home is so that all of my pages would be consistent with the gray border. I'm picky like that, I want all to look alike.  That's why I built that link to look like that.  At one time I had the frontpage looking okay but the rest of the pages didn't.  I guess how you were able to do. 

So that cell padding is still going to have to be a work around.  I was excited to maybe get that green bar the top for all of my articles pages like you did.  HUGE Bummer, but I'll have to work with it and shrink up my pages like I did on the about page and continue on with putting a frame to make that damn cell padding have a border so it looks better. 

I'm sad, I was so excited with what you did on the frontpage.  Thank you for looking into and what you did. I do appreciate your time!  If you're like me, time seems to get sucked up quickly.  I wish I could get all of my pages to look like your frontpage.  :-( 

Thanks again though!  I'm off to start shrinking HTML pages. 

Title: Re: Spacing or padding around article blocks
Post by: ZarPrime on March 04, 2009, 09:22:50 PM
Again, the gray border, if it is indeed a bug, will get fixed, but I can't make a bug go away in beta 3 just by wishing that it were so. ^-^  The last time I checked the bugtracker was this morning and it was still in there.  Hopefully, Bloc will be able to figure it out and fix it for beta 4, but I can't even guarantee that.  The gray border around the articles is just something that you are going to have to deal with until the bug is fixed.

On that green line across the top on the Front Page, it is just a front page block without a title and without any content, and set to show just the title (no frame).  If you want something like that above every article, you can probably setup an upper panel block to do the same thing, and set it to show on the pages of each article.  However, the gray border will still be in there as well.  There's nothing I can do about that at this time.

ZarPrime
Title: Re: Spacing or padding around article blocks
Post by: IchBin on March 04, 2009, 09:26:13 PM
If you don't like the color gray in that spot, why not take it out?
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 04, 2009, 09:44:14 PM
Ichbin, that's the huge subject for this thread....it can't be removed apparently.  Zarprime has reported it as a bug or is going to look into it because others have had the same problem.  It appears to be a frame without a border on it that is stuck in the "ON" position.  I have my articles set to no frame/title and there is nothing to get that gray border out of there. Or at least I haven't been able to find it anywhere. Zarprime looked it it last night.  In the frontpage the gray panel isn't a problem.  It's in the articles.  This entire thread is me trying to figure out how to get rid of it.  I would love for my site to look like this page that zarprime made with a green top above the article:

www.schreeandbaby.com/index.php

This mystery gray padding is causing my article widths to go into that scroll mode. Even with PHP code it's keeping it int he scroll.  So I'm having to go now and shrink up the width of my HTML pages to work around that gray cell padding that I can't remove. 

Zarprime posted a link to another thread that is about this same issue. I would LOVE to have someone find that gray padding! 
Title: Re: Spacing or padding around article blocks
Post by: ZarPrime on March 04, 2009, 09:53:32 PM
Ich,

Feel free to take a look at this.  I have been fighting with this for the past several days and I can't figure out where that border is coming from.  Here is one of her article pages where you can see that gray padding.  She has all visual options unchecked for the article, but the gray padding is still showing up ---> http://www.schreeandbaby.com/index.php?page=advertising

I had put this in as a bug a while ago when somebody else had the same problem with the gray border on their Front page.  The way I worked around it with that one, and with Diana's was to setup a FrontPage single Article block.  The bug is located here ---> http://www.tinyportal.net/index.php?action=bugtracker;sa=bug466

If you can solve it, that would be fantastic, but it seems beyond my expertise right now.

ZarPrime
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 04, 2009, 10:03:25 PM
Thank you zarprime, you rock for all the time you took to look into this!  I do appreciate all that you guys do and the time you take.

Ichbin, if you do wan to look at it and have time and need my temp login let me know and I'll pm it. Or zarprime feel free to give it to him as well.

www.schreeandbaby.com/index.php is how I want the site pages to look

www.schreeandbaby.com/index.php?page=faqs  is with the gray border and how it messes up my width and puts the content into a scroll

www.schreeandbaby.com/index.php?page=about  is how I was going to shrink up my html pages to work with the gray border and if I choose the frame option without title it will at least put a border on the gray.   
Title: Re: Spacing or padding around article blocks
Post by: IchBin on March 05, 2009, 12:32:31 AM
Feel free to PM, I'll try to take a look at it.
Title: Re: Spacing or padding around article blocks
Post by: ZarPrime on March 05, 2009, 12:58:31 AM
Sending PM now.

ZP
Title: Re: Spacing or padding around article blocks
Post by: IchBin on March 05, 2009, 01:44:21 AM
As a quick test, open up your index.template.php file. Right where the body starts AFTER the header there is a table. It has a cellpadding ="4" in it. Change that to 0 and see if it fixes the scroll issue.
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 05, 2009, 01:55:52 AM
Hey Ichbin, let me go do that now.
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 05, 2009, 02:01:03 AM
I'm not seeing what you are talking about.  After my header after my header ends?  I did a FIND and don't see cell padding that has 4.  I'm in the Goldcharm theme that I'm using.  You aren't referring to the default theme? 

Do you mean maybe this:

//The main content should go here.
echo'
<div id="bodyarea" style="padding: 1ex 0px 2ex 0px;">';


ETA:  I just changed the padding to 0px 0px 0px 0px and it didn't do anything different.  I think I had tried that before so I must put it back to the default so I wasn't messing something up that I couldn't see.  I've combed my CSS and index.template for that padding, but then again I'm not a php coder, I just follow instructions well and sorta can wing it.
Title: Re: Spacing or padding around article blocks
Post by: IchBin on March 05, 2009, 02:17:48 AM
Now that I think about it, it is probably in the TPortal.template.php file. If you can't find it, let me know and I'll take a look.
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 05, 2009, 03:24:11 AM
Hey Ichbin, wow, let me go look. I'm excited. :-)  Let me look and I'll let you know.

ETA:  Unless I'm totally PHP iliterate, but I do not see where the body ends and the header starts in the TPortal.template.php file.  I've combed all the coding twice and I do not see where anything that defines where the body or header areas.

ETA: Just in case, I'm going to look in TPBlockLayout.template.php and TPBlocks.template.php

ETA: Okay, I think I'm seeing a padding=4px in the TPBlockLayout.template.php and I'm going to try to change that. BRB
Title: Re: Spacing or padding around article blocks
Post by: IchBin on March 05, 2009, 03:41:38 AM
hehe, no there is no header etc in those files. Here's a little info on how it works. SMF uses the index.template.php functions for the header and footer of ALL pages. The rest of the templates are what goes in between those funcitons. So you won't see any header or footer info in those files.
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 05, 2009, 03:56:12 AM
LOL So didy ou still mean that TPortal.template.php???  If so, I don't know where to look.

I did just go to the TPBlockLayout.template.php, I'm in a copy of it now off of my server and I found a cell padding at 4px that was below the h3 area.  It didn't do anything, but I did try something else that I found an interesting result.

Almost toward the bottom of the file below where it say //TinyPortal integrated bars

there is a table width and there is padding at 10px for top and bottom.  I changed those 0pixels.  It caused that gray mystery padding to MOVE UP on my page above where the left and right panels sit.  Let me put it back to 0pixels so you can see.  I was a little happy that at least I was doing something to that gray area.  There's a lot padding in this file so I'm afraid to bother much unless I know for sure. 

I just loaded the test file with the 0px instead of the 10px and take a look at the page. It pulls that box up.  So we're close. 

www.schreeandbaby.com/index.php?page=home

Title: Re: Spacing or padding around article blocks
Post by: IchBin on March 05, 2009, 04:02:11 AM
No, I can look at my own file. I'll take a look real quick and see if I can find it.
Title: Re: Spacing or padding around article blocks
Post by: IchBin on March 05, 2009, 04:09:58 AM
Take a look in the TPBlocksLayout.template.php file. About line 123 for this code:

echo '
<table cellpadding="4" cellspacing="0" width="100%">
<tr>';


Change the padding to 0 and see if it helps.
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 05, 2009, 04:12:44 AM
ok brb

ETA: Sigh, it did move the gray area, just shifted it around it seems. It removed the spacing of the gray box from the right side of it to where it's right up against the right panel.  So it did move the gray area, but nope didn't work. 

This gray area has taken up my time ALL weekend and all week and my clients have no idea what the hang up is in getting the site finished. This is frustrating. Yes, another meltdown is pending. :-( 

IF the gray area won't go away, I might as well keep it centered and set the frame option so it has a nice border around it. 

Or do you think we are close to finding it?  :'(
Title: Re: Spacing or padding around article blocks
Post by: IchBin on March 05, 2009, 04:23:06 AM
One down, a few more to go I'm sure. Leave the change in please and I'll take another look.
Title: Re: Spacing or padding around article blocks
Post by: IchBin on March 05, 2009, 04:27:08 AM
Ok, now open the tp-style.css file. If you don't have one in your custom theme, copy the one from the default theme and put it in your custom theme. Find this style:
.tp_articletext {
line-height:1.4em;
margin-top:0;
padding:4px 1em;
}


Change padding: 4px 1em; to padding: 0;
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 05, 2009, 04:28:30 AM
Thank you thank you thank :-)  Yes, at least it moved.  I changed that one setting back to 10pixels for top and bottom because what it did was move the gray area UP.  Those 10pixels are very close to the code you had me change. You'll see it.

The thing that is curious for me is that it looks like it's about 40 some pixels at the top and the bottom. It's pretty beefy. I saw one area in one of those files that said like 45pixels, but I didn't try it yet. I'll wait until you look before I do anything else.  I dont' want to overlap.
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 05, 2009, 04:30:43 AM
Okay, let me go to the tp-css. Yes, I have copies of all of these, in my own efforts before asking for help, I've combed all of those files. I'll go change that now. BRB.

ETA, Okay, I changed that. It moves the HTML to the left where it would be sitting right if the gray border wasn't there, but the gray border COVERS IT.  That #$)^#$*(#& Gray Border!  :knuppel2:

Ooops, sorry G6, ETA:  There was a TP article frame in the tp-css, it had a 5px padding. Is that anything to test?

Title: Re: Spacing or padding around article blocks
Post by: IchBin on March 05, 2009, 04:42:34 AM
I have a few more changes when you're ready. Mind you, these changes will affect other things. But since you're hell bent on getting your "look", I'll make it happen. :) Ok, open up TPortal.template.php and find this code on about line 353:
echo '<br style="clear: both;" />
</div>';


Replace with this code:
echo '
</div>';


Open tp-style.css file and change the padding to 0 again in this style:
.tp_details {
font-size:0.8em;
margin-bottom:5px;
padding:2px 0 5px;
}



Let me know how it looks after this.
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 05, 2009, 04:45:09 AM
Okay, let me go make them now. I'm a dork, I had the FRAME scrolled over to the right so the gray border isn't hiding anything on the page. So that change didn't do anything.  Okay, let me go make these. :-) 

What other things can that change affect? 

Sorry again G6, I'm tired, lazy..
ETA:  Ewwwwww, that is sooooooo close!  I could actually live with that.  I need to backtrack though in this thread to what we removed when it moved the padding over to the right. If I can move that back over, it will be centered and I think I can live with it.  I can put the frame on it so it will put a border on it and just go with it.

What do you think?  Or do you think you can get it even closer?  I can go either way. It doesn't look too bad.
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 05, 2009, 04:55:20 AM
Quote from: IchBinâ„¢ on March 05, 2009, 04:09:58 AM
Take a look in the TPBlocksLayout.template.php file. About line 123 for this code:

echo '
<table cellpadding="4" cellspacing="0" width="100%">
<tr>';


Change the padding to 0 and see if it helps.

This is what I could add back in to get the gray area centered again. Unless you know how to remove more of the gray and I'll leave this alone and wait.

ETA:  Okay, I added this back in so it would move they gray border off of the right panel. 
Title: Re: Spacing or padding around article blocks
Post by: IchBin on March 05, 2009, 05:43:54 AM
Ok, so what do you want then? I'm headed to bed in a moment, so i'll check on this tomorrow.
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 05, 2009, 05:51:37 AM
Hey Ichbin, If you can shrink it more, that would be great, but if you can't, then at least it looks better now.  The space is even all the way around.  Just let me know if you can still shrink it up more.  Thanks for all of your help! 

Title: Re: Spacing or padding around article blocks
Post by: IchBin on March 05, 2009, 05:56:32 AM
If you remove the
 tag I posted earlier it will pull it up.
Title: Re: Spacing or padding around article blocks
Post by: Dianna on March 05, 2009, 06:01:05 AM
Hey Ichbin,

The more I look at the about page, the more I like the border the way it is now. It's all even around it and it does not look bad now.  It looks like it's on purpose.  I think I can live with it now and I actually like it.  So lets call it done!  I just need to shrink up my html pages some to fit, like I did on the About page. But that's no biggee.  It does look much better. 

The about page is how I'll get all of my pages to look.  It looks pretty good.  I can live with the grey that is there now. :D

Thank you soooooooooooo much for your help!!!  I really appreciate it!

And thanks again to zarprime and renegade, JPDeni, G6 and anyone else who have taken time to help me on this!  I really appreciate it!!!! 





Title: Re: Spacing or padding around article blocks
Post by: Dianna on April 01, 2009, 11:57:16 PM
Hey you guys!  I wanted to come back to this topic to let you guys that I figured out a WORK-AROUND for that mystery article background/spacing/padding bug. 

I figured out a work around to PUSH the mystery padding/background to the bottom of the page so it's out of the way and not as conspicuous.

What I did was odd but worked. I made all of my articles but put NO CONTENT into the articles. Then I put my actual article content into UPPER PANELS! So the blank article is where the mystery padding is at so the upper panel pushes it down to the bottom of the page.

Of course I had to click on the show each upper panel to only show on its respective article page!!! 

Take a look at my pages and check it out.  www.schreeandbaby.com!  You'll see the mystery gray padding sitting at the bottom of the pages and not standing out anymore. I can deal with that! :-)

My site FINALLY went live! YAYY! Thanks for all your help!!