tmallen
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Function: the_content() isn’t working in my themeIt wasn’t in “The Loop.”
Forum: Themes and Templates
In reply to: Is there anything in WordPress like Drupal’s Primary Links?OK, but my nav is really a motley crew of links – Some are static pages, one is the homepage, another is the main blog directory, etc. I guess I’ll just hard-code it.
Forum: Plugins
In reply to: Anything like Drupal’s Path module to rename URLs?Problem fixed. I had overly restrictive settings in my httpd.conf for AllowOverride, because I forgot to edit that setting when I last isntalled Apache2.
Forum: Plugins
In reply to: Anything like Drupal’s Path module to rename URLs?Apparently, mod_rewrite is loaded (according to $ apache2ctl -M) but I tested Drupal locally, and it too isn’t recognizing the module. I guess I have work to do!
Forum: Plugins
In reply to: Anything like Drupal’s Path module to rename URLs?Update: I ran the same script on my remote server and everything is working fine there. I guess my local server is jacked up.
Forum: Plugins
In reply to: Anything like Drupal’s Path module to rename URLs?These are set to:
Date and name based » http://localhost/Sitename/2008/03/25/sample-post/If I try to go to the about page (which is where ?page=4 redirects) I get this Apache error:
Not Found The requested URL /Sitename/about/ was not found on this server.I’ve gone to my httpd.conf and enabled mod_rewrite system-wide, but no change. I also tried removing the check:
<IfModule mod_rewrite.c>...</IfModule>
but without success. And mod_rewrite.so is definitely installed…Forum: Themes and Templates
In reply to: How to integrate a login form?Damn you PHP and your lack of clear namespaces :^)
I always hate the hassle of declaring globals like this.Thanks for the help!
Forum: Plugins
In reply to: Anything like Drupal’s Path module to rename URLs?# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /Sitename/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /Sitename/index.php [L] </IfModule> # END WordPressI’ve replaced the actual site root directory with “Sitename” for this contractor’s privacy. Also, this is running over localhost, if that’s of any importance.
Forum: Themes and Templates
In reply to: How to integrate a login form?Sorry to nag, but one more quick question. Is there a GET argument or something similar I can provide to redirect a logged-out user to the homepage instead of /wp-login.php?
Forum: Themes and Templates
In reply to: How to integrate a login form?OK, thank you very much. The only part that isn’t working is
<?php echo $user_identity; ?>
It’s returning a blank value when I’m logged in.Forum: Plugins
In reply to: Anything like Drupal’s Path module to rename URLs?This looks promising, but didn’t work for me. I tried pasting the generated rewrite rules into my .htaccess, and even did a chmod 777 to the file and re-set the permalink option (which successfully wrote to the file) but still no luck. And mod_rewrite is available and enabled on my local server. The paths in the Apache rules that WordPress generated seem correct too, and fiddling with them didn’t work.