TinyPortal

Development => Support => Topic started by: shawnlg on December 23, 2007, 02:48:31 AM

Title: Database values
Post by: shawnlg on December 23, 2007, 02:48:31 AM
I am using a backend database program to poplulate articles quickly.  However I have run into a problem and need to know if the only files I need to touch are smf_tp_variables and smf_tp_articles.  Please let me know.
Title: Re: Database values
Post by: IchBin on December 23, 2007, 03:52:14 AM
If you could describe your problem it might be easier to tell you what is involved.
Title: Re: Database values
Post by: shawnlg on December 23, 2007, 04:15:45 AM
I think I figured it out.  I was leaving a single quote and it was causing the issue because it thought it was code instead of text. but I replaced it and it fixed this issue.  I will let you know if I have any more problems.  Thanks!
Title: Re: Database values
Post by: shawnlg on December 23, 2007, 04:34:36 AM
That hack I came up with floating the table in the box using the style sheet isnt working out the best.  In smaller or larger resolution it sticks out.  I know that you said the option you found earier for this works ok in firefox but not ie.  Do you have any other suggestions?

Example page.

http://www.scifiandgod.com/content/index.php?cat=118
Title: Re: Database values
Post by: IchBin on December 23, 2007, 05:00:46 AM
You will run into these types of problems when you start using the positioning attribute with absolute. Add float: left; to your style instead of the position attributes that you have.
Title: Re: Database values
Post by: shawnlg on December 23, 2007, 07:01:18 AM
So what you are saying is there is no real way I can change a page like this?  Before messing with this site I never knew that there was this kind of functionality in style sheets.  I actually think it is really cool.

http://www.scifiandgod.com/content/index.php?cat=113

Was curious if there was a way of maybe just dropping the table below the picture.  Even if I have to hard code it into the code so that it will always function like this, even with the regular articles.

Ideally what I would like to put next to the picture is a short category description.  Thanks again for all your help.  I am really starting to figure things out.
Title: Re: Database values
Post by: shawnlg on December 23, 2007, 09:05:44 PM
Not sure if you did anything but given enough break tags now it seems to be working..  Weird..
Title: Re: Database values
Post by: IchBin on December 23, 2007, 09:13:11 PM
Didn't do anything. You could of course add brake tags as a quick work around. :)