Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I dont see related documents in custom module created by Module Builder
#1
According to: http://corebos.tsolucio.com/development/view.php?id=310

- I need help to create a cbupdater changeset. I'm totally new to this Smile
Do i just copy setRelatedList(relatedmodule, header, actions, 'get_attachments') to /build/changeSets/example.php and run cbupdater?
Reply
#2
Hi.

Here you have more information about how to create a new changeset to modify your installation.

http://corebos.org/documentation/doku.php?id=en:devel:corebosupdater
Reply
#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
#4
It works for module, but i dont see documents in Accounts list.
Reply
#5
Sorry, I don't understand
Joe
TSolucio
Reply
#6
Its ok - my bad sorry Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)