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

TAC and Full HTML problem

Hello,

I've been working with Drupal for only 3 days. Please forgive any newbie mistakes. After installing the Taxonomy Access Control module and the tinyMCE module all seemed to be working well. However, while adding a page using the Input Format = Full HTML, the page can not be edited by a user/role that should have access through Category Permissions. Saving the same page with Filtered HTML solved the problem. Could someone explain this and better yet, give me a fix?

Thanks much.

Part of my post is getting truncated

I am having a problem with a post that is using the original HTML filter and the content of the post is getting screwed up, but it depends on whether it is on the post's page or on the home page.

On the page itself I see this: http://www.davidgrant.ca/stephen_colbert_bridge

Can't access unpublished content that needs editing

At the place I work we have sensitive information that can't be published on the web so I made a couple of roles to help eliminate accidental leaks of information. I created a 'writer', who obviously does the writing and an 'editor' who looks at the content in the moderation queue and decides if it the content is safe to publish on the website. If it is not, then the 'editor' tells the 'writer' what needs to be changed and then the 'writer' makes the changes.

Where to place contrib modules?

hi everyone, I'm working on a Drupal install, right now it's single site but I'm setting it up using a multi site config so that in case in the future if I should need to do so I can easily do a multi site..

now, I read here http://drupal.org/node/53705 about using the /sites directory to keep Drupal clean and tidy, and I cleverly decided to put ALL my contrib modules under /sites/default/modules, instead of in /modules. I also had /sites/default/themes and /sites/default/files, so that ALL site specific stuff would be in my sites sub-directory.

Now I read http://drupal.org/node/22283 that I cannot have the same named module in more than one location of my multisite installation!!! So

1) does that mean that if I currently have /sites/default/modules/tinymce then I cannot have /sites/test.a.com/modules/tinymce? if say my default site and my a.test.com site needed different TinyMce modules then I would have to rename the TinyMce module in the a.test.com?

If so, a couple of qns:

2) if so, should I leave my contrib modules in /sites/default/modules? Will the test.a.com install know (and, thus, screw up) that the modules are not, technically, in a 'proper' folder?

3) can/should I simply copy all the contrib modules to the /modules folder directly w/o any fear?

Finally, besides the modules, how about the themes? Move/stay/rename? Seems like themes would be a lot more customisable per site.. In general, what would be a 'best practice' for modules/themes files location?

i need a few modules for my blog but can't find them

Hi,

i am making a blog and require a few modules but can't find them.

- a tag listing like the web 2.0 sites.
- latest comments list
- latest posts list

and if you know any other good ones to add to the mix, tell me plz :D

dave.

Please help with simple PHP code for Front_page

I'm using the front_page.module, and I need some simple chunks of PHP code to be inserted in the home page. As I'm not a programmer, I copy-pasted codes I found here, but they're not work working.

In 'Select type:' for anonymous user, I chose 'full'.
In 'Select type:' for authenticated user, I chose 'same'.
Checked the 'Allow embedded PHP code in front page' for anonymous and authenticated users.

Problem #1:
When new user registers, he is redirected to front page. The message 'further instructions was sent to your email' is not shown. So I added this code at the beginning of the front page's body, in admin/settings/front_page:
print $messages
But the message does not show (I registered a new user to test).

Problem #2:
In this front page, I'd like to show primary links vertically, in a table. So I added the following code:

<table>
<?php foreach ($primary_links as $link): ?>
<tr><td><?php print $link?></td><tr>
<?php endforeach; ?>
</table>

But no primary links show up... If I insert the same code in a normal page node's body (PHP code enabled), I get the following message:
warning: Invalid argument supplied for foreach() in /home/dtabach/public_html/includes/common.inc(1175) : eval()'d code on line 2.

I know my front page is PHP enabled, because I also have this code:

<?php
 echo 'PHP is enabled'; 
?>

Pages

Subscribe with RSS Subscribe to RSS - Post installation