My Dashboard (Mobile)

This topic contains 10 replies, has 5 voices, and was last updated by  Paolo 8 years, 10 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #45087

    KB
    Buyer
    Post count: 72

    Hello GD,

    Using: GDF Modern Child Theme

    Noticing on computer and iPad, when logged in, My Dashboard shows the three options, from top to bottom, “Add Listings”, “My Favorites” and “My Listings”. On Android mobile it also shows the option areas but blank, the “Add Listings”, “My Favorites” and “My Listings” word labels are missing.

    Also, any way to reorder these easily so it is from top to bottom: “Add Listings”, “My Listings” and “My Favorites” ?

    Many thanks in advance for your time and for any help you may be able to offer.

    #45088

    KB
    Buyer
    Post count: 72
    This reply has been marked as private.
    #45111

    Guust
    Moderator
    Post count: 29970

    I’ll get Paolo to look at this for you.

    #45117

    Simone
    Expired Member
    Post count: 3515

    Hello, tested on Desktop and Android, and I see only Places in the dropdown menu, for both devices
    Is it the one you go by clicking on the Login/logout button? see attach

    #45142

    KB
    Buyer
    Post count: 72

    Hello Simone,
    Thank you for looking.

    Yes that is correct.

    “My Dashboard” on my computer and iPad appears as should, all three appear (“Add Listings”, “My Favorites” and “My Listings”) for me, obviously, because I created a listing and added favorites for testing (see attached computer screenshot).

    On Android (Samsung Note 4) these drop-downs are blank(see attached Android screenshot) When one of the dropdown fields are touched(Android), the popup with the radio button with “Places” shows.

    Thank you

    #45163

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    thanks for spotting this. Chosen select effectively doesn’t work on mobile phones, so we have to find a workaround to make sure normal selects showing on mobile have a title.

    Stiofan is already working on this.

    Thanks

    #45164

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I have fixed this and uploaded to your site, there is still some final testing to do but it looks good so far and the change will be in the next version so no need to worry about anything.

    Thanks,

    Stiofan

    #45174

    KB
    Buyer
    Post count: 72

    Thank you all,

    Seems to be working well now, nice.

    Also wondering if there is an easy solution or way to rearrange the “Add Listings”, “My Favorites” and “My Listings” (top to bottom) to “Add Listings”, “My Listings” and “My Favorites” as the “Add Listings” and “My Listings” would be used for Business owners and “My favorites” for Patrons and Business Owners. Just a thought. (or should I start a new topic with this?)

    Once again … Many Thanks!

    #45236

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    The loginbox is a widget class:

    class geodir_loginwidget extends WP_Widget

    It can be found in geodirectory_widgets.php starting line 236.

    This is the best way to reorder it’s html.

    Copy the entire class including the register_widget call (line 236 to 313)

    Paste it in your theme functions.php file.

    Rename :

    the class name

    class my_geodir_loginwidget extends WP_Widget

    the main function name

    function my_geodir_loginwidget()

    the Constructor

    
    
    $widget_ops = array('classname' => 'my_geodir_loginbox', 'description' => __('My Loginbox Widget', GEODIRECTORY_TEXTDOMAIN));
    $this->WP_Widget('my_geodir_loginbox', __('GD > My Loginbox', GEODIRECTORY_TEXTDOMAIN), $widget_ops);

    the function geodir_loginwidget_output

    my_geodir_loginwidget_output($args, $instance);

    the function name in the register_widget call

    register_widget('my_geodir_loginwidget');

    Now we will need to copy the function geodir_loginwidget_output that can be found in general_functions.php line: 2476, paste it in your functions.php and rename it to my_geodir_loginwidget_output.

    After all this is done you will have a new loginbox widget in appearance >> widgets.

    At this point in your new output function you can change the order of the links without having to worry about future updates.

    Let us know how you went,

    Thanks

    #45254

    KB
    Buyer
    Post count: 72

    Many Thanks Paolo,

    That did create a new widget that does work perfectly and was able to reorder the boxes. Unfortunately for me, where I need/want to put it, requires a shortcode.
    That is beyond what I can do.

    The new widget will still be used.
    Once again, thank you very much for your time and help.

    #45264

    Paolo
    Site Admin
    Post count: 31206

    You are welcome!

    For that you can use the do_shortcode WordPress function.
    Example:

    Hope it helps!

Viewing 11 posts - 1 through 11 (of 11 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket