see below and read this: http://www.chris-parsons.com/articles/five-things-i-wish-i-knew-when-i- started-using-drupal
-- rgds, Reinier Battenberg Director Mountbatten Ltd. +256 782 801 749 www.mountbatten.net On Friday 05 February 2010 12:20:59 Douglas Onyango wrote: > Drupal has a pretty solid > authentication system in place, i am sure you can work with it for both > your apps and Drupal will let you point and click to set permissions etc. > > > > For your form fields cck will help, just install the module and you will > be able to create fields with a click, if you just need a form, you can also use the webform module, which does just that, creating forms. CCK is more if you want to create complex content types on your website. > although you have the more > powerful dirtier option of creating a block, with contenttype=php and > directly pasting your already coded php, which will pull up forms, > write to db on "submit" and and send the emails for you. NEVER EVER do this. Drupal is very powerful and can do almost anything you want, provided you find the right module. It can not just do that, but even do it secure, cached and themed. Inserting your custom php this way is first of all a maintenance nightmare, secondly due to be insecure, thirdly it is far much more work than using CCK & views. And no, your own code is not more powerful than CCK + all the CCK extentions outthere. You can just not code as fast as the Drupal Community combined. If you want to code in drupal, create a custom module for your project and take it from there. ALWAYS ALWAYS ALWAYS use the API, NEVER write to the database yourself. You will fail at some point, you will fail horribly! > > >Drupal seems pretty stuck in > > its preset/downloadble themes. I > haven't yet found a clear way to override them so as to preserve my own > look n feel. Do you know how I can achieve this? > > There is a module for this.....name skips my head, but i guess you can find > it. You might have referred to contemplate > Alternatively the dirty thing which i probably going to yield more > accurate results is go into your theme folder and mess with page.tpl.php. That is not dirty, that is how Drupal Themeing works. A good idea is to take a base-theme like Zen or Blueprint and create a sub- theme based on them. More about Drupal Theming here http://drupal.org/theme-guide Drupal Themeing is extremely powerful, but has a rather steep learning curve. (you will have to love it once you are more familiar with it) If you just need a theme, try http://themegarden.org/drupal6/ > This is where the page structure is made so you can change it here like > you can remove somethings like a slogan by commenting the whole ( print > $site_slogan block) and instead insert your fresh php in the section - Nope, Drupal themes should not contain php. (at least no application logic). If you want to mess with code, use template functions. Just use PHP to print the Array elements that Drupal provides in your .tpl file. > remember the feel works with a css so be sure to tweak that to your needs > as well, this is where you will want to hug the guy who wrote firebug. Yes yes! Firebug Horaay! > > Happy Hacking! if you want to really learn Drupal 6, I can recommend getting a copy of http://www.drupalbook.com/ It's our bible @ mountbatten. > > > Regards, > Douglas Onyango +256(0712)981329 > > Life is the educators practical joke in which you spend the first half > learning, and the second half learning that everything you learned in the > first was wrong. > > --- On Fri, 2/5/10, Stephen S. Musoke <[email protected]> wrote: > > From: Stephen S. Musoke <[email protected]> > Subject: RE: [LUG] Porting WAMP apps into Drupal > To: "'Linux Users Group Uganda'" <[email protected]> > Date: Friday, February 5, 2010, 11:52 AM > > > > > George, > > Just a word of caution, I am not very familiar with Drupal, > but I am familiar with XOOPs and Joomla, but I find their ability to handle > the creation of forms very complicated, and not intuitive. > > Also remember that after completing the migration of the user > login etc, then you have to move the forms into the Drupal way of doing > things? > > > Have you looked into other vanilla PHP frameworks like > CakePHP/Code Igniter/Symphony? > > Stephen > > > > From: George Lule [mailto:[email protected]] > > Sent: Friday, February 05, 2010 11:09 AM > To: Linux Users > Group Uganda > Subject: [LUG] Porting WAMP apps into > Drupal > > > > Guys, > I have 2 applications that were developed basing on WAMP. They > do perform different jobs but they share the following > functionality: > - Allowing self registration of users. > - Once a user is registered, can log into the system and do a number of > things(....very boring details here...) but bottom line, they > both verify data, authenticate data against present values, check if > fields have been filled and others. > - Most forms upon submitting data into the db, immediately send mails to a > number of groups which the user selects himself and others that are > hardcoded. > I wish to port these 2 into Drupal, but > 1. These applications have a particular look and feel which I don't want to > change, yet Drupal seems pretty stuck in its preset/downloadble themes. I > haven't yet found a clear way to override them so as to preserve my own > look n feel. Do you know how I can achieve this? > 2. I haven't got a proper guide that can help me port both entire > applications as they are into Drupal. Could you kindly provide/point > me to a guide that can assist in this regard? > 3. Finally, I found this step by step > introduction http://www.gouncleweb.com/typd_welcome_drupal_website but it > was designed for 5.x and some of its steps require tweaking to fit into > 6.15. Do you know of anyother equally good one but geared towards 6.15? > > > > > Regards > George > -----Inline Attachment Follows----- > > _______________________________________________ > LUG mailing list > [email protected] > http://kym.net/mailman/listinfo/lug > %LUG is generously hosted by INFOCOM http://www.infocom.co.ug/ > > The above comments and data are owned by whoever posted them (including > attachments if any). The List's Host is not responsible for them in any > way. --------------------------------------- > _______________________________________________ LUG mailing list [email protected] http://kym.net/mailman/listinfo/lug %LUG is generously hosted by INFOCOM http://www.infocom.co.ug/ The above comments and data are owned by whoever posted them (including attachments if any). The List's Host is not responsible for them in any way. ---------------------------------------
