Home arrow Forum Ajax not working in SMF 1.1RC3 with the latest bridge. Please help.
  Welcome, Guest. Please login or register.
Did you miss your activation email?
September 05, 2008, 01:28:08 AM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Joomla-SMF 2.0.x (Moderators: -Wolverine, kai920)
| | | |-+  Ajax not working in SMF 1.1RC3 with the latest bridge. Please help.
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: 1 [2] Go Down Print
Author Topic: Ajax not working in SMF 1.1RC3 with the latest bridge. Please help.  (Read 2985 times)
classixuk
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 20


View Profile
Re: Ajax not working in SMF 1.1RC3 with the latest bridge. Please help.
« Reply #15 on: December 11, 2006, 06:10:26 PM »

Thank you so much Wolverine! You are correct. I manually edited out the headers because otherwise I ended up with double headers on every forum page!

I'll get onto this now!

Smiley
Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +374/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Ajax not working in SMF 1.1RC3 with the latest bridge. Please help.
« Reply #16 on: December 12, 2006, 09:35:59 AM »

yes, the majority did not have the expertise to do this, so I handle the headers automatically now.  Glad you got it figured out.  Wink
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
thesafa
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile
Re: Ajax not working in SMF 1.1RC3 with the latest bridge. Please help.
« Reply #17 on: January 26, 2007, 08:27:42 PM »

Hi there,
I seem to be having the same exact problem, namely smilies and formatting buttons not working. Although it doesn't go away with changing the templates or in standalone vs wrapped mode. I've tried almost everything imaginable.
I'd be very grateful for your help, Safa
PS: If i need to modify templates, I'd appreciate if you could let me know which. but it's perplexing that it happens with all templates. JS is on btw.

Version info:
Joomla 1.0.11
SMF version 1.1.1
Joomla-SMF version 2.0 RC2
Versatility 2 (RT) but problem is also present with Core template, Babylon, etc.

Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +374/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Ajax not working in SMF 1.1RC3 with the latest bridge. Please help.
« Reply #18 on: January 26, 2007, 11:44:41 PM »

update to JSMF 2.0.1
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
thesafa
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile
Re: Ajax not working in SMF 1.1RC3 with the latest bridge. Please help.
« Reply #19 on: January 27, 2007, 12:20:10 AM »

thank you for the very rapid reply Wolverine! I appreciate it

I updated it to 2.0.1... and it's still having the same problem. It's very strange given that I get it in standalone mode, and for any template, basically irregardless of what I do. I have a test account. It's www.beanywood.com user: angelo pass: angelo99, and the forum is under forum menu item or /forum for standalone....

I really don't know what else to try

thank you very much Wolverine
Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +374/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Ajax not working in SMF 1.1RC3 with the latest bridge. Please help.
« Reply #20 on: January 27, 2007, 10:48:23 PM »

viewing the HTML source of your page on the wrapped forum I see the SMF headers twice.  Once is in the correct JSMF headers which the bridge stripped from the template and inserted in the page head tags(where it should be) and the other is halfway down the page when the SMF output starts.  This is most likely why it isn't working.

The bridge is designed to strip your SMF head and duplicate html tags out before displaying the forum.  This allows for XHTML validation without the need to modify your SMF template whatsoever when you install the bridge.  So the stripping out of the SMF head and duplicate html tags is failing.

Checking your standalone I see your body tag has <body id="page_bg" class="w-wide f-default">  This is why the stripping is failing.  I am going to update the bridge to handle these additional options(id and class and whatever else) however that means they will get stripped and your CSS definitions won't be applied.  My suggestion is to add a div to replace the id and class you are applying to the body.  For example, right now you template has:

Code:
<body id="page_bg" class="w-wide f-default">
  I would change this to:
Code:
<body><div id="page_bg" class="w-wide f-default">

If you do that make sure to close the div at the bottom, find the tag
Code:
</body>
and replace it with
Code:
</div></body>

does that make sense?
« Last Edit: January 27, 2007, 10:50:02 PM by -Wolverine » Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
thesafa
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile
Re: Ajax not working in SMF 1.1RC3 with the latest bridge. Please help.
« Reply #21 on: January 27, 2007, 11:55:56 PM »

It makes sense, to the level that I understand it. I tried that... and now it appears as <body><id....> in the page source but the double heading is still taking place, and the buttons are still not working. Sad

Do you think that the fact that it does that with any and every template, standalone and wrapped, means that it's something about the SMF files that is the problem?

Thank you again Wolverine.... no idea what I would do otherwise.
Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +374/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Ajax not working in SMF 1.1RC3 with the latest bridge. Please help.
« Reply #22 on: January 28, 2007, 12:43:07 AM »

send me your index.template.php file to joshualross at gmail dot come
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
Pages: 1 [2] Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal.
None of the text or images in this public website may be copied without the expressed written consent of the authors.
Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use