how to view pdf links

I added a folder called 'pdf' into my site and within that, another folder. But when I include that as a link on one of my pages it says, "page not found" but I know the path is correct.

I've heard there is an upload module, but I can't find it and I don't want people to download it anyway, just view it in the browser.

Add fields to menu links

I would like to add some additional fields (textfield, textarea) to a menu link (e.g. field for add tag per menu link). I now how to do this with a custom module but I'm looking for an existing contrib module.

Does anyone know a module for that?

Using Drupal 7 as OAuth provider and client

I am running Drupal 7.x and the following modules are installed:
- Chaos tools
- OAuth
- Services
- Connector
- Http Client
- OAuth Connector
- OAuth Login Provider

However I am unable to get my Drupal to act as an OAuth provider, mainly due to the non-existing documentation about the OAuth modules. I have read all the user-content regarding this, but haven't found anything that would work in my case.

Here is just about what I did (hopefully it will also help others):

1. Went to the admin user and created a new consumer. Set the callback URL to http://localhost/drupal/oauth/request_token
2. Went to the OAuth Connector (under Structure) and added a new custom provider with the key / secret from 1.
3. Then under my account, there was a button that said "Add XXX account", a message appeared and asked if I wanted to authorize the application, clicked yes, and it took me to the callback URL from 1 with an ?oauth_token=HzZzGoMYhyqmVPAhLjJodiRopaZwEvZf on GET. There was no output. When I checked with firebug, the request gave a 401 not authorized error ("no oauth consumer key"). So then I added the consumer key, timestamp, nonce, signature method and... couldn't encode the signature (as far as I can tell it's base64(hmac_sha1(secret))), so I got stuck there.

My question I guess, is... is the flow that I'm following correct? What am I doing wrong?

Probably a n00b question (inserting HTML for Google Analytics tracking)

I've got a pretty big drupal 7 site going, here (well over 500 pages), and I want to do some tracking with Google Analytics.

I've signed up for and installed Google Analytics on other sites I have (which are not done with drupal 7), so I know how Google Analytics works, and I'm at the stage of getting Google Analytics where you log-in to your dashboard for the site you've submitted, and it says,

"Tracking Status Tracking Not InstalledLast checked: Jan 31, 2012 11:06:13 AM PST
The Google Analytics tracking code has not been detected on your website's home page. For Analytics to function, you or your web administrator must add the code to each page of your website."

"Copy the following code, then paste it onto every page you want to track immediately before the closing tag."

And then you scroll down a little and you get your code:

<script type="text/javascript">

 ...<all code here>...


From there, you're supposed to install it on every page of your site that you want to track.

My drupal 7 site is like 98% "Pages", 1% "Articles", and 1% "Webform".

WYSIWYG Image Upload in Basic Page (CKEditor and CKFinder)


I was able to use CKEditor and CKFinder to add in-body image upload capability for article nodes.
However, the functionality was not transferred to basic page nodes.
What do I miss? Thanks!

Help with structuring / generating a page with lots of static content?

Hi there!

I'm trying to realize a project with lots of static content, which - apart from a Forum and Shop - consists of 150 books of 200-300 page each, which should be shown as images through using a specific container. The only text-parts aviable are the tables of content, which are transformed into a html tables of content, through which the chapters could be be called via ajax.


Subscribe with RSS Subscribe to RSS - Drupal 7.x