Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

[mv] FlyPage and MV tags into the database



******    message to minivend-users from "Alexei Yakimovich" <alex@del.donetsk.ua>     ******

Hi,

I have a SQL database and flypage below.
If I'm inserting some MV tag, for example: [tag time][/tag] into some cell
I'm see only results of that MV tag.
What can I do to see only MV tag in edit mode and tag result in view mode?

Have a nice weekend,

Alexsei

<div align="center">
<table border="0" width="95%" cellpadding="0" cellspacing="0">
 <tr><td>
 <div align="left">
 <table border="0" cellpadding="0" cellspacing="0">
  <tr>
   <td valign="top">
[if session logged_in]
 [if type="data" term="userdb::groups::[data session username]" op="eq"
compare="administrator"]
[set name="Update"]
mv_data_function=update
mv_data_table=products
mv_data_fields=description, base, title
mv_data_key=code
code=[item-field code]
mv_update_empty=1
mv_next_page=
location=[scratch location]
mv_doit=set
[/set]
 <form method="post" action="[process-target]">
 <input type="text" name="title" value="[item-field title]">
 <br><input type="text" name="base" value="[item-field base]">
 <textarea rows="25" cols="55" name="description">[item-field
description]</textarea>
 <p><input type="submit" name="mv_click" value="Update">
 [else]
         <b>[item-field title]</b>
         <br>[item-field description]
 [/else]
 [/if]
[/if]

[if !session logged_in]
          <b>[item-field title]</b>
          <br>[item-field description]
[/if]
   </td>
  </tr>
 </table>
 </div>
 <br>
 </td></tr>
</table>
</div>

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: