Announcement

Collapse
No announcement yet.

Module_Customer_Head function in vis_cust module

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Module_Customer_Head function in vis_cust module

    I am having problem writing vis_cust module.

    It does not seem to write output to head section.

    Code:
    <MvFUNCTION NAME="Module_Customer_Head" PARAMETERS="module var, tab, customer var" STANDARDOUTPUTLEVEL="text,html">
    
    <script language="Javascript">
    var dbgtest = "test";
    </script>
    
       <MvFUNCTIONRETURN VALUE = 1>
    </MvFUNCTION>
    Tab is created but script block is not found in head section.
    What am I missing? Or is this ever executed?

    Thank you.
    Daniel Kim, Compu-Mate
    Developer

    #2
    This looks correct to me. Maybe there's a problem in your Module_Customer_Tabs function? Also, check the api_ver value in your Module_Description; if the number there is too low, the store won't call Module_Customer_Head.

    HTH --
    Kent Multer
    Magic Metal Productions
    http://TheMagicM.com
    * Web developer/designer
    * E-commerce and Miva
    * Author, The Official Miva Web Scripting Book -- available on-line:
    http://www.amazon.com/exec/obidos/IS...icmetalproducA

    Comment


      #3
      Thank you Kent.

      That was it.
      api_ver was too low.
      It works after api_ver was set to 5.7.

      Thanks.
      Daniel Kim, Compu-Mate
      Developer

      Comment

      Working...
      X