Working with zen and lightbox2 in 6.3, why do I get two versions of the page width? Can I remove the query remark that says something like 'show more' and simply have the page display at full width by default?

I assume it is something to do with the three content panels, left, middle, and right I'm not grasping.

And will this problem disappear if I transfer to drupal 4.7 [which I must do, in fact], or just turn into a different problem?

Very grateful for any hints here,

Mark G.

Comments

nevets’s picture

You really do not want to start with Drupal 4.7, you should at least be using the latest Drupal 5.x version.

Not sure what you mean by two versions of the page width, do you have a pair of urls that demonstrate this?

markgriffith’s picture

Many thanks, nevet. Sadly, I have to work with 4.3 - no alternative.

I'm doing a simple site for a friend, learning very very basic drupal, and his site is hosted on a server in Vancouver which regretfully specifies it can go no higher than 4.3.

However, the site is dead simple - should be a few minutes work if I wasn't such a moron. One page of thumbnails, each enlarge on click using lightbox2, very plain zen theme, very little text, no user permissions, nothing else, that's it.

I can't show you URLs, sadly, since I did the page in 6.3 on XAMPP on my laptop. I assume I have to redo it in 4.7 on the remote server once I've installed it there.

The page is a horizontal strip of thumbnail images. When I open it in XAMPP, I get about five images, plus a button that asks something like 'view more?' or 'see more?'. Once I click that, I get the full width I originally intended.

I don't know if that explains it well at all.

Sorry....

.

nevets’s picture

Do care to share the name of the hosted server, it is odd they would specify the level of Drupal they support. Unless they have a very old version of PHP or mySQL they should at least support Drupal 5.

markgriffith’s picture

It's doteasy.com, nevets.

They were very apologetic about it. And they said it is because of the old version of - I think PHP - they're still using. I suppose things will improve in coming months.

Meanwhile, I am stuck with 4.3 for this very simple page. I suppose the page-width concern I mentioned didn't sound familiar or make any sense?

Apologies,

Mark

.

nevets’s picture

Ok this is odd, they support PHP 5.1.6 which means there is no guarantee a Drupal 4.x site will even run. Both core Drupal 5.x and 6.x should run under PHP 5.1.6 though I think both now have contributed modules that require PHP 5.2

markgriffith’s picture

.

Well, perhaps it is odd, nevets, yes. What they said to me was

<<
It appears that you are trying to install Drupal version 6.3, which requires PHP version 5.2. We do not currently provide this version of PHP for our clients. As this is the case, if you wish to install Drupal using our web hosting services, you will unfortunately only be able to install a very outdated version of Drupal, version 4.7.
>>

...but I am still hoping to find out how to stop the page width being narrowed in 4.7 since this is what I have to use, however odd that is.

Can anyone help?

Thanks very much!

Mark G.

styro’s picture

Drupal 6 is still supported on PHP 4.

http://drupal.org/requirements

--
Anton

markgriffith’s picture

I'm just doing what my host told me, styro!

Do you have any ideas why I'm not getting the screen contents at full width by default?

Thanks!

Mark G.

.

markgriffith’s picture

.

I know this business of my host insisting on Drupal 4.7 is the interesting bit, but does anyone have any idea why I can't get my front page [my only page] to display at full width first time, but it will when I hit the 'see more?' or 'show more?' link?

nevets’s picture

Without a URL to the site it is kind of hard. Typically people have the opposite problem where the content area is wider than expected due to content that is fixed width.

markgriffith’s picture

I understand a URL would help, nevets, but the page is on XAMPP on my laptop.

On top of all this, my host has just told me they cannot successfully instal Drupal on their servers, not 4.7, not any other type.

Clearly, I'm thinking of moving host, but this sounds a bit odd to me. I wonder what's going on?

Mark

.

nevets’s picture

Without being to see the actual pages in question it is hard to guess why the width is behaving that way.

As for the host, odd that they would even install Drupal (normally one installs Drupal them self) and even odder given their features I would think they would support Drupal, so something odd is going on there.

markgriffith’s picture

They offered to instal Drupal because my installation of 4.7 [their spec, not mine] didn't seem to work.

markgriffith’s picture

nevets, if I post screen shots of the two screens off my XAMPP installation, might that help diagnose the problem?

