Dave C

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Author pages just show either events or places #27535

    Dave C
    Expired Member
    Post count: 5

    Very excited to see how this progresses. Very impressed with the GD team, the support offered, and the clean usable code that can be manipulated how you will. Am sure the buddypress featureset will be rock solid – I searched this when I noticed that I was not redirecting to the proper buddypress login / register page.

    in reply to: Multisite – Calling Widget From Other Site #27529

    Dave C
    Expired Member
    Post count: 5

    Thanks for the input! When I figure it out I will post my code to share for others.

    in reply to: Details Sidebar Content Elsewhere? #27195

    Dave C
    Expired Member
    Post count: 5

    Hi – I have a few custom tabs setup from when I first evaluated this software in August (1.2?), which are working fine. I can create the tabs fine, but what I was hoping was to move the “Details Sidebar” into one of the tabs itself.

    In listing-detail.php it makes reference to ‘ do_action(‘geodir_detail_sidebar’);’

    I’ve applied a filter and sorted the content, and also eliminating the share this button along with the google analytics in the array. What I was hoping is that I would stuff that information (geodir_detail_submitted_bu_custom, geodir_edit_post_link) somehow in another spot, was hoping for a tab, or just being able to grab each seperate set of details and put it somewhere else on the screen..

    Say for example – Page Title – Submitted by (geodir_detail_submitted_by_custom) along with the _review_rating followed by in another section of the page or a tab the _edit_post_link and so on.
    Sorry if I haven’t been clear. I’m fudging along at this trying to see if I can make it what I want it to do and then going to spring for a few of the addons – ie multi locations and such for this freebie site I want to give back to the bicyclist community (I have been riding my bicycle around the world 7 years now, and want to give back an opportunity for users to see all the free campsites there are in the world to get a shower at the end of the day) 🙂

    in reply to: Putting Widgets Side by Side #27177

    Dave C
    Expired Member
    Post count: 5

    OK! Classic case of RTFM on my end – after a bit of fiddling with CSS I have it.

    For anyone else looking to do so:

    functions.php

    
    
        register_sidebar( array(
        'name' => 'bottom-1',
        'id' => 'bottom-01',
        'before_widget' => '<div id="bottom-01">',
        'after_widget' => '</div>',
        'before_title' => '',
        'after_title' => ''
            ) );
            
    
        register_sidebar( array(
        'name' => 'bottom-2',
        'id' => 'bottom-02',
        'before_widget' => '<div id="bottom-02">',
        'after_widget' => '</div>',
        'before_title' => '',
        'after_title' => ''
            ) );
            
            
        register_sidebar( array(
        'name' => 'bottom-3',
        'id' => 'bottom-03',
        'before_widget' => '<div id="bottom-03">',
        'after_widget' => '</div>',
        'before_title' => '',
        'after_title' => ''
            ) );
    

    In your theme template (I am using geo-home.php)

    
    
    <div class="section group">
    	<div class="col span_1_of_3">
    	<?php dynamic_sidebar( 'bottom-01' ); ?>
    	</div>
    	<div class="col span_1_of_3">
    	<?php dynamic_sidebar( 'bottom-02' ); ?>
    	</div>
    	<div class="col span_1_of_3">
    	<?php dynamic_sidebar( 'bottom-03' ); ?>
    	</div>
    </div>
    

    In your style.css

    
    
    /*  SECTIONS  */
    .section {
    	clear: both;
    	padding: 0px;
    	margin: 0px;
    }
    
    /*  COLUMN SETUP  */
    .col {
    	display: block;
    	float:left;
    	margin: 1% 0 1% 1.6%;
    }
    .col:first-child { margin-left: 0; }
    
    /*  GROUPING  */
    .group:before,
    .group:after { content:""; display:table; }
    .group:after { clear:both;}
    .group { zoom:1; /* For IE 6/7 */ }
    
    /*  GRID OF THREE  */
    .span_3_of_3 { width: 100%; }
    .span_2_of_3 { width: 66.13%; }
    .span_1_of_3 { width: 32.26%; }
    
    /*  GO FULL WIDTH BELOW 480 PIXELS */
    @media only screen and (max-width: 480px) {
    	.col {  margin: 1% 0 1% 0%; }
    	.span_3_of_3, .span_2_of_3, .span_1_of_3 { width: 100%; }
    }
    

    And as mentioned bu Guust, Set the Widget areas to 2 grid and ‘100’ not 100% and you are golden!

    in reply to: Home Page map Overwrites theme "top bar" #12624

    Dave C
    Expired Member
    Post count: 5

    I was looking through the Geodirectory CSS and found many Z-indexes to be over 9999 – I will try something and get back to you, as right now this is just a development test and nothing is public at present..

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