Announcement

Collapse
No announcement yet.

Company News Dashlet

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Company News Dashlet

    I need to create a dashlet that I can display my company's new in for the homepage of the CRM. I'm looking for the simplest way to make this happen. My intention would be to manually update that information on the homepage of the CRM at regular intervals.

    Any help and direction would be appreciated.

    -Marcus

  • #2
    Hello.
    You can try to create a new dashlet for this. Please read this https://github.com/espocrm/documenta...e-a-dashlet.md.

    Comment


    • #3
      I guess the question would then be, once this dashlet is created, how to insert data (HTML) which helps spruce up the landing page in the CRM. It's pretty bland and I want salespeople to know they are logging into something other than the basic (pre-programmed) dashlet content,.

      Am I making sense?

      Comment


      • #4
        This is planned for the future.

        For now, it requires creating a view file a putting IFRAME there.

        Comment


        • #5
          Check this https://github.com/espocrm/documenta...e-a-dashlet.md

          Comment


          • Fehu
            Fehu commented
            Editing a comment
            Thank you for that information yurikuzn. Looking at the file, where would I insert the tags for the iframe?

            Actually, I am quite confused. I am fairly green to this and thank you in advance for your help. Any step by step processes that don't lead to reference or option pages?

            As for typical view using "view":"views/dashlets/abstract/record-list"... would that be accurate for inserting an iframe which I would then manually insert html for the landing page content.

            Thanks for any help you can provide.
            Last edited by Fehu; 07-26-2019, 04:58 AM.

        • #6
          Incidentally Yurikuzn, I tried following the steps listed in this article: https://github.com/espocrm/documenta...e-a-dashlet.md and had to create a number of folders and files, renaming my-dashlet to a custom name such as FehuDashlet. Once done I cleared cache and nothing appeared. Thoughts?

          Comment


          • #7
            When you add a dashlet through UI, do you have your dashlet listed? That doc I wrote for you, not yet tested. There might be some typo.

            Comment


            • #8
              Hi Yuri,
              I did it the way you wrote in the DOC. It works.
              One more question:
              I wanted to include a PHP.file (src="tests.php"). But the path is wrong. Which one you have to use.
              peter

              Comment


              • #9
                I must be doing something incorrectly because I tried it and I could not get the dashlet to work.

                Comment


                • #10
                  I got it to work, although having difficulties with width and height.

                  I have this, which doesn't seem right:

                  <iframe width="600" style="height:1000px" src="" frameborder="0" allowfullscreen>

                  </iframe>

                  I'm trying to get it as tall as the Stream Portlet

                  Comment

                  Working...
                  X