Using custom variables inside node

I have a gaming website of 150+ pages that re-use a lot of items/abilities/links and text phrases through-out each page. For example, for visitors to know the website is up-to-date, each page says that its updated to the latest "x" patch.

Rather than manually having to go through each page and update "x" patch to "x.1" patch every few months, I'd like to just store the current patch in a variable or token(?) and display that on the pages.

This is my first site with Drupal, so I'm still very much learning about Modules, Tokens and the PHP firewall(?) that exists in Drupal. One of the struggles I've dealt with so far is not being able to use custom PHP variables inside of nodes. What I had done before Drupal was store all the items/links/abilities/patch name variables inside a PHP file, and pull it into the top of my sites template file. That way, I could display any of the variables, like print $patch; whenever I needed and it would display the current patch.

It won't do this in Drupal unless I include('') that PHP file within that content field. This is obviously a bad idea because then the PHP variable file is being recalled and reloaded numerous times even for one page.

direct node pages 404

So I am sure this is a stupid question and I have just mis-configured something but when I go to www.wtw.so/node/4 or www.wtw.so/content/admin

I get 404 messages. I have rewrite loaded and


RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

in my httpd.conf but I still am getting 404 pages...

Trying to install Fusion, Skiner 6, and superfish.

Trying to install Fusion, Skiner 6, and superfish. I can not find the place to install files and so on. Go daddy will not help me as this is a drupal question. I have a hosting account on Go Daddy, Drupal 7 installed, but not sure how to/where to go from here. I am at a halt with getting my web page going, any help would be soooooo much appreciated. thank you in advance. :) combat.cuties@gmail.com

Got drupal 7 installed, now I want tutorial to make basic functional site

Hi there. I got drupal 7 installed. I was surprised, as I didn't think it would work. Anyways, I now want to make a basic functional website with drupal 7, so I can learn some of the basics of how it works. It would actually be nice to have a set of tutorials, starting with basic website, and going towards more advanced website with drupal 7.
thanks for your help

Adding an image upload table

Hi there.

How is it possible to add an image upload table in the code of a custom module?

In other words, I want to add the "Images Table" (the one with drag-able rows) to a custom form I'm creating in my custom module. And I need all it's options too, like thumbnail, title and description fields for each uploaded image row plus the remove button, with the ability to limit the number of uploaded images of course.

What is the code to be used to achieve that?

Thanks for your time and help in advance.

Adding captcha to Dropbox mod

Has anyone figured out a way to display a captcha challenge and upload progress bar on the dropbox mod for anonymous users ?

The mod has no security at all.

http://drupal.org/project/dropbox

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x