-
- 24,544 Posts
I believe you are a victim of number three on this list:
http://bobsguides.com/insidious-modx-errors.html
-
- 96 Posts
Oh bloody hell, you're right I missed that.
I do have the problem though that now that i've specified my style sheet SPForm is loading it in the head of my html.
I'm already calling the sheet there so I don't want SPForm to call anything. Trying to minimize http requests.
Secondly, I really like to add some of my own classes to the form. Is this possible.
-
- 24,544 Posts
This should do the first:
[[!SPForm? &spfCssPath=``]]
On the second, you can create copies of the SPForm Tpl chunks, modify them, and point SPForm to them with these properties:
&spformTpl
&spformprocTpl
&spfcaptchaTpl
[ed. note: BobRay last edited this post 10 years, 4 months ago.]
-
- 24,544 Posts
Try this:
Change line 166 of core\components\spform\spform.inc.php
from this:
to this:
if ($cssPath === false) {