Search:

Type: Posts; User: Gordon - Phosphor Media; Keyword(s):

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Re: headers and .pdf attachments

    Have you looked at Send_Email_Attachment() in the LSK?

    (Of course, you may be trying to do this outside of Merchant.)

    I would suspect a stray crlf that most mail servers handle without...
  2. Replies
    3
    Views
    178

    Re: Left admin menu depth

    Could you do us all a solid and post your workaround?

    Also, where is the public documentation of the _Dot and _Level functions? It is not in the LSK and the only mention I find via Google is...
  3. Re: checking for an index in mysql and LIKE

    'SELECT * FROM orders WHERE bill_email LIKE \"%' $ l.searchtext $ '%\"'

    LIKE only works on text fields, of course.
  4. Re: Sort Custom Fields in Admin

    I would hope that this would be implemented so that it effectively adds an 'ORDER BY' clause. IOW it is merely another view of the data and has no effect whatsoever on existing APIs.
  5. Replies
    7
    Views
    387

    Re: IF EXISTS Column...

    Rather than try and do this at the query level, I use a function. Since I would never do this 1000 times at runtime, it works for me:

    <MvFUNCTION NAME="FieldExists" PARAMETERS="module VAR, table,...
  6. Replies
    7
    Views
    387

    Re: IF EXISTS Column...

    AFAIK you can't do this in MySQL without using a stored procedure.
  7. Re: Is there a rmdir in Miva Script?

    Excellent, thanks!
  8. Is there a rmdir in Miva Script?

    I've looked around and haven't found one. I wondered if fdelete/sdelete would work if it was passed a directory?
  9. Re: Need to keep additional info related to items added to the basket

    Yes this is correct. Put the code you want to run in the Module_Cleanup_Store function.
  10. Re: Information needed for file permission mode

    From Mivascript.com:

    mode_number = ( nnnn decimal number) or '0nnnn' (octal string)
  11. Re: Detecting SEO Settings>Short Links ON?

    Ray, spot on - thanks. I completely missed it in the dbprim folder.
  12. Re: Detecting SEO Settings>Short Links ON?

    Well, I found the SEOSettings table. It looks like I can just query it. I was hoping there was an API!
  13. Detecting SEO Settings>Short Links ON?

    Does anyone know if there is a way to detect whether a Merchant 5.5 PR8 user has Short Links enabled (Domain Settings>SEO Settings>Short Links)?

    Thanks - Gordon
  14. Re: MySQL and char field = 2048 maximum

    Thanks. Using VARCHAR(2048).
  15. MySQL and char field = 2048 maximum

    I am creating a table in MySQL for use in a Merchant module. The module is MySQL only.

    I have a character field that needs to be 2048 characters maximum. If I was to do this to be compatible with...
  16. Re: Triggering a code when a user inserts or updates its information

    This is probably a wish list item: it would be helpful to have the order ITEM deletion trigger order_item_delete independent of the order status. In the case of electronic delivery, there is no...
  17. Replies
    4
    Views
    372

    Re: Multiple Parents?

    It sounds like you're using categories more as general content containers than as hierarchical entities. Can you give a short specific example? It sounds like you are wanting to do what is known as...
  18. Replies
    1
    Views
    931

    StoreMan4 - Free At Last!

    Summer of 2001. Miva was preparing to release Merchant 4.0, and we raced to develop and finish StoreMan4 so we could offer it very soon afterwards.

    We burned enough midnight oil to power a few...
  19. Re: Triggering a code when a user inserts or updates its information

    Well. we've got it working in a module. We use it to automatically deactivate a license record if the order gets refunded.

    Module_Order_Delete_Order is called only when an order is deleted. Not...
  20. Re: Canonical category getting wiped out? Storeman perhaps?

    We have a fix for this issue now.
  21. Re: Canonical category getting wiped out? Storeman perhaps?

    I have found the bug (we did not update our use of Product_Update since that field appeared - it will set cancat_id to 0 if not passed in) and an update to the Connector will be coming soon.
  22. Re: Triggering code when deleting product(s) from multiple item order

    Well, it was close. The Module_Notify_OrderItem_StatusChange function does not get called on orderitem deletion.
  23. Re: Triggering code when deleting product(s) from multiple item order

    Thanks - this looks like exactly what I need. I must have been looking on an older list since this feature type didn't exist.
  24. Triggering code when deleting product(s) from multiple item order

    I know that if you delete an order (e.g. via Manage Orders>Edit Order>Delete) it will call Module_Order_Delete_Order. That works as expected.

    If the order has multiple products, and you delete one...
  25. Replies
    1
    Views
    281

    Error in Export module

    I'm writing an Export module, and getting an unknown error MER-DBE-MOD-00015.

    Anyone recognize it (I've tried to search the LSK for this error, but no joy)?

Results 1 to 25 of 64

Page 1 of 3 1 2 3