Results 1 to 5 of 5

Thread: Where code is generated by views module in Drupal

  1. #1
    Join Date
    Sep 2010
    Posts
    16

    Where code is generated by views module in Drupal

    I created a module called news with the views module that contains the title and body of the news. In the body I have a picture of the news. I present it in the right sidebar, but I get the photo thumbnail. Deltran option module would have views to enlarge the size of the photo. Where is the module code that I created, modify it and I think that is arranged. Tried many things to sort this out but no success. Atlast gave up and thought to post here. Please help me as early as possible, so that I can continue with my work.

  2. #2
    Join Date
    Feb 2009
    Posts
    39

    Re: Where code is generated by views module in Drupal

    The views are nothing more than displaying sql results in templates and stored serialized. Also my recommendation is to use the module ImageCache, that if you use version 6 if 7 in this functionality is already integrated. With this module you can make the image pick the size you want and so created the ImageCache module size in the view and you will so desire to the output image type that you created with ImageCache.

  3. #3
    Join Date
    Sep 2010
    Posts
    16

    Re: Where code is generated by views module in Drupal

    Thank you very much for all the information. I will try the module ImageCache to see if I get. Intros is to present news in both sidebar and needed image of the news in the sidebar remain the width of the sidebar, but that does not affect the size of the photo on the news. If the forum is the sidebar width = 200 and height = 150. The node must have the same picture 640 * 480. So wondering if the views module to generate source code to modify the code in the block side. I looked at the database and the views module stores only coordinates and not code. Do you know any other module that generates news intros for placement on the sides.?

  4. #4
    Join Date
    Apr 2009
    Posts
    65

    Re: Where code is generated by views module in Drupal

    If you generate html code but as I said shows you in templates, and delivers the visuals are raw as it tells you and you have saved on the node. Due to which you want to be dissociated from the imagery of the node content, and add for example with CCK and imagecache, create two presets, one for the Post the other for the Sidebar. And to call the preset views of a single image related to the node. I know of no module that it automatically. and not a good idea to give the images a special measure just to accommodate it.

  5. #5
    Join Date
    Feb 2009
    Posts
    66

    Re: Where code is generated by views module in Drupal

    The views take all the data that you specify (do not create any) does the SQL query and displays it in your templates (look for templates views) I clarified that initially cost link from where the data, you must have a knowledge little advanced as templates and Drupal works as overwritten. The views take the data set (body, title, tags, images, etc etc etc) makes the query according to the relationship that you command and shows you in your own templates (you can overwrite - overriding -). Imagecache module serves to "presets" and work construction pictures (changing its size, "On-the-Fly" and save it in its respective folder after creating the image). The Views module looks (mostly) as related to the node and gives it to you tell how and when to display the data. It is best to download it and experience it is not hard but takes time to learn to use it, unfortunately there is no basic tutorials to appreciate the power of these modules. You just have to explore through trial and error draw a conclusion.

Similar Threads

  1. Easy to use E-Commerce Module Drupal
    By klinsmann in forum Software Development
    Replies: 4
    Last Post: 11-03-2013, 10:35 AM
  2. Unable to install 'URL rewrite Module' due to error code 1603
    By Ooopinder in forum Windows Software
    Replies: 4
    Last Post: 19-06-2011, 10:10 AM
  3. Replies: 4
    Last Post: 02-04-2011, 01:22 AM
  4. Replies: 1
    Last Post: 17-06-2010, 11:03 PM
  5. need J2me source code for camera snapshot module
    By HoST in forum Windows Software
    Replies: 2
    Last Post: 11-01-2010, 01:38 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,034,256.53573 seconds with 17 queries