removing "new lines" from $content

Hi all,

I wish to remove redundant new lines from the $content displayed by my website, implemented in drupal 6.
e.g. instead if having the content:
"hello

[with multiple new space lines here]

world",

I want to have only a single new space line, i.e.:
"hello

world".

I thought to apply a replace-all function in the php on the $content variable, replacing any number of consecutive space line by a single one (using regex).

One user, different roles in different situations

Hi Drupalers!

Im facing a design problem and I am not sure the best way to solve it.

Lets say I have 2 different roles in my drupal instalation: "Project Manager" & "Employee" with different permissons.
The same user can act as "Project Manager" for project A and as "Employee" for project B. Obviously as "Proyect Manager" the user will be able to perform more tastk than a "Employee".

How is the best way to do it? Organic groups?

Thanks and BR
Diego

Zero appers at the end of the page's title in Search engine and Facebook

Dear All,

I was wondering if anyone can help me with this issue.

I have created several pages in the Drupal 6.

I have noticed that a zero (0) appears in several pages' title in the Google search engine and also Facebook

Please have a look at this link and you can see it better what I am trying to say.

http://activecitizens.britishcouncil.org/sites/default/themes/custom/act...

Field Disappeared?

Super weird; I created a custom field (called Opening Paragraph) for one of my content types (Page) ages ago, and it was working fine. I clicked onto my site today, and all of the sudden, that field and all of the existing content in it has disappeared.

I went into Content Types > Manage Fields, and I can see the field listed, and it seems to be stuck on "hidden" now (visible is no longer an option)?

Does anyone know why this might be?

Updating To Drupal 6.29 - Changes to htaccess Causes Problems

Hi,

I followed the instructions as per SA-CORE-2013-003 to update to Drupal 6.29. However, when I included the recommneded content for the htaccess file in default/files, the entire site lost its styling (and I'm guessing javascript functionality.) It all looked as plain text, but the links worked.

I cleared the system and browser caches, but nothing worked. So I had to restore the htaccess file back to its original form.

Any ideas behind this will be grearly appreciated.

SA-CONTRIB-2013-097 - OG Features - Access bypass

  • Advisory ID: DRUPAL-SA-CONTRIB-2013-097
  • Project: OG Features (third-party module)
  • Version: 6.x
  • Date: 2013-December-04
  • Security risk: Not Critical
  • Exploitable from: Remote
  • Vulnerability: Access bypass

Pages

Subscribe with RSS Subscribe to RSS - Drupal 6.x