Quantcast
Channel: Recent posts across whole site
Viewing all articles
Browse latest Browse all 49206

Q: HowTo Display TableViewBlock on 1 pg of MultiStep/Page form - snippet?

$
0
0

Folks,

I apologize in advance for being a complete newbie but
I have spent days trying to implement a view in a page
of a multi-step form with very limited success.

I am using drupal 6.19 . My goal is to have a database
view/table displayed in the content section on a particular
page of the multi-step form.

The view is of a raw database table (a schema).
The table was created with Table_Wizard and
I defined it as a block.

I can get it to display on all the pages if
I check "Show on only the listed pages" and give the form
name.

If I check "Show if the following PHP code returns TRUE"
and include this snippet:
<?php
($form_state['storage']['step'] == 5 )
>
nothing shows up.

If I try and implement it directly (not as a block)(using
views_embed_view either inline or vial hook_form_alter)
on the particular page, ... it is displayed
but it is placed before the header.

Can anyone coach me on writing the appropriate snippet?
Thanks!!

Also:
In all cases in which the table is displayed, if one
clicks on a column header to resort the table, one
is taken back to the first page of the form.

Any ideas on how this can be prevented.

Thanks much in advance!


Viewing all articles
Browse latest Browse all 49206

Trending Articles