Hi,
I'm using `JAT's advanced form (1.6.4)
It works really nice on all my sites and pages, BUT:
If I want to hide the page (from TOC) that contains the form, the form suddenly turns up twice on the page...?
Anyone knows a "work around" for this problem?
See the problem online here: http://www.locomo.dk/como/index.php?Kon ... ktformular
Mads
Problems with Advanced form and CMSimple hide tags
Moderator: Tata
Re: Problems with Advanced form and CMSimple hide tags
Hi mads
I try to come up with a solution which seems to work
there may be another who can come up with a better and proper solution
/ZiPs
I try to come up with a solution which seems to work
Code: Select all
#showadvform#
#CMSimple hide#
#CMSimple $output=preg_replace("/".chr(35)."showadvform".chr(35)."/", showadvform('DefaultForm') ,$c[$s]).chr(35). 'CMSimple hide'.chr(35);#
/ZiPs
Preben Dahl | Webmaster cmsimple.dk | Projekt-og domæne ejer Gert Ebersbach
Re: Problems with Advanced form and CMSimple hide tags
Hi Zip,
Thanks for your contribution!
I have tried it now, but as you can see at the page: http://www.locomo.dk/como/index.php?Kon ... ktformular
Its only showing #showadvform# and the page is not hidden anymore....
I hope someone else has a good idea...
Mads
The first version, showing two forms is here now: http://www.locomo.dk/como/index.php?Kon ... formular_2
Thanks for your contribution!
I have tried it now, but as you can see at the page: http://www.locomo.dk/como/index.php?Kon ... ktformular
Its only showing #showadvform# and the page is not hidden anymore....
I hope someone else has a good idea...
Mads
The first version, showing two forms is here now: http://www.locomo.dk/como/index.php?Kon ... formular_2
Re: Problems with Advanced form and CMSimple hide tags
Hi mads
Such is the situation on my test page her with the same code which I have inserted here
/ZiPs
Such is the situation on my test page her with the same code which I have inserted here
/ZiPs
Preben Dahl | Webmaster cmsimple.dk | Projekt-og domæne ejer Gert Ebersbach
Re: Problems with Advanced form and CMSimple hide tags
There is an error in your script as you inserted
The mistake here, it should be.
/ZiPs
Code: Select all
#showadvform#
#CMSimple hide#
#CMSimple $output=preg_replace("/".chr(35)."showadvform".chr(35)."/", showadvform('Kontaktformular'') ,$c[$s]).chr(35). 'CMSimple hide'.chr(35);#
Code: Select all
('Kontaktformular')
Preben Dahl | Webmaster cmsimple.dk | Projekt-og domæne ejer Gert Ebersbach
Re: Problems with Advanced form and CMSimple hide tags
Hi again,
How embarrasing.... You are totally right! I was mistyping the script...
How did you managed to se my code?
A big thankyou, you did the trick for me, so I can use #cmsimple hide# together with the nive adv. form
Mads
How embarrasing.... You are totally right! I was mistyping the script...
How did you managed to se my code?
A big thankyou, you did the trick for me, so I can use #cmsimple hide# together with the nive adv. form
Mads