Drupal is up and running but how do I ...?

How to get results?

When adding pages in drupal. i.e on adding content of a php page from Create content -> Page
then it jus show me the code like a list. The code consist the php and html both together. So how can i get the page display. If i am doing wrong than please guide me as i am not getting from where to start when adding your site to drupal and basically if i will come to know about one page i can add ohter pages too.

If i have to go by making node,module or php snippet as i got from documentation then please show me the right track.

Thanx.

Views with wildcard usage for arguments

Hi,

I created a content type with cck with a field for ZIP code, eg. 96052. Now I try to use "Views Module" to get a list of all entries which are filter with the first number ( in my example "9").

If I use an ordinary argument with the ZIP field, the whole string will be filtered, but I want just the first char (number).

How do I get a SQL query result which looks like field_zip LIKE '9%'.
I played with "Argument Code" and add an % to the argument, but this is not working.

Organic Groups and RSS feeds

I've got some Organic Groups running and the content of each is visible only to group members.

The "Group Notifications" block offers an RSS feed as well as feeds for "My Unread", "My Groups" and "All Posts".

When I try to subscribe to the feeds (eg in bloglines) I'm told no feeds are available, and when I try to validate the feeds at http://validator.w3.org/feed/ I get "Server returned HTTP Error 403: Forbidden". Now, this is what I would expect. After all, the content of the group is meant to be only available to logged in members.

My multi-faceted query is:

  • Why does OG include the feeds in the notifications block?
  • Can their mention be disabled (leaving only the email notification)?

Or, better still:

Is there any way of limiting access to an RSS feed to authenticated members? (authenticated RSS?)

A related question is what sense does it have to feeds for the:

When I try to subscribe to these I get 403 errors also. And of course... whose unread? whose groups? posts of which group? The RSS subscription service has no way of knowing. Or am I missing something?

Increase number of returned nodes?

The default number of returned nodes in listings is 10 when searching. How can I increase this number?

how do you rename index.php?

basically, i want to rename index.php to, say, drupal.php and have drupal still work. it's not a simple matter of just renaming the file--just tried that. probably involves lots of changes to crucial files that i have no idea about. has anyone done this before?

here's why (perhaps you can suggest an alternative to what i'm proposing?):

Pages

Subscribe with RSS Subscribe to RSS - Post installation