hello from a newbie
i am a new user of drupal, and i want to learn drupal developing, so, i'm doing a module for my study, and i want to know if may i integrate other module in the mine, i mean, may i insert a functionality of upload module in my module administrative interface?? -- ---------------------- Aldo Martinez Selleras Administrador del Nodo CITMATEL GND Camaguey Tel: 32-291661 E-mail: aldo@caonao.cu Linux User #364356
sure u can On Sun, Oct 12, 2008 at 9:37 PM, Aldo Martinez Selleras <aldo@caonao.cu>wrote:
i am a new user of drupal, and i want to learn drupal developing, so, i'm doing a module for my study, and i want to know if may i integrate other module in the mine, i mean, may i insert a functionality of upload module in my module administrative interface??
-- ---------------------- Aldo Martinez Selleras Administrador del Nodo CITMATEL GND Camaguey Tel: 32-291661 E-mail: aldo@caonao.cu Linux User #364356
could u tell me how, remember, i'am a newbie, and i have been looking for an example but can not find any, please. -- ---------------------- Aldo Martinez Selleras Administrador del Nodo CITMATEL GND Camaguey Tel: 32-291661 E-mail: aldo@caonao.cu Linux User #364356
First track the upload function , Once u find the upload function , simply u call that function into ur module, Drupal main advantage is, u call the function ... On Sun, Oct 12, 2008 at 10:06 PM, Aldo Martinez Selleras <aldo@caonao.cu>wrote:
could u tell me how, remember, i'am a newbie, and i have been looking for an example but can not find any, please.
-- ---------------------- Aldo Martinez Selleras Administrador del Nodo CITMATEL GND Camaguey Tel: 32-291661 E-mail: aldo@caonao.cu Linux User #364356
could u tell me how, remember, i'am a newbie, and i have been looking for an example but can not find any, please.
grep -rnI is your friend to find function calls and distinctive strings.. and api.drupal.org! To start coding a module, reading modules and understanding the code is a very useful thing to do. Good luck! -- "Obstacles are those frightful things you see when you take your eyes off your goal." -- Henry Ford (1863-1947) Change the world! Vote revolution: http://hfopi.org/vote-future
well, i has been reading a lot of documentation, and books, including module codes, and in the drupal.org site, there is a many documentation and tips, by example, there is one which explain how to call a function if(module_exists('name')){ name_funct(); } so, is single! but, i think the big problem in this case, its how i know what is the main function for call, i was looking the code, and the module, and him use de hook_nodeapi() for include the Upload Form in the nodetypes define in the settings for the module, so? i just want to do this because i think, if drupal have a upload module, why may i implement a single upload system form my module? PD: please, i am no very good in my english, sorry. :) -- ---------------------- Aldo Martinez Selleras Administrador del Nodo CITMATEL GND Camaguey Tel: 32-291661 E-mail: aldo@caonao.cu Linux User #364356
Quoting Aldo Martinez Selleras <aldo@caonao.cu>:
well, i has been reading a lot of documentation, and books, including module codes, and in the drupal.org site, there is a many documentation and tips, by example, there is one which explain how to call a function
if(module_exists('name')){ name_funct(); }
so, is single!
but, i think the big problem in this case, its how i know what is the main function for call, i was looking the code, and the module, and him use de hook_nodeapi() for include the Upload Form in the nodetypes define in the settings for the module, so?
i just want to do this because i think, if drupal have a upload module, why may i implement a single upload system form my module?
PD: please, i am no very good in my english, sorry. :)
Your English is good enough to communicate. If it is Drupal core you're looking for see api.drupal.org. If it is a contributed module you can always look in the module itself or perhaps use http://drupal.kollm.org/doxygen/_contrib/drupal-contrib-phpdoc/dirs.html to browse the contribution/module repository. Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/
i'm just creating a module for study, i think that is a good way for learn about drupal development , i don't think could be a drupal contribute, but if cutomize my drupal behavior, and create some one module for specific work. this module whihc i'm creating is a gallery, i think with this may i use almost all drupal functions, i mean, database, menu, manage image, create the settings, user management, and the use of some hooks, that is the razon to select that project for my study. now, while working, i think if could i use other module functionality in my module, and yersterday 'kumar' tell me that was posible, but i can't do with the solution! :( the module what i want to integrate it's Upload, for the moment when the images will be uploaded to the server for be public later in the gallery. -- ---------------------- Aldo Martinez Selleras Administrador del Nodo CITMATEL GND Camaguey Tel: 32-291661 E-mail: aldo@caonao.cu Linux User #364356
Aldo Martinez Selleras wrote:
this module whihc i'm creating is a gallery, i think with this may i use almost all drupal functions, i mean, database, menu, manage image, create the settings, user management, and the use of some hooks, that is the razon to select that project for my study.
Welcome to drupal. A relatively new and very popular choice for creating online galleries is to combine a couple of popular existing modules like so: Enable cck module and create a new content type. Enable Imagefield module and imagecache module and create a new field on your new content type. Enable Views modules and create a view that includes the desired imagecache derivative in the desired format. You have tons of extra options including adding things like "thickbox module" for ajax zooms, or other "field formatters" for the cck imagefield. If youd like to write your own module i might suggest writing an imagefield formatter instead of rewriting everything from scratch. Druapl stands on the shoulders of the people who wrote apache, php and mysql, the contrib modules stand on the shoulders of drupal core and i highly recommend augmenting existing functionality through our extensive system of hook over reinventing the wheel for your desired functionality. -mf
how can i show de webFM module into my OG post ?? i mean, when doing click in the webfile manager link on the Navigation menu, le result is show out of the group, may i do something for that not happen ?? thks a lot -- ---------------------- Aldo Martinez Selleras Administrador del Nodo CITMATEL GND Camaguey Tel: 32-291661 E-mail: aldo@caonao.cu Linux User #364356
Aldo Martinez Selleras wrote:
how can i show de webFM module into my OG post ??
i mean, when doing click in the webfile manager link on the Navigation menu, le result is show out of the group, may i do something for that not happen ??
This is a bit more like qa support request. Please see that modules issue queue, the appropriate mailing list, or #drupal-support for additional information. Please restrict communications on the devel list to strictly development related questions. Thanks, -mf
participants (5)
-
Aldo Martinez Selleras -
bharani kumar -
Earnie Boyd -
Marcel Partap -
Michael Favia