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

tinymce & full HTML - special characters getting stripped

I'm having problems with the trademark character and I need to use it! Full HTML converts it to a question mark. In the javscript for the tinymce, I set the entities to false, changed them to numeric, still nothing. Anyone find a way around this?

How to? Context sensitive menu: anonymous users or logged in users

Hi,

I've run into a snag I can't figure out:

Running Drupal 4.7, I want a header menu with four links for anonymous users: login, register, tour and help. For logged in users the menu should only show log out and help. The menu is built using a list.

I tried the PHP snipped "Display different page content to anonymous and authenticated users": http://drupal.org/node/23449 hardcoded into the pages.tpl.php template and that only resulted in a completely blank page. It might be that the PHP snippet and list tags doesn't play nice together, but I need to use lists inside the snippet since it otherwise has no function.

I also tried to put the list with the PHP in a header block and enabled it.

<div id="toplinks">
<?php 
global $user; 
if ($user->uid) { 
    return " <ul>
    <li><a href="#">logout</li>
          <li><a href="#">help</a></li>
          </ul>"; 
} 
if (!$user->uid) { 
    return "
 <ul>
    <li><a href="#">login</li>
      <li><a href="#">tour</a></li>
        <li><a href="#">register</a></li>
          <li><a href="#">help</a></li>
          </ul>
    "; 
} 
?> 
</div>

But nothing happend. (And the block WAS enabled). I'm running a mod off the Friends Electric theme.

I also looked (but didn't try) the Custom login, http://drupal.org/node/17272, but even if that solves the log in / logout part, it doesn't solve the states of the other links.

Menu OTF problem?

Does anyone know why this is happening?

Fatal error: Call to undefined function: user_access() in /home/www/chrityru/modules/menu_otf/menu_otf.module on line 25

Would it do to disable menu_otf? can i do it through ftp?

Thanks in advance.

Placing class=active in the LI tag, not the A tag in menu's

Hi,

I'm currently trying to theme Drupal, and am implementing a main site nav as a menu. The site nav uses CSS tabs that require the LI of an active tab to hold the 'class="active"' portion of code rather than the A tag as is usual with Drupal.

Is there anyway to achieve this? I've search drupal.org and there doesn't seem to be any fixes or mods that will do quite what I want. I've also ducked around the source code, but I can't find where the relevant piece of code despite doing a search on the drupal folder.

Any help would be overwhelmingly appreciated :-)

Missing themes, and conf.php disappeared!

Hi,

I've got a problem with missing themes and could use some help!

My test site (4.5.8, via apt-get on Ubuntu) has been up and working fine for a week or so, but on
logging in yesterday I saw three error messages. I had a dig around and discovered that conf.php
had mysteriously disappeared! (No signs in the logs that anyone had used sudo to delete it).

Node Voting

I've lost the ability to vote on a node. There used to be at the bottom of the content a pulldown. Now all I have is "Rate It" but that link just returns to the node I am on.

Pages

Subscribe with RSS Subscribe to RSS - Post installation