Body: <p>I created an AngularJS extension that has a page that needs to be viewable outside of CiviCRM's administration area.</p>
  <p>To view it inside CiviCRM, the URL is:</p>
  <p><code>administrator/index.php?option=com_civicrm&amp;task=civicrm/a/#/productgallery/gallery</code></p>
  <p>Which displays my AngularJS page as so:</p>
  <p><a href="https://i.sstatic.net/PjOgD.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/PjOgD.png" alt="enter image description here" /></a></p>
  <p>So my current attempt to get it forward facing on a Joomla site is to make a Menu Item of type &quot;URL' like so:</p>
  <p><a href="https://i.sstatic.net/odeO2.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/odeO2.png" alt="enter image description here" /></a></p>
  <p>However, by not being inside CiviCRM's administration panel, the permissions forbid it.</p>
  <p><a href="https://i.sstatic.net/z9O6F.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/z9O6F.png" alt="enter image description here" /></a></p>
  <p>How can I get this page accessible via a menu item to anyone?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-07-16T15:12:14.107Z
Comments.Text: Are you trying to make it available in the admin end of Joomla or on the front end? To registered users or public? Have you checked on ACL/permissions?
Comments.UserDisplayName: MtnPavlas
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-07-18T18:27:41.590Z
Comments.Text: @MtnPavlas Trying to make it public for anyone to see. As for your second question, I tried implementing the hook here: https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_permission/ I replaced the string "CiviMonitor" from the example with my extension. It added the permission to the list of permissions and I marked it allow all, but it still doesn't work. I tried different cases for my extension too, `ProductGallery` , `Productgallery`. Not sure how to implement this hook correctly, or if it is even the right one.
Comments.UserDisplayName: Kurt Leadley
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-07-26T00:19:28.163Z
Comments.Text: Hey Kurt, this may not be the solution you're looking for, but honestly for any front-end list views of "things that are managed by Civi / stored in the Civi tables", we heavily rely on the AlterReports component by AlterBrains.com. I'm happy to share a few examples via a screenshare if that helps you. Between CiviCRM, AlterReports and Seblod, we're able to build full-fledged web apps for anything we can dream of.
Comments.UserDisplayName: MtnPavlas
Tags: <extension><joomla><permissions><angular>
Title: Adding AngularJS page as a Joomla menu item
ThreadText: # Adding AngularJS page as a Joomla menu item
  
  (Asked by: username_0 on 2022-07-13)
  
  I created an AngularJS extension that has a page that needs to be viewable outside of CiviCRM's administration area.
  
  To view it inside CiviCRM, the URL is:
  
  `administrator/index.php?option=com_civicrm&task=civicrm/a/#/productgallery/gallery`
  
  Which displays my AngularJS page as so:
  
  [![enter image description here](https://i.sstatic.net/PjOgD.png)](https://i.sstatic.net/PjOgD.png)
  
  So my current attempt to get it forward facing on a Joomla site is to make a Menu Item of type "URL' like so:
  
  [![enter image description here](https://i.sstatic.net/odeO2.png)](https://i.sstatic.net/odeO2.png)
  
  However, by not being inside CiviCRM's administration panel, the permissions forbid it.
  
  [![enter image description here](https://i.sstatic.net/z9O6F.png)](https://i.sstatic.net/z9O6F.png)
  
  How can I get this page accessible via a menu item to anyone?
  
  **Tags:** extension, joomla, permissions, angular
  
  > **Comments:**
  > **username_1**: Are you trying to make it available in the admin end of Joomla or on the front end? To registered users or public? Have you checked on ACL/permissions?  
  > **username_0**: @username_1 Trying to make it public for anyone to see. As for your second question, I tried implementing the hook here: https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_permission/ I replaced the string "CiviMonitor" from the example with my extension. It added the permission to the list of permissions and I marked it allow all, but it still doesn't work. I tried different cases for my extension too, `ProductGallery` , `Productgallery`. Not sure how to implement this hook correctly, or if it is even the right one.  
  > **username_1**: Hey Kurt, this may not be the solution you're looking for, but honestly for any front-end list views of "things that are managed by Civi / stored in the Civi tables", we heavily rely on the AlterReports component by AlterBrains.com. I'm happy to share a few examples via a screenshare if that helps you. Between CiviCRM, AlterReports and Seblod, we're able to build full-fledged web apps for anything we can dream of.  
  
  ---
  
  ## 0 answers
  
  