This topic is locked

see listpage

12/11/2007 6:28:08 AM
PHPRunner General questions
J
jesusmanuel author

How can I do to see on page page_view.php, records detail as shown in page_list.php?
Thanks

J
Jane 12/11/2007

Hi,
I'm not sure that I understand you correctly.

What does "records detail" mean?

J
jesusmanuel author 12/13/2007

Hello

Sorry if I have not explained well, try to do that now.

In datasouce tables have an option to display master table info on detail page, to turn it on page data_list.php appears some links to pass the mouse over sample records detail page.

My question is how can I do this in data_view.php? I have tried several ways but do not know how
Thanks

J
jesusmanuel author 12/13/2007

Hello

Sorry if I have not explained well, try to do that now.

In datasouce tables have an option to display master table info on detail page, to turn it on page data_list.php appears some links to pass the mouse over sample records detail page.

My question is how can I do this in data_view.php? I have tried several ways but do not know how
Thanks

J
jesusmanuel author 12/13/2007

Hello

Sorry if I have not explained well, try to do that now.

In datasouce tables have an option to display master table info on detail page, to turn it on page data_list.php appears some links to pass the mouse over sample records detail page.

My question is how can I do this in data_view.php? I have tried several ways but do not know how
Thanks

J
Jane 12/14/2007

Hi,
I see what you're saying.

You need to do the following:

  • proceed to the Visual Editor tab, switch to HTML mode and add following code in any place you want:

    {include file="$showmasterfile"}


  • then add following code to the View page: Before display event:

    global $strTableName;

    // display master table info

    $mastertable=$_SESSION[$strTableName."_mastertable"];

    $masterkeys=array();

    $smarty->assign("showmasterfile","empty.htm");

    if($mastertable=="MasterTableName")

    {

    // include proper masterlist.php code

    include("include/MasterTableName_masterlist.php");

    $masterkeys[]=@$_SESSION[$strTableName."_masterkey1"];

    DisplayMasterTableInfo("DetailTableName", $masterkeys);

    $smarty->assign("showmasterfile","MasterTableName_masterlist.htm");

    }





where MasterTableName and DetailTableName are your actual table names.

J
jesusmanuel author 12/21/2007

Thank you for the answer, so far I have not been able to see the forum be working on other projects.

J
jesusmanuel author 1/9/2008

Hello Jane:
I am trying, (took four days) to make changes, but to go to page_view and put the mouse on the "show detail" (copying list_page) not get the popup. By clicking on the link brings me to details_list, although I list all records details_list.
I do wrong?
Thanks again

Hi,

I see what you're saying.

You need to do the following:

  • proceed to the Visual Editor tab, switch to HTML mode and add following code in any place you want:
  • then add following code to the View page: Before display event:
    where MasterTableName and DetailTableName are your actual table names.

J
Jane 1/9/2008

Hi,
I'm not sure how is link to detail page connected to the master info on the detail view page?

Please clarify.

J
jesusmanuel author 1/11/2008

Hello,
I have been looking for and I found in livedemo4 an example. By moving the mouse to "order details" opens a popup with details, but that at this Order_list, I what I was able to do so in order_view, putting in order_view "order details" and when the mouse passes over his popup appears with details, and that when I click on the open the page Order_details_list.php? mastertable_list ...

I just get to me order_list open.
Bother I therefore hope that now I have explained better
Thanks

Hi,

I'm not sure how is link to detail page connected to the master info on the detail view page?

Please clarify.