Welcome to the Invelos forums. Please read the forum rules before posting.

Read access to our public forums is open to everyone. To post messages, a free registration is required.

If you have an Invelos account, sign in to post.

    Invelos Forums->DVD Profiler: Layouts and Reports Page: 1 2 3 4  Previous   Next
Episode Guides and style sheets
Author Message
DVD Profiler Unlimited RegistrantFredLooks
phpDVDProfilerDude D5/7/2
Registered: March 13, 2007
Canada Posts: 350
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
ya_shin, can you let me know how that works with phpdvdprofiler? I'm a little unclear on how it's going to like the <head> section; it might be necessary to have all of the style in style tags in the body. (Sorry I haven't time to check at the moment; I'm still playing with some other layout issues)
-fred
DVD Profiler Unlimited RegistrantItalo_Disco
Registered: June 8, 2007
Netherlands Posts: 58
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Quoting Addicted2DVD:
Quote:
I don't see anything in the code to account for the change... so I am guessing you messed with the image with an image editor?

I used a different background image on the second example, to show that you can change the backgrounds of the guide, and the backgrounds of the episode texts by only changing things in the style sheet (and adding another image of course...)
DVD Profiler Unlimited RegistrantItalo_Disco
Registered: June 8, 2007
Netherlands Posts: 58
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Quoting FredLooks:
Quote:
ya_shin, can you let me know how that works with phpdvdprofiler? I'm a little unclear on how it's going to like the <head> section; it might be necessary to have all of the style in style tags in the body.

Style definitions in the body section will work, but need an extra pair of html comment tags to prevent the content from actually showing in the body. So there is no need to keep the <head> and/or <html> tags if that would conflict with phpdvdprofiler.
DVD Profiler Unlimited Registrantnuoyaxin
prev. known as ya_shin
Registered: March 13, 2007
Reputation: High Rating
Taiwan, Province of China Posts: 3,436
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting FredLooks:
Quote:
ya_shin, can you let me know how that works with phpdvdprofiler? I'm a little unclear on how it's going to like the <head> section; it might be necessary to have all of the style in style tags in the body. (Sorry I haven't time to check at the moment; I'm still playing with some other layout issues)

It's seems to work o.k., so far. As discussed with you before, the body tag should not modified via styles; but in fact, I am now using classes only, don't modify the HTML tags directly at all (as described in the examples earlier in this thread).

One of them is online already, you can check it out here:
Mr. Bean: The Whole Bean
You can look at the related EPG html file here.


I have been postponing to improve my EPGs for a long time. I will now slowly set up a standard styles section, which I will use for most of them; where needed I can still deviate.

