0
Welcome Guest! Login
0 items Join Now

SOLVED Article popup

    • andrewn51's Avatar
    • andrewn51
    • Sr. Rocketeer
    • Posts: 164
    • Thanks: 1

    SOLVED Article popup

    Posted 5 years 9 months ago
    • My goal is to have a link in the copyright position "Privacy Policy" that when clicked opens an article in popup mode listing the policy.

      I have created a custom HTML particle in the copyright position for the default template, and added the following link as follows"
      <div style="text-align: right"><a href="index.php?option=com_content&amp;view=article&amp;id=113:privacy-policy&amp;catid=2:uncategorised" data-rel="lightcase">Privacy Policy</a></div>

      It works (see attachment) except it displays a whole page with menu items when all I wanrt is the article text; and to make it work I have to have a published menu item linking to a single article for it to work.

      So, what am I doing wrong....or is there a better way to achieve this? I'm afraid my aging brain is getting befuddled after all these years!!

      Any help would be much appreciated.
      Thanks,
      Andrew
    • Last Edit: 5 years 9 months ago by andrewn51.
    • Damir's Avatar
    • Damir
    • Preeminent Rocketeer
    • Posts: 22450
    • Thanks: 2679
    • Web Developer

    Re: SOLVED Article popup

    Posted 5 years 9 months ago
    • andrewn51's Avatar
    • andrewn51
    • Sr. Rocketeer
    • Posts: 164
    • Thanks: 1

    Re: SOLVED Article popup

    Posted 5 years 9 months ago
    • Thanks, but it still shows the menus exactly as before - I cleared Gantry cache and browser but it's unchanged.

      Also, I want to get rid of the published menu item "Privacy" but it seems I need it for the article to be visible.

      Andrew
    • Damir's Avatar
    • Damir
    • Preeminent Rocketeer
    • Posts: 22450
    • Thanks: 2679
    • Web Developer

    Re: SOLVED Article popup

    Posted 5 years 9 months ago
    • andrewn51's Avatar
    • andrewn51
    • Sr. Rocketeer
    • Posts: 164
    • Thanks: 1

    Re: SOLVED Article popup

    Posted 5 years 9 months ago
    • Attached
    • andrewn51's Avatar
    • andrewn51
    • Sr. Rocketeer
    • Posts: 164
    • Thanks: 1

    Re: SOLVED Article popup

    Posted 5 years 9 months ago
    • Hi Damir - just checking, were you able to figure out what was happening?
      Thanks,
      Andrew
    • Damir's Avatar
    • Damir
    • Preeminent Rocketeer
    • Posts: 22450
    • Thanks: 2679
    • Web Developer

    Re: SOLVED Article popup

    Posted 5 years 9 months ago
    • andrewn51's Avatar
    • andrewn51
    • Sr. Rocketeer
    • Posts: 164
    • Thanks: 1

    Re: SOLVED Article popup

    Posted 5 years 9 months ago
    • Thanks Damir...I thought I had, maybe I truncated it in a senior moment!

      Thanks for your help and sorry for the confusion!

      Best wishes,
      Andrew

Time to create page: 0.046 seconds