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).
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".
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)?
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.