Just been at Drupal for a while and thought i would try designing my first module.
I had this idea of a "showcase" on another non-CMS site i did - and since i am moving that site over to Drupal figured i should give it a shot.
to start with ... check it out at: http://www.allanalog.com/d0214/
the SHOWCASE part hopefully is obvious - the porttion in my header that cycles through various blurbs on different technologies.
a little bit about it... in case anone is interested...
=================
- currently designed as a module - but missing a "settings" page since i am not quite sure how to add that yet.
- uses Jeremy's categories.module
- basically the showcase module uses AJAX to dump teasers from all nodes belonging to a given category into a defined block - the module takes (although currenly hard coded) block ID and uses that as the dumping ground for the output
- it also takes absolute co-ordianates to throw the little control panel (stop, play, step) on the page (also done through AJAX)
issues:
- i have the JS to do flow control (try hitting the "play" button a few times) but haven't converted to drupal's ajax yet
- need to add settings page (once i learn how to do that)
- the way that i toss the control onto page is incorrect - see http://drupal.org/node/51878 if anyone could point me in right direction.
peter....
Comments
I start to add some ajax
I start to add some ajax
AjAX data loading into a div without page refresh
Read my solution here
http://drupal.org/node/51418
First topic was
http://drupal.org/node/44795
I was playing with theme, but i still have some issue
when i get to the link without parsing the jah code
http://www.immobiliermaroc.org/magnifique-appartement-neuf-jamais-habite...
Sorry the site is in french
Hey peter would please make more details about your module or a link to download, i visit your site and its like a random node that display but we can stop or play
Drupal 4.7 Beta 4
http://www.drupaldemo.org
pretty rough.. but
well... i still have quite a bit of work to do it and there isn't too much for comments in the code...
but here it is anyway http://www.allanalog.com/my_ajax.zip
- i guess i could start a project page??? and get a sandbox and all that cool stuff
outstanding items:
- adding settings page to let suer adjust block id where showcase gets dumped, cycle time, category to use for nodes in scase
- flow control on ajax routine
- general clean up, readmes and the like
Peter Lindstrom
LiquidCMS - Content Solution Experts