This forum is for less technical discussions about the Drupal project, not for support questions.

Being automatically logged-out, or am I?

I've had a weird problem occur in the last coupe of days. My site is treating me as if I am logged-out, or lack enough permissions to view most pages. However, if I surf arround the pages a bit, I get the permissions back. In my footer I have a few links that only show if you're logged-in and they don't show when I can't get to the pages. Yet, I do nothing to remedy it other than flick thru the pages I can view.

The only modules I've added recently are pathauto and tinymce. However, it still occurs with both of them turned off.

Has anyone come across this?

event participant sponsorship module??

I just started working with Drupal based on my colleagues recommendation.
So far I am pretty impressed.

I have a need to allow participants (registered users) to invite people to sponsor them in an event (running for example). This would be similar to the Leukemia Society's "Team in Training". It needs to be self managed, in other words, administrators would not have to manage the invites or approvals.

AJAX content management toolbox - is it possible or too revolutionary?

Hi,

I've been browsing recently for an AJAX CMS and couldn't find any. To clear up, what I mean by 'AJAX CMS' is NOT the 'end user experience', but rather the way page and templates are created.

For example, to create a new menu/block in administrative panel, one should go on a separate 'add menu' page and from the drop-down select the item's 'parent' as well as new menu item relative position. The same goes for new blocks, etc. Template and layout creation is mostly manual right now (from my understanding).

Isn't it possible to AJAX-inate the content management part of the CMS? So, instead of going to a separate page to add a menu, one could have just login as 'content editor', point a mouse to the appropriate place on the page he wants to add new menu item to, click, and from the context menu choose various content editing options. The same can go for layout and new blocks placement (click on an empty space on the sidebar and choose from the list of available blocks in the context menu. Once added, click on the block itself to edit its properties). Layout can be handled in a similar fashion (page is a set of split panels, drag the divider to change side, context menu gives an option to add new divider, etc). The main idea is to have a fully editable-in-place website, as an end-user sees it.

From my experience this usability features can easily boost system adoption... I don't know much of Drupal internals (consider me 'drupal novice'), but from my understanding the task is doable and is mostly about representing existing functionality in a different way (instead of directing user to a separate 'content editing' page, the functionality provided on that page is to be shown in the context AJAX components).

What's the best way

Please point me in the right direction.

I want to create functionality where registered users can build their own (food-) menus.

So there will be a table of food items with columns containing their nutritional value.

------------------Calories-----------Carbs-----------Sugars-----------Proteins-----------Fats
Bagel---------------300------------------ 40g---------------- 6g------------------- 10g------------------ 3g

XDebug and Vim for Devel

I just got XDebug working with MAMP (hint: use the PECL in the MAMP APPs/MAMP/bin/php5/bin folder) and thought I'd share two tidbits:

(a) Add param logging so you can see the functions called by hook invocations
(b) If you're using Vim, here's a fold_expr you can use to fold the text output of the profiler:

set foldexpr=strlen(substitute(substitute(getline(v:lnum),'\\s','',\"g\"),'[^>].*','',''))
set foldmethod=expr

Cheers.

newbie question: how do I enable visibility of a content type for a specific user?

I'm just learning Drupal and so I'm not sure how to even ask the question to find the answer efficiently. I only want certain users to see the "Books" on my site. The books are created using the book module.

I see how to control editing or creation (administer--access control). But I dont' see how to prevent visibility. By default, non-registered users and registered users, can see the books.

What is the right question to find the answer to this queston?

Pages

Subscribe with RSS Subscribe to RSS - General discussion