EDIT is response to Italo Disco's new post (yes, I was typing slow):
As seen in the example, I have placed the styles section in the head. In fact, I use "complete" html files, with <html>,<head> and <body>. Works great; and I guess as long as classes are used rather than trying to adjust the html tags directly, there should be any problems. Only t5he body cannot be adjusted via styles and must still be done directly in the <body> tag of the html.
Achim [諾亞信; Ya-Shin//Nuo], a German in Taiwan.
Registered: May 29, 2000 (at InterVocative)
 Last edited: by nuoyaxin
DVD Profiler Unlimited RegistrantFredLooks
phpDVDProfilerDude D5/7/2
Registered: March 13, 2007
Canada Posts: 350
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Actually, that looks like there are a few issues ... the episode text doesn't appear on my browser, and the screen width becomes very large ... I guess I'll have to play around with it a little ... phpdvdprofiler extracts styles from body tags and tries to stick them on the containing element ...
-fred
 Last edited: by FredLooks
DVD Profiler Unlimited RegistrantOverseer
Where's my damn statue?!
Registered: March 17, 2007
United States Posts: 175
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting ya_shin:
Quote:
It's seems to work o.k., so far. As discussed with you before, the body tag should not modified via styles; but in fact, I am now using classes only, don't modify the HTML tags directly at all (as described in the examples earlier in this thread).

One of them is online already, you can check it out here:
Mr. Bean: The Whole Bean
You can look at the related EPG html file here.

Using IE7 the following error messages come up at the top of the screen:
Quote:
Notice: Undefined index: SLIPCASE in /home/yashinco/public_html/phpdvdprofiler/index.php on line 1070

Warning: Cannot modify header information - headers already sent by (output started at /home/yashinco/public_html/phpdvdprofiler/index.php:1070) in /home/yashinco/public_html/phpdvdprofiler/index.php on line 1247

And, like Fred, the screen width extends out to almost infinity.



Gotta nip it in the bud, Andy!
DVD Profiler Unlimited Registrantnuoyaxin
prev. known as ya_shin
Registered: March 13, 2007
Reputation: High Rating
Taiwan, Province of China Posts: 3,436
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Oh, I had only quickly checked on Firefox and only paid little attention to IE. I'll have to look into that "infinite" extension (seems the field becomes as wide as the longest line of text). It was fine in FF, that it's a problem in IE comes to no surprise.

Overseer, that error message is not related to the EPG. It's a problem with phpdvdprofiler not yet being upgraded to work with DVD Profiler 3.1 (Fred is working on it...).
Achim [諾亞信; Ya-Shin//Nuo], a German in Taiwan.
Registered: May 29, 2000 (at InterVocative)
DVD Profiler Unlimited RegistrantOverseer
Where's my damn statue?!
Registered: March 17, 2007
United States Posts: 175
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting ya_shin:
Quote:
Oh, I had only quickly checked on Firefox and only paid little attention to IE. I'll have to look into that "infinite" extension (seems the field becomes as wide as the longest line of text). It was fine in FF, that it's a problem in IE comes to no surprise.

Actually, that extension keeps on going even after the text has ended.  I can keep scrolling across like there's no tomorrow.

Quote:
Overseer, that error message is not related to the EPG. It's a problem with phpdvdprofiler not yet being upgraded to work with DVD Profiler 3.1 (Fred is working on it...).

Ah, gotcha.  Maybe one day I'll give phpdvdprofiler a shot, but then I'd have to change my hosting package which is the one thing keeping me from doing that.
Gotta nip it in the bud, Andy!
DVD Profiler Unlimited Registrantnuoyaxin
prev. known as ya_shin
Registered: March 13, 2007
Reputation: High Rating
Taiwan, Province of China Posts: 3,436
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Well, it could be my messy CSS as well....


When I scrolled, I did reach an end though, the page was wrapped up properly somewhere out there.
Achim [諾亞信; Ya-Shin//Nuo], a German in Taiwan.
Registered: May 29, 2000 (at InterVocative)
DVD Profiler Unlimited RegistrantItalo_Disco
Registered: June 8, 2007
Netherlands Posts: 58
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Quoting ya_shin:
Quote:
Well, it could be my messy CSS as well....

"font-weight: none" and "background-color: none" are not valid CSS. 
"width: 100%" is what makes the page too wide. Remove that, and the page text will flow properly.
 Last edited: by Italo_Disco
DVD Profiler Unlimited Registrantnuoyaxin
prev. known as ya_shin
Registered: March 13, 2007
Reputation: High Rating
Taiwan, Province of China Posts: 3,436
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting Italo Disco:
Quote:
Quoting ya_shin:
Quote:
Well, it could be my messy CSS as well....

"font-weight: none" and "background-color: none" are not valid CSS.

Yeah.
Well, while I was playing with it it didn't do harm in Firefox and then it got late and I just uploaded it without further clean up at the time.

Quote:
"width: 100%" is what makes the page too wide. Remove that, and the page text will flow properly.

No. Unless in combination with correcting the other two invalid codes?

I only added the width: 100%; as an attempt to fix the already broken display. Besides, isn't width: 100%; supposed to refer to the "viewport" (or whatever that visible area of the browser is called). I am pretty sure width: 100%; is not invalid in general...
Achim [諾亞信; Ya-Shin//Nuo], a German in Taiwan.
Registered: May 29, 2000 (at InterVocative)
 Last edited: by nuoyaxin
DVD Profiler Unlimited RegistrantItalo_Disco
Registered: June 8, 2007
Netherlands Posts: 58
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Quoting ya_shin:
Quote:

Quote:
"width: 100%" is what makes the page too wide. Remove that, and the page text will flow properly.

No. Unless in combination with correcting the other two invalid codes?


Maybe. All I know is that removing the width 100% and the two invalid tags made the page render properly in both Firefox and IE.  I can't put my finger on why the horizontal scroll behaved so odd (yet), but I presume it has to do with a combination of text-indent and margin tags.

Edit: I've uploaded the page to my crappy test web site, and the page does seem to behave properly there.
http://rendig.100webspace.net/733961708301.html
 Last edited: by Italo_Disco
DVD Profiler Unlimited Registrantnuoyaxin
prev. known as ya_shin
Registered: March 13, 2007
Reputation: High Rating
Taiwan, Province of China Posts: 3,436
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Well, we've learned a bit more now...

I've removed the other two invalid lines as well and the page now looks alright when viewed by itself. However, when loaded as part of phpdvdprofiler, it's still messed up.
Achim [諾亞信; Ya-Shin//Nuo], a German in Taiwan.
Registered: May 29, 2000 (at InterVocative)
DVD Profiler Unlimited RegistrantOverseer
Where's my damn statue?!
Registered: March 17, 2007
United States Posts: 175
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting ya_shin:
Quote:
Well, we've learned a bit more now...

I've removed the other two invalid lines as well and the page now looks alright when viewed by itself. However, when loaded as part of phpdvdprofiler, it's still messed up.

Yeah, I'm still seeing the same thing if you had made any changes.
Gotta nip it in the bud, Andy!
DVD Profiler Unlimited RegistrantFredLooks
phpDVDProfilerDude D5/7/2
Registered: March 13, 2007
Canada Posts: 350
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting ya_shin:
Quote:
Well, we've learned a bit more now...

I've removed the other two invalid lines as well and the page now looks alright when viewed by itself. However, when loaded as part of phpdvdprofiler, it's still messed up.

I can see that I'll have to re-write that part of phpdvdprofiler. The problem is that I am attempting to parse out styles from the text, and there is a problem with quotes. I'll likely move the whole thing to an iframe, which is what I should have done originally (it's currently being stuffed into a table)
-fred
DVD Profiler Unlimited Registrantnuoyaxin
prev. known as ya_shin
Registered: March 13, 2007
Reputation: High Rating
Taiwan, Province of China Posts: 3,436
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Fred, that is a great idea! Thanks in advance

(Especially as it saves me to play with what works and what doesn't )

EDIT:
O.k., had to play...

The problem in IE seems to be the percentages... margin-left and margin-right seem to be ignored if in percentage, the text-indent I used was the one killing the display.

I uploaded a new version where I now set those values in px, which seems to work fine...
Achim [諾亞信; Ya-Shin//Nuo], a German in Taiwan.
Registered: May 29, 2000 (at InterVocative)
 Last edited: by nuoyaxin
    Invelos Forums->DVD Profiler: Layouts and Reports Page: 1 2 3 4  Previous   Next