Menu

Redirection of the "new request" brick on the portal

2023-06-01
2023-06-01
  • experiment29

    experiment29 - 2023-06-01

    Hello !

    I would like to know if it's possible when you click on the new request button on the portal to acceed directly at the ticket redaction without passing by the new request list. I don't know if it's realy understanble, let me know !
    The idea is that I want users to redact their ticket right after they clicked on the "new request" button :)

     
  • Jeffrey Bostoen

    Jeffrey Bostoen - 2023-06-01

    Not sure if this is enough code, it's a snippet from my own user portal. Define a new brick, remove the existing one. Might still be missing something.

                    <brick id="org-create-ticket" xsi:type="Combodo\iTop\Portal\Brick\CreateBrick" _delta="define">
                        <active>true</active>
                        <rank>
                            <default>19</default>
                        </rank>
                        <title>
                            <default>Brick:Portal:Requests:Create</default>
                        </title>
                        <visible>
                            <home>false</home>
                        </visible>
                        <decoration_class>
                            <default>fa-2x fa-fw fa fa-bolt</default>
                        </decoration_class>
                        <modal>true</modal>
                        <class>UserRequest</class>
                        <rules>
                            <rule id="contact-to-userrequest"/>
                        </rules>
                    </brick>
    
     
  • experiment29

    experiment29 - 2023-06-01

    This is exactly what I need !
    Thanks a lot Jeffrey :)

     
    👍
    1

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.