Jump to content

Radix

Members
  • Posts

    19
  • Joined

  • Last visited

Posts posted by Radix

  1. Hi,

      I am facing this error for some time. While creating new package the module fields do not load when i checked in my firefox as to why it is happening  i found an an error:

    Undefined offset: 0 on line 360

    When i went ahead further to debug the issue i found that "module_row" key in $vars that is passed to getPackageField function is 0.

    Even for a particular package this error arises. I am trying to figure out where is this error coming from since last week but to no success.

     

    Can you help me out or just give me a suggestion or to even look for something so that i can rectify this issue

  2. Hi,

     

    Is there a way to check in blesta if admin is logged in or client.

     

    Means if an admin is logged in only admin stuff would be called and displayed and not the user.

     

    But when we login as a client we can only see client stuff.

     

    Just asking for an idea.

     

  3. Well i created a service for a client from the admin part....I entered every detail while creating a service. Now when i login as client and the click on the service there is dropdown which will show the service info. but it shows nothing.

     

    And i guess the serviceinfo would be getting data from this module function getClientServiceInfo which i saw in your documentation. But its returning nothing.

     

    Can you give me a fair idea as to what calls i would have to make or what additional things i will have to do in order to get service info at the client side.

  4. $fields->setHtml("
                    <script type = \"text/javascript\" src = \"/path-to-js/jquery.min.js\"></script>
                    <script type = \"text/javascript\">
                        $(window).load(function(){
                            $(\"#selectId\").prepend(\"<option value=''>__Select option__</option>\").val(' ');
                        });
                        </script>        
            ");

     

    I am trying to append an option in the dropdown list using prepend function.

     

    Let me know if there's something wrong

  5. Hi again,

     

    i wanted to ask..is it possible to embed js code in blesta module function?

     

    I tried to include javascript code using setHtml function but somehow it is not being called.

     

    Can you provide me some hints as to how i can achieve this?

  6. Hi,

     

    Guys thanks for the heads up. I was not asking about encrypting or decrypting a user password. The link provided by Licensecart helped me. Yes i did read they are one way hashes.

     

    Anyways i got my solution.

     

    Your software is easy to use and understand. Great Work. Great Help. Thanks a lot!!! :blesta::D ....

     

    I'll keep posting if i face any other problems

  7. When i am trying to call systemDecrypt method like the one you said AppModel::systemDecrypt($var); it gives me an error saying call to undefined function loadCrypto().

     

    What if i try to include or load the file app_model and then trying to call the method?

  8. Yes i saw the link. thank you very much. Actually i am trying to decrypt a password that is stored in the database and i did use your method but with error and i  did see one post where it said that i cant decrypt passwords.

     

    So can you help me out to clear my doubts.

×
×
  • Create New...