By dorien on
Hello,
I have a (non drupal bound) table, that I need to display within my site.
It has information about "runs":
userID (drupal) - runID - name - distance - ... etc
I want to go to site/run/runID and display the data of that particular run.
I don't know if there is an easy way of doing it without having to create a custom module for it? I basically just need to $get the variables and display them from the database. My first concern is calling my php code when the file is loaded.
And if I need to create a module for it. How would I go about it?
Or perhaps I can use panels to put my custom code on a page and get the url variables? Or some other module I am not thinking about...
Comments
_
you've posted to the module development forum, so pretty much any solution here is likely to involve creating a module. That said, I don't know any way to do this without a custom module. Probably simplest, and least code required, method would be to describe your custom table to views (see views advanced help for more info), and then use views to create your listings like any other type of view.