Jump to content

will

Members
  • Posts

    37
  • Joined

  • Last visited

Everything posted by will

  1. I'm trying to modify a module. There's a bug somewhere in it that's causing some kind of PHP error, rendering a 500 internal server error from nginx. However, there's no error in my php error log, making debugging exceedingly difficult. I've confirmed that logging works normally (e.g. if I write a simple php file with a syntax error). Is Blesta intercepting PHP errors? Is it logging them anywhere?
  2. will

    Custom Css Overrides?

    I'd like to inject extra CSS to client-facing pages. For the order plugin, this was relatively easy - I modified plugins/order/views/templates/wizard/signup.pdt I changed line 85 from "<link href=\"" . Router::makeURI(str_replace("index.php/", "", WEBDIR) . $this->view->view_path . "views/" . $this->view->view) . "/css/order.css\" rel=\"stylesheet\" type=\"text/css\" />" to "<link href=\"" . Router::makeURI(str_replace("index.php/", "", WEBDIR) . $this->view->view_path . "views/" . $this->view->view) . "/css/order.css\" rel=\"stylesheet\" type=\"text/css\" />\n<link href=\"/my/stylesheet.css\" rel=\"stylesheet\" type=\"text/css\" />" thereby injecting my CSS right after the plugin's CSS. I can't figure out where to do this for the account page, though. Where does the CSS for the account page get inserted? Alternatively, is there a better way to handle this? ( CSS is a poor search term for this forum. )
  3. I have an implementation question. Given order A for service 1 and 2, is it possible for the validation function to access fields in order 2 while validating order 1? If so, how?
  4. Er, why is there an option for Service Search and an option for Package Search, then? Preliminary testing looks like my theory is correct - it looks like it is at least searching through labels.
  5. According to this ticket it looks like the Service Search does already do this, but the Smart Search does not include the Service Search. Is that correct?
  6. Is it possible to search service fields or service labels? For example, using the Universal Module, each service has a "hostname." If I know a hostname, I'd like to find the client to whom the service with that hostname is assigned.
  7. I have another question related to this. I'm doing pretty much the same thing. One of my coworkers brought up an interesting corner case: what if a client orders two services with the same subdomain? Is the entire order atomic, or is each service in the order atomic? That is, if I write a callback function to ensure that the subdomain that a customer chooses is not taken, and it checks the module rows to see if such a subdomain already exists, if the hostname was not taken prior to the order being placed, will the function return the same result for both services in the same order, or will it place one order and then run validation again? I assume that the entire order is atomic, and that if a customer orders two subdomains called "foo" in the same order, such a function won't catch this. Is it possible to refer to other services in the order in the validation function? Is there some other way y'all would recommend going about this validation?
  8. I have a collection of related questions. 1. We'd like users to be able to suspend their services from their manage page. It looks like this was possible in the Multicraft video. We're using the Universal Module (actually, a mildly modified Universal Module to use custom SSL on the cURL requests). Is this currently only available for the Multicraft module? (e.g. something I'll have to add myself by editing my module?) 2. We'd like users to be able to change their service options from their manage page. Theoretically, this should fire off a "Edit" request from the Universal Module. Is this implemented? 3. We'd like users to be able to change their package from their manage page. Basically the same thing as 2, but for option categories. 4. If possible, we would like to restrict one of those degrees to "upgrade only." It doesn't matter if that means you can only upgrade a package, or upgrade a specific option category, but we don't want to allow downgrading disk size without contacting support - this will result in accidental data loss. Is this possible?
  9. Do you have that code in such a state that you could share it? Do you know how far down the road this is? This would help us with our migration a lot.
  10. Any word on when 3.1 is likely to be released?
  11. Where is the WHM** importer located?
  12. Hey, we're considering purchasing Blesta. We're currently using the demo, and we'd like to attempt to import our old database - a fairly sizeable Postgresql database - from our old billing software, Freeside, to Blesta. I understand that you guys don't have a script available off the shelf for Freeside yet, but I was wondering if you could provide any guidance with regards to importing that data - any and all tips would be appreciated. I'm sure there's a lot of questions that I don't know enough to ask, but for starters, should I be trying to adapt the Import Manager plugin for use with Freeside? Also, do you have an ER/schema diagram for Blesta handy? I assume http://www.blesta.com/2008/04/28/writing-imports/ is no longer applicable.
×
×
  • Create New...