Hello
When I upgrade to 1.24, The top24h bar and block background was lost. Who to fix it?
Thanks!

my Drigg test site , http://www.plzon.com

Comments

mercmobily’s picture

Status: Active » Fixed

Hi,

I forgot to mention this in the instructions - apologies.
Please see this page to see how to change block.css

http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/drigg/drigg...

It's because a different module now generates the blocks, and therefore the css needs to call those elements something different.

Sorry about the disruptions. A lot of people are going to have problems like these... but believe me, it's for a good reason.

Merc.

leoleo’s picture

Hi Merc.

Thanks for your fast reply.
I will try to do that.

The blocks is fine now.But the top24h bar still lost.

mercmobily’s picture

Status: Fixed » Active

Hi,

What function do you call in your theme to display the bar?
Do you get a warning if you view the page as admin, about the theme functions having changed?

WHat happens when you rename the special drigg functions in the theme?

Please have a look!

Merc.

leoleo’s picture

hello,

I am using 1.23 css files and 1.24 default drigg theme tpl files.When I upgrade to 1.24 the top bar is lost.

No any warning in any pages.The top bar need any setting?

mercmobily’s picture

Hi,

It really, really shouldn't be lost.
This is the code that prints it in your page-tpl.php theme:

            if ($page == 0 && module_exists('drigg')) {
              print drigg_ui_type_menu();
              print drigg_ui_order_menu();
            }
       

Which one of them is not working? What happens if you take that $page == 0 out?

This is really strange. The CSS hasn't been touched. The class is still "drigg-order"...

Merc.

leoleo’s picture

Hello Merc,

Yes, my page.tpl.php already have:

            if ($page == 0 && module_exists('drigg')) {
              print drigg_ui_type_menu();
              print drigg_ui_order_menu();
            }
          

This is my site page source:

<div class="node ntype-drigg even clearfix" id="node-24">
  
        <div class="extra_voting_forms karma_3_big">
        <form action="/extra_voting_forms/handle" method="get" class="karma_form_promoted" id="x24">
          
          <span class="karma_score">1</span>
          <span class="karma_buttons">
            <label class="karma_up_not_clicked_clickable" for="u24">

              <input id="u24" type="radio" name="karma_vote" value="1"/>
              <span>Up</span>
            </label>
            <label class="karma_down_not_clicked_clickable" for="d24">
              <input id="d24" type="radio" name="karma_vote" value="-1"/>
              <span>Down</span>
            </label>
            <input type="hidden" name="oid" value="24"/>

            <input type="hidden" name="otype" value="n"/>
            <input type="hidden" name="form_style" value="3_big"/>
            <input type="hidden" name="form_type" value="form"/>
            <input type="submit" name="submit" value="Vote" />
            <input type="hidden" name="js_destination" value="content%2Fcat-2%2F24%2F080416%2F24.html" />
          </span>
        </form></div> 
  <div class="offset">

Thx for help.

mercmobily’s picture

Hi,

Does print drigg_ui_type_menu(); actually print anything?
That is, if you do page->View Source from your browser, what do you see where those PHP calls are? Please cut&paste!

Merc.

leoleo’s picture

Hi Merc,

I think because I change the "The path to the Drigg home page" then the bar was lost. When I try to change back the default path to "dirgg_home", the bar is back!

If I want to change the path, need change the "drigg_ui.module" file?

mercmobily’s picture

Status: Active » Fixed

Hi,

Well spotted, this was a genuine bug!!!

Fixed. Are you able to get the DRUPAL-5 version of the module using CVS?
If not, please wait tonight for the latest snapshot, which will work fine even if drigg's home is not "drigg_home"!

Now it's fixed...

Bye,

Merc.

leoleo’s picture

Status: Fixed » Active

Hi Merc,

OK, I go to get the file.

Super thanks for your help!!

see you.

leoleo’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.