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

Does Drupal have CRUD ability like Ruby on Rails or Perl's Catalyst??

I'm a fan a Drupal for organizing "large text blocks" -- pages in a book, forums etc. But it seems like Drupal doesn't offer much of a way to handle "denser", smaller chunks of info that you'd find in a database.

One thing I really like about Ruby on Rails and Catalyst (http://catalyst.perl.org/) is their ability to handle database CRUD (Create, Read, Update, Delete) and automatically map URI's to actions. I'm no MVC expert, but here the URI is acting as a Controller, calling the backend Model via method calls and parameters listed in the URI.

Here's an example in Catalyst :

Matches URI to any regular expression.
– Below code maps to http://localhost/item23/order42

package MyApp::C::Whatever;
sub foo : Regex('^item(\d+)/order(\d+)$') {
my ( $self, $c ) = @_;
...
}

My question is how can I do this in Drupal?? For example, let's say I want to keep track of my customers. I want to show a table of all users in a given state, city and zip code. I want a search-engine-friendly URI like this :
http://company.com/customers/colorado/boulder/80302
This would pull up a table showing customers in Boulder, CO, 80302. It would be flexible so that if someone just entered http://company.com/customers/colorado then they'd get all the customers in Colorado.

I thought about using Drupal's "path alias" module to "hard-code" all these URI's, but that seems inflexible and too kludgy. Maybe Flexinode could be used, but that doesn't really seem to be good for the case where I have "dense" data in an existing complex relational schema.

Any suggestion on how to do this in Drupal would be appreciated! Again, I like Drupal's ability to handle large "chunks" of text, Drupal's look, and Drupal's other goodies like authentication etc. -- I just also want something along the lines of RoR or Catalyst to help with CRUD and querying.

Thanks,

David

hedge funds

Show revision (version) with phptemplate engine

I am using the phptemplate engine. I created a node-flexinode-1.tpl.php to customize the look and feel of that flexinode. I turned the revision- (version-) feature on an I want to display the current version in the node.

I tried to use the variables $version, $revision, $revisions so far but non of them worked.

Any Ideas?

Ignore theming certain pages

Hi all,

I am developing a personal website and am having this issue with a gallery2 integration.

If you visit this website
http://www.chiragmehta.co.uk/gallery?g2_view=core.ShowItem&g2_itemId=19

and click on any image. I have set it so the image opens in a new window.

I would like this popup page not to be themed.

Any suggestions on how to do this?

Many thanks in advance

Parent and child in taxonomy

Hello,
I try to write module which could related parent and child in taxonomy. Child is node(type flexinode-1) but parent is term.
My hierarchy:
-location
--voivodeship1
---county1
----town1
-----child1
-----child2
----town2
----etc
---county2
---county3
--voivodeship2
--county4
---town3
----child3
--county5
--etc

newbie q: regarding categories, forum crumbs, comment edits and others

Hi, I have been looking at the handbooks and forums and been unable to find solutions to the the following issues below. There are probably quite obvious but I am very new to Drupal and NOT a programmer and although have found a lot of help in the handbooks and forums, it has been quite difficult to find the leads... quite possibly because I'm not asking the right questions.

1. CATEGORIES
I have set up the following categories as such

continent
- subcontinent1
- - country1
- - country2
- - country3
- subcontinent2
- - country4
- - country5
- subcontinent3
- - country6

How do I set up "continent", as a button in the menu at the top, so that the page will open displaying the subsections along with other content?

2. COMMENT EDITs
The Drupal handbook says that

An administrator can give comment permissions to user groups, and users can (optionally) edit their last comment, assuming no others have been posted since.

I have turned Read/Write on for comments.
This is what I get: user1 posts a comment. Then user2 posts the next comment. User1 logs in again and finds the EDIT option is still available!

How do I get it to function like how it should according to the handbook?

3. FORUM CRUMBS
a) When I go to forums, the crumb only shows Home

b) But when I click on a term, the crumb shows, correctly,

Running a news section

Hi all,

What is the best way to run a news section on my site using drupal, to go with the story or blog content. The problem I think with the blog option is that only a particular user will be able to access their own particular blog.

Please could I get your suggestions.

Thanks

Pages

Subscribe with RSS Subscribe to RSS - Post installation