Jump to content

john

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by john

  1. I added a few lines to the imageSizer based on code linked to above and tested with regular and transparent GIF and PNG images. Not sure how to submit it. I committed the changes on github and made a pull request. Hopefully this will be added. I don't think it's reasonable to require users to convert GIF to PNG before uploading.
  2. The problem: I have multiple inventory with the same name / model. I want the name / model in the title and URL ( name ) fields but can't create multiple pages with the same URL. The simplest solution I can think of, would be to use the stock number for the title / name fields and then add the make / model to the name before the page is published the first time via a hook. So the published URL would be make-model-stocknum, which would be unique. This shouldn't affect any images attached to the page correct? Is it possible to change the "Title" label to "Stock Number" for the inventory template? P.S. I don't want to add the make / model info in the title manually because many manufacture / model names are easily miss-spelled. It's easier to select this information from a list in the template. Thanks for PW and your help.
  3. I'm building a dealership website and have several vehicles of the same make-model. I'd like to have the make, model name in the URL. I'd like to add a link to create the page with a unique name using the api, then before it is saved, change the name to reflect the make-mode and unique id. I know I can create a hook before the save event and add the make / model info. How can I add a link ( process ? ) to the admin to skip the manual entry of a page title / name when adding inventory? Thanks.
×
×
  • Create New...