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

Multisite database sharing problems

Hi All

main site = www.example.com
wales = wales.example.com/en and wales.example.com/cy (or is it cv, can't remember!)
scotland = scotland.example.com

Primarily I'm using cck, views, taxonomy, blogs, i18n, locale, simplenews (and some other stuff that I prolly need to work out whether I actually need!). And the themes used are custom themes to show the different brandings.

I've got a main site setup with all the modules/custom themes/content it needs. The Welsh site will have added i18n+locale for the translation of content.

Previously it worked, in a fashion!, under 4.6

I upgraded the site to 4.7 so that we could utilise the cck for making custom content types. Now I've just realised I have a slight problem, how do I share the majority of the content, but maintain some way of having separate pages?

The main site uses stock 'page' nodes for its' static pages, with cck for the majority of its' content. This is the content that needs to be shared, but the pages need to be separate so that for each other site I can display cck content relevant to that location.

I'm just thinking now whether I've just answered my own question; do I just need to duplicate the functionality of the page node into a new page content-type for the sub-sites so 'scottish site page' and 'welsh site page'. I'm assuming this can be done with cck as everything else I've tried works!

Password

On installing drupal locally when we create user after the first administrator user, it gives the error given below :

warning: mail() [function.mail]: Failed to connect to mailserver at "190.164.0.2" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in d:\websites\drup_final\modules\user.module on line 430.

So how can we get the password of the users other then the first one.

Please help.
Thankyou.

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?

Pages

Subscribe with RSS Subscribe to RSS - Post installation