Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I dont see related documents in custom module created by Module Builder
#3
Look at this changeset:


build/changeSets/addvendorrelatedlist2contact.php

that adds a related list to contacts pointing to vendors, so it is very close to what you need. Copy this file and modify it.

Then create a new file here:

modules/cbupdater/cbupdates/shao.xml

inside that file you add blocks of changeset definitions for each changeset you create.
Let's suppose you copy the changeset above and name it: addDocumentsToMyModule.php, so you will have:

build/changeSets/addDocumentsToMyModule.php

now you edit modules/cbupdater/cbupdates/shao.xml and write this:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<updatesChangeLog>
<changeSet>
    <author>Shao</author>
    <description>add Documents relation to MyModule</description>
    <filename>build/changeSets/addDocumentsToMyModule.php</filename>
    <classname>addDocumentsToMyModule</classname>
    <systemupdate>false</systemupdate>
</changeSet>
</updatesChangeLog>

in the future you will add <changeset></changeset> blocks to this file.
Joe
TSolucio
Reply


Messages In This Thread
RE: I dont see related documents in custom module created by Module Builder - joebordes - 07-07-2015, 07:27 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)