I have never run into this before and have tried everything I can think of. Hopefully someone here has a solution. I have a site that has been upgraded from D5 to D6 (eventually to D7). I chose not to try to upgrade the custom theme as it had way to many shortcomings. So I decided it was closest to the Pixture Reloaded theme, which also has a D7 version already. With a bit of CSS, it looks great and very similar to the old theme. However, when someone views it on an uncustomized FF3, the content area ends up to the right of the right sidebar. Using the zoom (CTRL + or -) one can eventually get the content region back where it belongs. Changing FF to a 12 point default font will also get it right, but zooming out can cause it to happen again. I would have believed this was a FF problem until I used someone else's PC and IE8 where the problem happened in that browser too. I can't reproduce it in Chrome. So now I have to question the theme. It passes validation after I removed the <em> tag from the site-slogan. So there are no broken div's or tables. I have deliberately removed the initial font-size so that the user's browser is in charge. All other font-sizes are relative. Any ideas how to fix this? The only starter theme I have any experience with is Zen, and don't know if I have enough time to build a new sub-theme (maybe one or two days). But I am strongly considering that approach to the problem. Nancy
Hi, I have a node whose main content area needs to be replaced by the output of a View depending on the selection clicked on. This will be done with a jquery call. I configured the View as a page with a view right now, but I don't see anything that would give me just the html of the View, not the surrounding page html. An RSS feed doesn't seem to make sense, because I couldn't format the html around the results.
My thoughts are that I could retrieve the View results as html and just create a new node within the container node right now, but I'm not quite sure of how to get the stripped View results.
Drupal 6.
Any ideas to get me started?
Am I missing something here? Why not output the view as a block? Then you can easily theme it prior to jquery switching it on for the desired page section - or should I say page region? :)
Marty
At 05:07 PM 4/4/2011, you wrote:
Hi, I have a node whose main content area needs to be replaced by the output of a View depending on the selection clicked on. This will be done with a jquery call. I configured the View as a page with a view right now, but I don't see anything that would give me just the html of the View, not the surrounding page html. An RSS feed doesn't seem to make sense, because I couldn't format the html around the results.
My thoughts are that I could retrieve the View results as html and just create a new node within the container node right now, but I'm not quite sure of how to get the stripped View results.
Drupal 6.
Any ideas to get me started?
I'm not sure how to retrieve just the block from the browser via ajax, but that's what I want. No tags, navigation, or anything else. Normally if I'm outputting json I echo out the json, and then exit; so none of the rest gets sent. I'm just thinking that there's a better way.
-Don-
On 4/4/2011 5:16 PM, Marty Landman wrote:
Am I missing something here? Why not output the view as a block? Then you can easily theme it prior to jquery switching it on for the desired page section - or should I say page region? :)
Marty
At 05:07 PM 4/4/2011, you wrote:
Hi, I have a node whose main content area needs to be replaced by the output of a View depending on the selection clicked on. This will be done with a jquery call. I configured the View as a page with a view right now, but I don't see anything that would give me just the html of the View, not the surrounding page html. An RSS feed doesn't seem to make sense, because I couldn't format the html around the results.
My thoughts are that I could retrieve the View results as html and just create a new node within the container node right now, but I'm not quite sure of how to get the stripped View results.
Drupal 6.
Any ideas to get me started?
http://drupal.org/project/viewfield?
Nancy Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.
________________________________
From: Don My thoughts are that I could retrieve the View results as html and just create a new node within the container node right now, but I'm not quite sure of how to get the stripped View results.
See views_get_view_result() or views_embed_view() in views.module.
On Mon, Apr 4, 2011 at 7:49 PM, nan wich nan_wich@bellsouth.net wrote:
http://drupal.org/project/viewfield?
*Nancy*
Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.
*From:* Don
My thoughts are that I could retrieve the View results as html and just create a new node within the container node right now, but I'm not quite sure of how to get the stripped View results.
-- [ Drupal support list | http://lists.drupal.org/ ]