[wp-hackers] RE: Ajax in blog home page?
John Crenshaw
runner1031 at gmail.com
Sun Dec 7 18:36:26 GMT 2008
This is my first reply on this list, so sorry in advance if I did it wrong.
Anyway, try using wp_enqueue_script() to load any of a number of different
scripts that can allow you to do something like this. You can read about the
function at: http://codex.wordpress.org/Function_Reference/wp_enqueue_script
Hope that helps.
-----Original Message-----
From: wp-hackers-bounces at lists.automattic.com
[mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of
wp-hackers-request at lists.automattic.com
Sent: Sunday, December 07, 2008 7:01 AM
To: wp-hackers at lists.automattic.com
Subject: wp-hackers Digest, Vol 47, Issue 18
Send wp-hackers mailing list submissions to
wp-hackers at lists.automattic.com
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.automattic.com/mailman/listinfo/wp-hackers
or, via email, send a message with subject or body 'help' to
wp-hackers-request at lists.automattic.com
You can reach the person managing the list at
wp-hackers-owner at lists.automattic.com
When replying, please edit your Subject line so it is more specific
than "Re: Contents of wp-hackers digest..."
Today's Topics:
1. Re: Re: Plugin upgrade broken? (Ryan Boren)
2. Re: Re: Plugin upgrade broken? (Ryan Boren)
3. Re: Slow loading WordPress (Hack solution) (Peter Westwood)
4. Ajax in blog home page? (Chris)
----------------------------------------------------------------------
Message: 1
Date: Sat, 6 Dec 2008 21:27:38 -0800
From: "Ryan Boren" <ryan at boren.nu>
Subject: Re: [wp-hackers] Re: Plugin upgrade broken?
To: wp-hackers at lists.automattic.com
Message-ID:
<c8f37c930812062127o106fc131m2168f579b632756 at mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
On Sat, Dec 6, 2008 at 3:43 PM, scribu <scribu at gmail.com> wrote:
> I'm using 2.7-RC1-10073. How do I find out which transport I'm using?
Here's a plugin that will list them below the admin footer.
http://trac.wordpress.org/attachment/ticket/8086/list_transports.php?format=
raw
------------------------------
Message: 2
Date: Sat, 6 Dec 2008 21:33:16 -0800
From: "Ryan Boren" <ryan at boren.nu>
Subject: Re: [wp-hackers] Re: Plugin upgrade broken?
To: wp-hackers at lists.automattic.com
Message-ID:
<c8f37c930812062133w4569dfaag6163d157887808b1 at mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
On Sat, Dec 6, 2008 at 9:27 PM, Ryan Boren <ryan at boren.nu> wrote:
> On Sat, Dec 6, 2008 at 3:43 PM, scribu <scribu at gmail.com> wrote:
>> I'm using 2.7-RC1-10073. How do I find out which transport I'm using?
>
> Here's a plugin that will list them below the admin footer.
>
>
http://trac.wordpress.org/attachment/ticket/8086/list_transports.php?format=
raw
Tracking this problem with this ticket:
http://trac.wordpress.org/ticket/8476
------------------------------
Message: 3
Date: Sun, 07 Dec 2008 08:54:20 +0000
From: Peter Westwood <peter.westwood at ftwr.co.uk>
Subject: Re: [wp-hackers] Slow loading WordPress (Hack solution)
To: wp-hackers at lists.automattic.com
Message-ID: <493B8F3C.2040605 at ftwr.co.uk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Rick Boatright wrote:
> On shared-hosting servers, the web server uses the domain name that is
> called in order to decide which "home" directory to use. Otherwise, since
> the ip address is the same, how to tell 1632.org from ericflint.net?
The
> IP solution simply -does not work- on shared hosting servers.
>
It can tell the difference the same way it normally does for an HTTP
connection by the host header otherwise shared hosting simply would not
work.
I think the real problem that can come from trying to use an IP Address
is when a shared server has multiple IP Addresses for different users.
In this scenario if you use the wrong IP address then the web server on
the end of the connection won't have a matching host.
The other problems that have come up are servers which are configured to
not allow to connect back to themselves.
westi
--
Peter Westwood
http://blog.ftwr.co.uk | http://westi.wordpress.com
C53C F8FC 8796 8508 88D6 C950 54F4 5DCD A834 01C5
------------------------------
Message: 4
Date: Sun, 07 Dec 2008 10:12:51 +0000
From: Chris <chris.hearn01 at ntlworld.com>
Subject: [wp-hackers] Ajax in blog home page?
To: wp-hackers at lists.automattic.com
Message-ID: <493BA1A3.6010606 at ntlworld.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
I know that a lot of work has been done with Ajax on the admin pages,
but are there facilities for "lightwieght Ajax" on the blog pages?
In this case my home page, - I want to have part of the page changing,
without reloading the whole page.
I don't want the whole page (with all the menus,sidebar,posts) etc to
reload each time because a small amount has changed, because it is too slow!
There doesn't seem to be too much info in the codex on this, can someone
point me in the right direction?
Thanks
Chris.
------------------------------
_______________________________________________
wp-hackers mailing list
wp-hackers at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers
End of wp-hackers Digest, Vol 47, Issue 18
******************************************
More information about the wp-hackers
mailing list