You're new here, aren't you?
NetworkedBlogs allows you to stay up to date with blogs you love.
Click the Follow button to follow updates from this blog.
Ajax frontend for my backoffice in jQuery and PHP
votez
2
This is my way to organize php for a simple jQuery frontend ajax based:
1.in a administration page include the php that generate html for each box
2.for each box setup behavior in Javascript
3.let each php manage POST request (for change/update) and GET request for show content
So in admin
Fix SEO problem in drupal (give 301 to node/xx request)
this was a problem with www.tecnomagazine.it :
http://www.tecnomagazine.it/recensioni/casio-exilim_ex-z60/442
could be accessed from /node/442
Solution is to redirect all /node/[0-9]* url to the aliased one
... and is very simple in code:
includes/path.inc :
function drupal_init_path() {
if (!empty($_GET['q'])) {
// add this conditional
if(preg_match('/node\/[0-9]*/',$_GET['q'])) {
include "includes/common.inc";
Not enough data.
Calculated for blogs with 20+ followers.
- Galvao, IT Expert
security, php, web
- The Tech Space
PHP, JQuery, Web
- Tim Tyrrell's (Mostly) .NET Blog
asp.net, jquery, improvement
- Unemployed Developer
html, php, css
- SEO Expert Blog
seo, drupal, jquery
Questions? contact: networkedblogs@ninua.com
Copyright (C) 2008, Ninua, Inc.