Jump to content

Evaske

Members
  • Posts

    120
  • Joined

  • Last visited

Everything posted by Evaske

  1. Evaske

    Removing From Cart

    I have re-referenced this in the cache bug as it seems to be something greater than that.
  2. So it seems like for some reason everything is getting cached in the admin panel and it's really screwing with the way Blesta is working. This has only recently started to happen and it isn't just me but also other people having this issue when they are in the admin panel. I have just done a complete new install of 3.0.3 and then imported my database. It is taking a lost of CMD + R's to get anything to show properly. In other words, clearing the browser cache. If I go to the plugins page, it says that certain plugins have upgrades. I click the upgrade button.... it appears as if nothing is happening however if I hard refresh the page, again removing the browser cache it then disappears as if the upgrade happened. The same is happening client side on the order form. Clicking the remove button does nothing but hard refreshing the page and it has disappeared. Any ideas what I can check? So I just tried in my other browsers, FF and Safari. For me, both those browsers work absolutely fine. Only Chrome Mac is causing the issue. I thought maybe it was a session error so I removed all cookies and cache in Chrome and tried again, still not working. My friend who is having the same issue is having it in FF on Windows. Anything else we can try to get to the bottom of why it is only an issue in certain browsers?
  3. Evaske

    Removing From Cart

    Just noticed I don't see any changes in the admin panel, like adding new departments unless I hard refresh the page ("effectively removing my browser cache). Giving out: Status Code: 302 Moved Temporarily (from cache)
  4. Evaske

    Removing From Cart

    I don't seem to be able to remove anything from the cart. When clicking the remove button, the one that links to /plugin/order/main/remove/order/?item=0 nothing happens. I thought it was perhaps something I'd done with the templates but I just put it back to the original blesta templating system and the same still occurs.
  5. You need to uninstall the module and then reinstall it after making the changes.
  6. Excellent. I'll have a go with it tonight and see if I can get it working Will be very helpful as I currently just have a document noting all the changes I've made to various files.
  7. Quite interested in testing this out actually as I have made quite a few changes to some core files to fully customise the look of Blesta. Does it have much impact on page load times?
  8. Didn't even know currencyformat was there. For some reason, that $logged_in is showing the incorrect client ID. I am logged in as client ID 1 (known to be correct because the correct credit amount shows when I manually use 1 in my code). I just echoed out $logged_in and it is showing the value of 4 and not 1? And then if I log in as staff... it becomes 1 and then returns to 4 after logging out as the staff member. Just logged in as another test account. That showed the number 14 but the client ID should be 9 :l
  9. As requested by Paul, some more information. I'm trying to add this code in to structure.pdt to show each client's credit. <?php Loader::loadModels($this, array("Transactions")); ?> <?php if ($this->Html->ifSet($logged_in)) { ?> <div id="credit">Credit: <?php print_r( money_format('£%i', $this->Transactions->getTotalCredit(1, "GBP"))); ?></div> <?php } ?> I need the number 1 to be the client that is currently logged in's ID.
  10. Plugins -> Order -> Views -> Templates -> main_signup.pdt Line 223 <div class="heading options"> <h5><?php $this->_("Main.signup.heading_billing");?></h5> </div> <div class="pad content"> <ul class="no_border"> <li> <label> <?php $this->Form->label($this->_("Main.signup.field_taxid", true), "tax_id"); $this->Form->fieldText("tax_id", $this->Html->ifSet($vars->tax_id), array('id' => "tax_id")); ?> </label> </li> </ul> </div>
  11. That doesn't seem to work. $user_id is returning blank.
  12. Hey, Can anyone point me to how I would go about getting the logged in users id so I can use it in the following: print_r( money_format('£%i', $this->Transactions->getTotalCredit(**USER ID HERE**, "GBP"))); It's to display the amount of credit the logged in user has on the dashboard. Can't seem to find reference though to the users ID.
  13. That just throws up this error: Call to undefined method View::uses() on line 73 in/home/evaske/public_html/Clients/app/views/client/default/structure.pdt I had to use Loader::loadModels($this, array("Transactions")); instead
  14. Is there a way to use this without connecting to the API so I can display the client credit in the dashboard?
  15. I also think account creation should be done every minute and not every five.
  16. I did ask for a feature to be implemented that allowed you to add outgoings (eg server costs and license costs) to give a proper overall income/outgoings graph.
  17. You will also then have to uninstall and reinstall the module for the changes to take place
  18. +1 as well. Had a number of people say they can't register and I have to tell them it is registering them. Somewhat annoying!
  19. Components -> Gateways -> Non Merchants -> Offline -> Language -> En_US -> offline.php Change it and then uninstall the module. Then reinstall it.
  20. I think it would be beneficial if it could be added in to a function so we can include it where ever we want in custom templates.
  21. Yeah, so I just want to add something like <?php show_breadcrumb(); ?> In structure.pdt and then it would appear correctly on every page
  22. Can you add some kind of function in to the client area so I can easily include breadcrumb navigation at the top of each page with links to the previous sections. So for example if I was on the Add Account page at the top would be displayed: Dashboard >> Payment Accounts >> Add Account With each one linking to the correct page.
  23. I assume you are using the portal and therefore you need to make it in the portal settings so that when you click order it redirects to the order page. It'll look something like /plugin/order/main/checkout/*YOUR ORDER PAGE NAME*
  24. This thread was made before your fix so there was an actual reference in the bugs thread.
  25. I'm just wondering if CloudFlare went a bit haywire when cacheing it and somehow cached a half loaded version without the style sheet and then after so many hours it reset its self as it is set to.
×
×
  • Create New...