Hopefully one of the core developers can comment on this.
A friends host has implemented mod_security on their server, one of the things that it is filtering out is the word perl followed by a space when submitted by POST or GET. Is there any danger when running drupal on a MySQL/Apache backend from this type of an attack?
I'm using 4.7 and have some blocks set to appear only on the front page. This works great until I add the i18n module (cvs) - then the detection of the frontpage breaks down entirely - blocks that should appear there don't, and those that shouldn't do.
The strange thing is that the phptemplate.engine seems to detect the frontpage just fine -
I'm using this code in page.tpl.php:
if ($is_front) {/* check if it's the front page */
include 'page-front.tpl.php'; /*load a custom front-page.tpl.php */
return; }
Basically what is the way to add a node directly to the database so that it shows up in a forum?
I have inserted/altered data in the node, node_revisions, node_access, forum, and sequences tables.
The node displays properly if I directly access it but is not shown in the table. Why is this?
How do I hook the node to a table? Am I missing changing one of the tables?
I'm using the latest CVS of nodewords. Whenever I include a single quote in the meta description, it gets replaced with its character code ('). I need this whenever I am indicating possession, for example, with "Web Developer's ...."
Is there a way around this? Ie. is there a way for me to include single quotes in my meta description without them getting replaced by their character code?