Gossamer Forum
Home : Products : DBMan : Customization :

Need format help please

Quote Reply
Need format help please
I had posted this question many months ago, but never got an answer so I gave up at the time, but I am back working again and still trying to figure this out.

Since both my short and long display both "run" off of the view_success sub, as in if I put any html in the view_success sub, it will show up on both my short and long display, but I dont want that. So what I am thinking I can do, (or hoping), is put something in view_success to the effect of:

If html_record_long2 print _______ else If html_record print __________

So what this will tell it is if the long display is shown, I need it to print these links, but if the short display is shown, I need it to print something else.

Can this be done...will it work? And if so, does anyone have the correct syntax for it? Thanks for any help! Smile
Quote Reply
Re: [wdu2002] Need format help please In reply to
Hi,

Can you try this?

if($in{long2}){ print &html_record_long2}else{ print &html_record}

Cheers,

Cheers,

Dat

Scripts installation and plugin creation
Plugins