Results 1 to 8 of 8
  1. #1
    Join Date
    Dec 2006
    Posts
    48
    Plugin Contributions
    0

    red flag Customising the Admin/Product entry page?

    Hi all,

    I'm customising my site and I'm having trouble finding the correct file to edit for the product entry/edit in Admin.

    I have modified admin/includes/modules/document_product/collect_info.php but I'm trying to change what the drop down box for the 'manufacturer' is populated with but I'm having trouble with it.

    Am I in the right place or is there something else I've missed?

    Thanks

  2. #2
    Join Date
    Dec 2006
    Posts
    48
    Plugin Contributions
    0

    Default Re: Customising the Admin/Product entry page?

    The URL for updating the product is: admin/product.php?page=1&product_type=1&cPath=66&pID=181&action=new_product but I can't make head nor tail of it!

  3. #3
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Customising the Admin/Product entry page?

    Could you say a little more about the change that you want to make?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  4. #4
    Join Date
    Dec 2006
    Posts
    48
    Plugin Contributions
    0

    Default Re: Customising the Admin/Product entry page?

    Hi Kuroi,

    I'm using the 'manufacturers_id' field as a list of 'designers'. My 'customers' table has a boolean field called 'is_designer' and I want to populate the 'manufacturers' drop down with customers who are 'designers' but can't seem to find it!

    Thanks

  5. #5
    Join Date
    Dec 2006
    Posts
    48
    Plugin Contributions
    0

    Default Re: Customising the Admin/Product entry page?

    Anybody help?

  6. #6
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Customising the Admin/Product entry page?

    What you're wanting to do would have consequences fanning out across your site.

    Changing the entries in that drop down is the tip of an iceberg since the data that is stored is then used in many places that are expecting references into the manufacturers table and not the customers table.

    The implications of what you're asking about are far greater than could be covered in a forum post, and really need professional level skills.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  7. #7
    Join Date
    Dec 2006
    Posts
    48
    Plugin Contributions
    0

    Default Re: Customising the Admin/Product entry page?

    OK, can I duplicate the code that populates the drop down and use it for this?

  8. #8
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Customising the Admin/Product entry page?

    You could use it as a model.

    You would need to create a new database field, amend the collect, preview and update.php files in the admin/includes/modules area relevant to your product type to take the new data through each of the product maintenance steps and then add whatever functionality you want to use this new data to generate.

    It's still not trivial, but is doable.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 

Similar Threads

  1. Replies: 7
    Last Post: 26 May 2011, 05:23 PM
  2. Customising the Admin Menu
    By eccentric in forum Customization from the Admin
    Replies: 1
    Last Post: 28 Jul 2006, 05:04 AM
  3. Customising the Admin Menu
    By eccentric in forum Basic Configuration
    Replies: 2
    Last Post: 28 Jul 2006, 05:03 AM

Posting Permissions

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