can someone explain implementing drupal theme with drigg?

Step 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.

Not sure I understand

Drigg comes with 2 default themes. So there are themes for drigg. And if you create another you can supply to the rest of us and there will be a third.

To make those calls in a page just use php tags on them. I am not sure what you need help with. Take a look around inside the default theme and see where those calls are placed and that should give you an idea of where to place them in your theme. There is no specific place to put them. That's how theming works, they go where you think they would go best.

Regards,

John

http://www.designbump.com/user

ok i understand placing

ok i understand placing part, but how do you call this functions, tell me if this is correct:

<?php print $extra_voting_forms_insert_js_css() ?>
is this correct?

What to do

Since I am no php wiz and I don't want to cause a problem because of some slight syntax error, the best I can tell you to do is this: Look in the page.tpl.php file of the provided Drigg theme. All those calls are made in that theme. Find each one and copy and paste it exactly where you wanted in your new theme. If you do that and still have problems let us know along with the error messages you have received.

Regards,

John

http://www.designbump.com/submit

ok i have try to change

ok i have try to change www.nocere.com is my website and i have fail, then i have put all back but website still looks like messed up. So i think it use cache, i have clear my browser cache and its still messed up, so i think its cached by drupal, how to clear cache?

wow i did it, lol this was

wow i did it, lol this was simple than anything.

Anyway now i need few tips for rest of my design.
How can i change titles, so it dont say drupal and it dont say scoop?

----
ok i ahve fix many things, but now i want to change word scoop with word disaster.
How can i do that?

Check the forums first

A lot of this has already been covered in the forums. Check through the forums first, try to figure somethings out on your own, and if you are still having problems ask again here.

Check the forums first though! It is too time consuming to keep answering the same generic questions over and over.

Regards,

John

Bows

Hi,

(Merc gracefully bows to John)

:-D

Merc.