pepperstreet VIP
Total posts: 3,837
18 Nov 2013 21:45

The form style "fixed" seems to hide the whole page content?! The form is visible, but list-view shows only the section menu! No modules! No other articles! Same on full-view: Almost blank, except for the form itself.

I assume "fixed" should simply display the form without any additional effect, right?

  • Popup and Slidedown work as expected.
  • Error reporting shows nothing

Last Modified: 04 May 2017

Tags Cobalt 9


clowride VIP
Total posts: 1,022
19 Nov 2013 01:33

Popup and Slidedown work as expected.

i found a little changement with the latest version of gantry framework for "popup", it open like slidedown now


Sergey
Total posts: 13,748
20 Nov 2013 00:40

Form is always shown in iframe.


Jeff VIP
Total posts: 745
05 Aug 2015 05:22

pepperstreet The form style "fixed" seems to hide the whole page content?! The form is visible, but list-view shows only the section menu! No modules! No other articles! Same on full-view: Almost blank, except for the form itself.

Replace /components/com_cobalt/fields/email/tmpl/output/default.php line 70 :

<iframe frameborder="0" src="/<?php echo $url_form;?>" width="100%" height="<?php echo $params->get('params.height', 600);?>" />

with

<iframe frameborder="0" src="/<?php echo $url_form;?>" width="100%" height="<?php echo $params->get('params.height', 600);?>" /></iframe>

pepperstreet VIP
Total posts: 3,837
05 Aug 2015 11:48

Hey Jeff, this post and problem is quite "dated" ;)
Totally missed it. A simple Syntax error? Funny.
Many thanks for your check and fix!


Jeff VIP
Total posts: 745
06 Aug 2015 05:03

Hi pepperstreet,

I stumbled upon this topic when I was facing the same problem....so I fixed it :-)


pepperstreet VIP
Total posts: 3,837
27 Apr 2017 01:58

BTW, there is another small syntax error, which I noticed in my "brackets editor" highlight.
An extra / slash had to be removed. This should be the correct iframe line:

Caution: See src=". The Forum editor adds extra /. Do not copy it! Or remove it! Use Download file instead.

<iframe frameborder="0" src="/  
<?php echo $url_form;?>" width="100%" height="<?php echo $params->get('params.height', 600);?>" >  
</iframe>

default_php-iframe_fixed


Jeff VIP
Total posts: 745
28 Apr 2017 00:53

I stand corrected...Thanks :-)


Sergey
Total posts: 13,748
04 May 2017 14:53

OK. I have applied patch to next update. Somehow I've missed this topic.

Powered by Cobalt