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

How to track clicks to external articles (based on aggregator2 feeds)

I have set up aggregator2 module to show newsfeeds on my test site. Now I would like to track clicks to external articles ('full article' click on aggregator2 node) in order to track popularity of articles. This information would then be used to view the most popular news items on the frontpage.

Is this feasible and is there a module that could be used to achieve this functionality?

How to display MediaWiki type summary block at top of book pages?

I'd like the summary to contain links to the <h1></h1> sections in the page. Sometimes, while transfering pages from another CMS, I have pretty long pages. A summary at the top of the page would be great. I think that writing a filter would do the trick and it sounds kindda simple. I will probably attempt that (I'm new to Drupal and PHP) if nothing of the sorts already exists.

Thank you for your comments,

Starman

nodes presentation on the front page

I’ve been theming my site and found out that the front page module wasn’t for me so I used the section module instead but thought that it seemed a waste of resources

I came across http://drupal.org/node/23348 today which seems to answser some of my prayers… in limiting the front page to one file instead of about 8 files.

Then it got me thinking, with

Configuring the menu for control panel module -- how to alias?

I've spent about an hour messing with this and must be overlooking the obvious. I can't seem to get the control panel to replace the default administer page as in the screenshot for the original announcement for the module.

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?

Pages

Subscribe with RSS Subscribe to RSS - Post installation