Forums

Covering OroCommerce, OroCRM, OroPlatform topics, including community updates and company announcements.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)
  • Author
    Replies
  • in reply to: Add custom Field into OroCRM Entity? #24768

    hemham914
    Participant

    I’ve attempted to implement this process in my application like so:

    It seems to work fine when i run oro:migration:load --force --show-queries, however when I update the schema with the oro:entity-extend:update-schema command, I get the following error:

    Any ideas?


    ~Coding my life away~

    in reply to: Payed support #24315

    hemham914
    Participant

    Hi,

    I think that an option like that would cause an increase in both spam and things like what may be called pseudo-scams – such as someone holding off on giving the best answer until they are compensated. I would consider the forum to be a integral piece of the OroCRM documentation (given that the current official documentation is not finished).

    That aside, most of the answers come from the oro staff anyway because of the fact that there is so little official documentation…the docs in the code provide more of a reference than a how-to, so that’s the reason this forum is so useful.

    Just my thoughts anyways.


    ~Coding my life away~


    hemham914
    Participant

    Hello Hiro. I’m having the same error and it started happening after I updated to the latest release (1.3.0). The workaround you posted does work, however if you want to make this modification without actually changing code in the vendor directory, you can override any template like so :

    1. Make a new folder under the app/Resources and name it the Symfony short name version of the bundle (ex: “OroEmailBundle” or “OroCRMSalesBundle”)

    2. Inside that folder you are going to replicate wherever the template’s directory under its view folder of the template you want to override and name the file the same as the original. In this case, my app/Resources folder looks like this:

    3. Copy the entire original file contents to the blank one under the app/ folder and make any modifications you want to in this new file.

    Essentially, this mechanism overrides the default template and instead will use your modified version. The folder & file names must be exact for this to work.

    Hope it helps at least until there’s a fix released.


    ~Coding my life away~


    hemham914
    Participant

    Try updating composer:

    php composer.phar update

    Then re-run your database:create command


    ~Coding my life away~

    in reply to: services not found in bundle #24809

    hemham914
    Participant

    Your absolutely right that was the problem Thank you!


    ~Coding my life away~

    in reply to: services not found in bundle #24808

    hemham914
    Participant

    I don’t see where that is in the code I posted above. Where do you see that at?

    If it helps the code is on github :


    ~Coding my life away~

    in reply to: Custom dashboard under 1.1.0 #35695

    hemham914
    Participant

    I have a related question. On the dashboard I remember I somehow changed the navigation to be a bitchin slimmed down left hand sided dropdown panel but now that I have upgraded the navigation is back to the old horizontal (sugary) panel.

    Does anyone happen to know how and where to adjust this? I doubt the feature would be deprecated in the newest release so it has to be something small I’m not seeing.


    ~Coding my life away~

    in reply to: Navigation works but no content displayed #26144

    hemham914
    Participant

    Btw thank you for the help thus far.


    ~Coding my life away~

    in reply to: Navigation works but no content displayed #26143

    hemham914
    Participant

    The command ran successfully, however I now have these problems:
    – Any route with the ‘#url’ param on the end of it will not work at all, spitting out an ‘unexpected content format’ error in firebug console
    – I still see the 2 warnings I wrote in my previous post
    – The datatables are all misaligned & have parts of the horizontal rules missing
    – The labels appear as the label name (i.e. oro.datagrid.pagination.label)

    I do have custom bundles but they’ve never caused any problems like this.

    It might also be interesting to note that as I look at the database itself, I’m noticing multiple tables with strange names like ‘oro_rel_26535370b28b6f386b760ee’. There’s 4 of them and they are seem to be related to the ’email’ entity.

    I am now puzzled.


    ~Coding my life away~

    in reply to: Navigation works but no content displayed #26141

    hemham914
    Participant

    Okay I fixed the content displaying by running oro:migration:load –force.

    However now I’m getting 2 warnings that I have no clue how to address:

    1. Warning: Cannot redeclare class in C:\xampp\htdocs\orocrm\crm-application\vendor\oro\platform\src\Oro\Bundle\EntityExtendBundle\Tools\ExtendClassLoadingUtils.php on line 77

    2. Deprecated: This method is deprecated. You really need this setter ? Please tell us in what conditions by creating an issue at http://github.com/KnpLabs/KnpMenu. in C:\xampp\htdocs\orocrm\crm-application\vendor\knplabs\knp-menu\src\Knp\Menu\Matcher\Voter\UriVoter.php on line 22

    Any ideas on these items would be appreciated, thank you.


    ~Coding my life away~

    in reply to: Navigation works but no content displayed #26140

    hemham914
    Participant

    One last note.

    In firebug I can see that there is some type of javascript error that reads : ” Error: The route “oro_api_get_calendarevents” does not exist. ”


    ~Coding my life away~

    in reply to: Navigation works but no content displayed #26139

    hemham914
    Participant

    I made an error in my description of this issue..

    The navigation menus do display, however they are not clickable and the dropdowns don’t function on scroll over either.


    ~Coding my life away~

    in reply to: ORO performance #30092

    hemham914
    Participant

    I also experience this problem. I do have a few custom modules but they really don’t do anything too crazy but still the platform seems slow. I thought of trying to install an accelerator for php and seeing if that helps mitigate some of the wait time.

    It could be the caching system inside oro that may or may not be optimized (which is to be expected given the age of the project). All in all it does seem sluggish. Still like it though!


    ~Coding my life away~

    in reply to: Multi Entity Select Form #33397

    hemham914
    Participant

    Okay so in my first example what would I do if I just wanted a single item to be selected of a custom entity type?


    ~Coding my life away~

    in reply to: Multi Entity Select Form #33395

    hemham914
    Participant

    You are awesome worked like a charm. Since we are on the subject, how would I go about selecting multiple contacts in a form?

    Thank you


    ~Coding my life away~

Viewing 15 replies - 1 through 15 (of 15 total)
Back to top