Menu

itop-portal-url-brick not display correctly

2021-10-10
2023-10-19
  • steven Maillard

    steven Maillard - 2021-10-10

    Hello,
    I would like to display a web page in the itop user portal with the "itop-portal-url-brick" extension, but I am having problems displaying it.

    My configuration of the file "datamodel.itop-portal-url-brick", it is a site found on the internet for testing.

    <?xml version="1.0" encoding="UTF-8"?>
    <itop_design xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.3">
        <module_designs>
            <module_design  id = "itop-portal"  xsi:type = "portal">
                <bricks>
                    <!-- Exemple for a UrlBrick -->
                    <brick id="url-to-combodo-website" xsi:type="Combodo\iTop\Portal\Brick\UrlBrick" _delta="define">
                        <rank>
                            <default>90</default>
                        </rank>
                        <width>6</width>
                        <title>
                            <default>Site Steven</default>
                        </title>
                        <description>
                            <![CDATA[ <p>Combodo website</p> ]]>
                        </description>
                        <decoration_class>
                            <default>fa fa-globe fa-2x</default>
                        </decoration_class>
                        <!-- Text or dictionary entry to be displayed uneder the brick title -->
                        <!--<subtitle/>-->
                        <!-- URL of the webpage to display. Note: Omitting the "http:" will make the iframe automatically use the same protocol "http|https" as the parent web page. This is mostly necessary when the server is forced to https. -->
                        <url>http://wiki.ros.org/ROS/tutorials</url>
                        <!-- FQN of a static method (without parenthesis) that returns an array of extra parameters (param => value) to add to the URL. -->
                        <!-- Returned parameters will be url-encoded automatically. -->
                        <!-- Note: Extra code can be done there like setting cookies or so. -->
                        <!--<url_parameters_callback><![CDATA[\Ticket::FooMethod]]></url_parameters_callback>-->
                        <!-- Fullscreen true|false. Defines if the webpage is displayed with its title and subtitle or fills all the page. Default is false. -->
                        <fullscreen>true</fullscreen>
                    </brick>
                </bricks>
            </module_design>
        </module_designs>
    </itop_design>
    

    Once on the page I always get the message please wait and my page does not display correctly.

    Do you have any idea how to correct the problem, I can't find a solution on the internet?

    Thank you in advance for your help.
    Steven

     
  • Vincent @ Combodo

    Some sites disable the possibility to be displayed within another web site page, in general for security reason. It's the case of github for eg.

     
  • steven Maillard

    steven Maillard - 2021-10-11

    Yes indeed I identified this point, I tested with several sites without success. Do you have a website that this works with for testing?

     
  • Vasek

    Vasek - 2023-10-19

    Hey there,
    I've a the same problem with url brick. Did you figure it out? I tried the same brick which is here: https://www.itophub.io/wiki/page?id=extensions:itop-portal-url-brick
    And it's behaving the same way.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.