0
Welcome Guest! Login
0 items Join Now

Remove gantry from pop up?

  • Remove gantry from pop up?

    Posted 13 years 3 weeks ago
    • Hi ,

      I am running Joomla 1.5.23 and Gantry 3.1.14, with the Reflex template. I have pop up windows containing Chronoforms forms within them.

      The question I have is whether or not I can get rid of the background image and CSS from the gantry template in these pop ups. These pop ups are showing the entire template with the rt-container, etc., which is forcing scroll bars in the pop ups.

      Can I create some type of CSS declaration that will allow me to target these pop ups and remove the background and resize the rt-container?

      I tried using sibling selectors in the css but couldn't seem to select these elements.

      Tried to target "iframe" in the css and that didn't seem to work.

      You can see what I am talking about here: http://www.abcpackagingdev.com/index.php/case-erectors/model-330 . There is a yellow button that says "Download Brochure", this calls the pop up.

      Any ideas?
    • Last Edit: 13 years 3 weeks ago by JJ Spelman.
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: Remove gantry from pop up?

    Posted 13 years 3 weeks ago
    • change the link from this:
      <a class="modal" href="/index.php/component/chronoforms/?chronoform=bro330download&amp;tmpl=component&amp;path=case-erectors::model-330" rel="{handler: 'iframe', size: {x: 400, y: 325}}"><img class="leftimg" style="margin-bottom: 15px;" title="Download Brochure" src="http://www.abcpackagingdev.com/images/abc-download-button.jpg" alt="Download Brochure"></a>
      to this:
      <a class="modal" href="/index.php/component/chronoforms/?chronoform=bro330download&amp;tmpl=component&amp;type=raw&amp;path=case-erectors::model-330" rel="{handler: 'iframe', size: {x: 400, y: 325}}"><img class="leftimg" style="margin-bottom: 15px;" title="Download Brochure" src="http://www.abcpackagingdev.com/images/abc-download-button.jpg" alt="Download Brochure"></a>

      all we did was add this &amp;type=raw just after component
  • Re: Remove gantry from pop up?

    Posted 13 years 3 weeks ago
    • Outstanding!!! Thank you very much!!!
    • Last Edit: 13 years 3 weeks ago by JJ Spelman.
  • Re: Remove gantry from pop up?

    Posted 13 years 3 weeks ago
    • I noticed that it removed all styling, I guess because it's not calling the template anymore, no worries because I can style it inline correct?

      But what it also did, seemingly, is strip that validation parameters.

      The form can now be submitted without validation.

      Any thoughts?

Time to create page: 0.064 seconds