Company News Dashlet

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Fehu
    Member
    • Jan 2019
    • 64

    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
  • Maximus
    Senior Member
    • Nov 2018
    • 2731

    #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

    • Fehu
      Member
      • Jan 2019
      • 64

      #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

      • yuri
        Member
        • Mar 2014
        • 8501

        #4
        This is planned for the future.

        For now, it requires creating a view file a putting IFRAME there.
        If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

        Comment

        • yuri
          Member
          • Mar 2014
          • 8501

          #5
          Check this https://github.com/espocrm/documenta...e-a-dashlet.md
          If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

          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.
        • Fehu
          Member
          • Jan 2019
          • 64

          #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

          • yuri
            Member
            • Mar 2014
            • 8501

            #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.
            If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

            Comment

            • peterberlin
              Active Community Member
              • Mar 2015
              • 1004

              #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

              • Fehu
                Member
                • Jan 2019
                • 64

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

                Comment

                • Fehu
                  Member
                  • Jan 2019
                  • 64

                  #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...