This topic is locked

Email and Export

1/31/2009 4:57:32 AM
PHPRunner General questions
M
monoofy author

Dears,
First, I can't describe how much your software is valuable to me and how much benefits I got from it.

Second, I have 3questions:

1- In the view page, I want to add a button or a link to email this page as it is, in the same format, is this possible ?

2- Also, in the view page, can I add an export button or link to export this page as it is?

3- When exporting to excel, is there is a way to format the output file, coloring and spacing, etc. ?
Many thanks and really appreciate your efforts.
BR,

Mahmoud

M
monoofy author 2/2/2009
J
Jane 2/2/2009

Hi,
please see my answers below:

  1. add link on the view page on the Visual Editortab (in HTML mode) and point it to the email form.

    Check sample code in the Classified template.
  2. Use PDF view option (on the Choose pages tab in PHPRunner). Also you can add custom link on the Visual Editor tab and pass ID of this record to the export page. Then check it in the Export: Before SQL query event and add WHERE clause to the main SQL query.

    Here is a sample:
    if (@$_REQUEST["id"])

    $strWhereClause = whereAdd($strWhereClause,"ID=".$_REQUEST["id"]);


3. Unfortunately no.

M
monoofy author 2/5/2009

I really appreciate your response.

I just have a request for a sample code for point 1 ... email and export buttons on view page

because I searched the classified template and couldn't find that <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=37479&image=1&table=forumreplies' class='bbc_emoticon' alt=':(' />

Sorry for that but I couldn't do more.

J
Jane 2/5/2009

Hi,
try to run PHPRunner and select Classified template on the left pane.

http://www.xlinesoft.com/phprunner/docs/cl...ed_template.htm

M
monoofy author 2/5/2009

I think you didn't get me, I did that and built the project with Classifieds template, but sisn't know how to get the email button from it.

J
Jane 2/6/2009

Hi,
you need to create new table (email form) on the Datasource tables tab, add link on the view page on the Visual Editor tab (in HTML mode) and point it to the email form.

Do not transfer button, use Classified template as a sample.