Results 1 to 2 of 2

Thread: Custom subpanels

  1. #1
    neil.pieterse is offline Member
    Join Date
    May 2006
    Location
    South Africa
    Posts
    9

    Unhappy Custom subpanels

    Hi.

    I have created a custom module and am using it as a subpanel for campaigns.
    The new module is called Products.
    Now, when I select a campaign it shows the products.
    I can create a product from here and it gets added to the products database, but a record is never written to the products_campaigns table. How can I fix this?
    I get the correct campaign_id when I add a product, but I want it to add it to the database.

    Afterwards, when I select a campaign, the added product shows in all products when it should just display for the correct campaign.

    How do I fix this?

    A quick responce will be greatly appreciated.


    Kind Regards
    Neil

  2. #2
    neil.pieterse is offline Member
    Join Date
    May 2006
    Location
    South Africa
    Posts
    9

    Default Re: Custom subpanels

    I found what I believe to be the error.

    When I try to rebuild the relationships I get the error:
    Warning: unlink(cache/modules/Relationships/relationships.cache.php) [function.unlink]: Permission denied in /var/www/vhosts/decisionworx.com/subdomains/leslie/httpdocs/sugar/modules/Relationships/Relationship.php on line 222

    Can anyone help me solve this?

    Thanks in advance
    Neil

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •