Is it possible to detect access to table on site db table and redirect the db query to a db shared by multiple websites?

I'm working on a project where I use a database that is common to all sites and another that is specific to each. Is there a way to detect access to a specific table on a contrib module (maybe using a hook) and redirect the queries to a table on the db of the shared site?

The contrib module in question is Oauth2.0 server and the table in question is the one where clients are stored, namely oauth2_server_client .

Simplenews Deliverability Results

I've been doing a little research on email marketing. I installed Simplenews, configured it, uploaded my email list, wrote my first newsletter and am standing by ready to pull the trigger. I recently received advice against maintaining my "list" and sending emails from my own site do to deliverability issues that could arise from spam filtering. The claim is that mailchimp and aweber services have higher rates of delivery.

I see alot of folks are using simplenews. I wonder if that many people would use it didn't provide good results.

Any thoughts?

Thanks!

Logout destination

Support question.

Currently, when I log out of my site, I end up on the front page of my old site:
(for new site site2.com and old site site1.com)
log out as admin from site2.com drops me (logged out) at site1.com homepage.

Where is the logout destination for a site set?

(Problem may be a result of restoring a DB for site1.com into (dev site) site2.com, but I don't know where to look).

Thanks, Jeff

CleanURL RewriteBase not working

The server has the mod-rewrite up and running and still cannot make the CleanURL to work. My question is why Drupal isn't utilizing that RewriteBase correctly?

db_query - how to get full record count when using limt i.e..: SQL_CALC_FOUND_ROWS

In my SQL you can use
SELECT SQL_CALC_FOUND_ROWS, FIELD1, FIELD2, ...
FROM TABLE1 t1
INNER JOIN TABLE2 t2
ON t1.fid = t2.fid
WHERE condition
GROUP BY F1 LIMIT 10 OFFSET 0;

and a second query
SELECT FOUND_ROWS()

if LIMIT is used in the first query the second query provides the number of records that would have been found without the limit claus,

how can i apply the same process in db_query

if i run this

Problem with footer on mobile phone

Hello,

I got a drupal template and looks like there is some CSS issue with the footer on smaller screen.

On desktop, works perfectly but on a smaller screens like smartphone (note it is not a responsive site), the width of the footer is not working. This the CSS code:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x