nevets’s picture

Not really the issue is one of looking at the html/css for the pages in question. You could do this yourself using the firebug extension for Firefox.

markgriffith’s picture

Thanks, nevets. That's the only way I can look at the html for my own page? 'Open source' isn't enough?

vm’s picture

you can view the source of a page with a browser as well but this is fully rendered HTML because drupal uses HTML and css you won't see where everything is located without help whether the source code is open source or not.

open source is a methodology not a way to see source code = http://en.wikipedia.org/wiki/Open_source.

markgriffith’s picture

Of course, Very, I shouldn't have written 'Open Source' - I know that's an approach. I meant 'View Source' - the choice under the 'View' menu...

vm’s picture

that shows you the total rendered source which isn't exactly what you want to look at. Trust us, learning to use the firefox browser with the firebug add on will save you hours upon hours of time learning how to theme.

markgriffith’s picture

Fair enough, Very, you've talked me round. I trust you! I'll get the firebug up and running.

Jeff Burnz’s picture

why do I get two versions of the page width? Can I remove the query remark that says something like 'show more' and simply have the page display at full width by default?

What exactly do you mean by this - can you post a screenshot ( use tinypic.com ) to show us what you mean?

markgriffith’s picture

I'll do this tomorrow, jim - sounds a good idea. Two small screenshots then. Thanks for the ref.

markgriffith’s picture

Thanks for your thoughts, jim - here are the two screenshots.

Narrow version http://tinypic.com/view.php?pic=14xf7ys&s=4
Broad version http://tinypic.com/view.php?pic=30n7ygy&s=4

Any ideas what's going on most grateful - for anyone else, these are just on xampp on my laptop.

markgriffith’s picture

Of course, the thumbnail images are quite poor quality.

That's not the point - the point is why I am too dense to control the look of the page in Zen!

Jeff Burnz’s picture

Ok, well they don't really help illustrate the issue for me. Just a bunch of very small thumbnails.

markgriffith’s picture

I know, jim, I know. So why does the page open under narrow format first, with the 'Read more' label? That's my question, not the smallness of the thumbnails.

Have you ever seen that kind of twin-width page before?

Thanks!

Jeff Burnz’s picture

I have no idea what you are describing, I asked for an image because your written description is an inadequate description.

What do mean by "page open under narrow format first", or "twin-width page"?

An image is worth a thousand words dude, show me your site or a BIG IMAGE, where I can actually make head or tail of what you trying to describe...

markgriffith’s picture

jm, I do appreciate you taking the trouble to write these replies, but I did exactly what you asked me to.

I took two screenshots of the two screens, as you suggested, and mounted them - using the site [tinypic.com] you asked me to use. My site's on xampp on my laptop so there's no URL.

What else could "page opens under narrow format first" possibly mean other than what the English words suggest? As I said before, when I open the page, I get this
http://tinypic.com/view.php?pic=14xf7ys&s=4

which has four thumbnails on it and the link 'Read more'. I thought it might be clear if I called that the "narrow format page". If I click that link, I get this
http://tinypic.com/view.php?pic=30n7ygy&s=4

which has the whole set of thumbnails stretching across the page, as I want. I thought it might be clear if I called this the "broad format page". I don't know what is going on, so how else might I have described the page with only four thumbnails on and the page with the full set stretching to the right, as I wanted.

Are 'narrow' and 'broad' misleading here? I really don't know. If I knew how to describe the difference between these two screens more accurately, I think I'd already know what the problem is and how to solve it, no?

I'd like to get the second kind of page at once, and not have the 'Read more' link.

Thanks, anyone.

Jeff Burnz’s picture

You mean the "teaser view" - in your words, "narrow view".

Standard Drupal output. I make the assumption this is a taxonomy page or Views page etc - that looks like a normal teaser (or "summary view" as they are more widely known on the web) as far as I can tell.

Drupal outputs teasers by default on these types of pages, you can use the Views module to override this (show full nodes in teaser lists, sort of thing).

But why not just link to the full node strait away if that what you want?

markgriffith’s picture

Thanks for explaining that so crisply, jm!

I'll look at this again in the morning, when I'm fresher, but that seems extremely helpful - thanks, I'm really grateful.

Sorry I was so muddled in asking what I wanted to know.