This topic is locked

'View only' link on Add/Edit page?

8/27/2007 11:44:56 AM
PHPRunner General questions
G
gawde author

Has anyone done this before?
I have an Add page that uses a custom query to pull in a few images from a secondary table. On the primary table Add page, I want to show the image information as links, using the standard 'View As' functionality for images. (The image table has it's own add/edit page). The following steps did not meet with success.

  1. I generated the primary Add/Edit page
  2. Customized it a bit using the Visual Editor
  3. Removed the image fields from the primary add/edit on the "Choose Fields" control page (to eliminate update problems)
  4. Regenerated the project
  5. Changed the Smarty display tag to {$show_imagefieldname1}
    The result is a table cell with nothing in it. I must be missing something. Can anyone help?
    Greg

Alexey admin 8/29/2007

Greg,
I suppose you need to give more detailed description of what you need to achieve.
On the Add page the record is not created yet so it's not clear what images you want to display.

G
gawde author 8/29/2007

Greg,

I suppose you need to give more detailed description of what you need to achieve.
On the Add page the record is not created yet so it's not clear what images you want to display.



Alexey,
I guess in simpler terms, I need to present a number of static image links that come from another table. Not the one being added to. These same links would be presented on every Add page (they serve as reminders to help answer questions).
Hope that clarifies what I'm after.
Greg