convert drupal theme to drig theme, please help me with few steps

Discussion in 'HTML & Website Design' started by dadaas, Jun 30, 2008.

  1. #1
    tep 3b: Add the Drigg default theme
    
    Drigg needs the theme to do a few very important things:
    For example, in page.tpl.pgp it calls:
    
    * print extra_voting_forms_insert_js_css() . This is needed by Extra Voting Forms
    * print drigg_ui_sections();. This will print out the sections defined as a clickable menu.
    * print drigg_ui_submit_button();. This will display the "submit" button
    * print drigg_ui_type_menu();. This will define what the user is looking at, Drigg-wise: "Published", "Upcoming" or "Archived".
    * print drigg_ui_order_menu();. This will allow the user to pick the story's order: newest, oldest, etc.
    
    The example theme, in node-drigg.tpl.pgp, calls:
    
    * print drigg_embed_contents(). This is to show embedded contents.
    * drigg_rl_related_links_get_html(). This will pull up an unordered list of related scoops.
    * drigg_ui_article_menu(). This will print the menu "Who voted", "Comments" etc. at the bottom of the article
    
    Isnt it pgp=php? for a start...
    
    What i need to know is how to call this things, please show me example code.
    And how can i find out where to place that code? Does it go to content, header or where it goes?
    
    please help since drigg looks so good but default layout is worst than simple html. And i dont know why is there no signle theme for drigg.
    
    
    Code (markup):
    How do i call this functions?
    Can someone write me example code?
    And is there easy way to find out where to place tis calls?
     
    dadaas, Jun 30, 2008 IP
  2. wordgeist

    wordgeist Peon

    Messages:
    155
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    any of you knows how to insert a thumbnail image next to the post ?
     
    wordgeist, Jun 23, 2010 IP