Forum Replies Created

Viewing 10 posts - 1 through 10 (of 10 total)
  • in reply to: Updated and now Revolution Slider not working #205619
    batteryman
    Member
    Post count: 16

    Hello,

    I did update to the most updated version. Thats when the problem happened. I did try something. I reverted to an earlier version of jquery which was 2.1.3

    This seem to fix the problem but not but does not seem to like 2.1.4

    What are your thoughts?

    Batteryman

    in reply to: Team Page Header not changing to match default header #205614
    batteryman
    Member
    Post count: 16

    Hello,

    I actually figured this one out. The page is supposed to check to see what header is chosen and it is missing the code. I took the code from another page that is functioning correctly and added it to the page and now it is working correctly.

    To fix it I edited page single-team.php in the root flexform theme folder with the following code Add this code to the top of page right after line $member_image_url = wp_get_attachment_url( get_post_thumbnail_id(), ‘full’ ); but before the closing php tag ?>.

    
           // BOF ADDED BY BATTERYMAN(BUG FIX)
    	$options = get_option('sf_flexform_options');
    	$default_show_page_heading = $options['default_show_page_heading'];
    	$default_page_heading_bg_alt = $options['default_page_heading_bg_alt'];
    	
    	$show_page_title = get_post_meta($post->ID, 'sf_page_title', true);
    	$page_title_bg = get_post_meta($post->ID, 'sf_page_title_bg', true);
    
    	if ($page_title_bg == "") {
    		$page_title_bg = $default_page_heading_bg_alt;
    	}
    	// EOF ADDED BY BATTERYMAN(BUG FIX)
    in reply to: URLs are not being generated correctly #185351
    batteryman
    Member
    Post count: 16

    Hello Muhammad,

    No problem. I hope that you have a solution for future releases for users who will be in a similar situation.

    Respectfully,

    Batteryman

    in reply to: URLs are not being generated correctly #185332
    batteryman
    Member
    Post count: 16

    Hello Mohammad,

    Its your scripts fault. I fixed it and I would consider it a bug. In the defaults.php file you are assuming that $fslashed_dir and $fslashed_abs are going to have the same base you can use them to define Redux_OPTIONS_URL to strip away the base of the server path to leave the theme path.

    flexform > includes > options > defaults.php (lines 5 & 6)

    $fslashed_dir = trailingslashit(str_replace('\\','/', dirname(__FILE__)));
    echo debug_to_console($fslashed_dir);
    //$fslashed_abs = trailingslashit(str_replace('\\','/', ABSPATH));
    $fslashed_abs = trailingslashit(str_replace('\\','/', '/var/www/shared/biafeb/'));
    echo debug_to_console($fslashed_abs);
    echo debug_to_console(ABSPATH);
    

    Which works almost every time unless you are in a situation like mine where I am using scaling servers so I put my wp-content in a static server and use a symlink to get to it. This causes the dirname(__FILE__) of the template to be different from the original dirnmae(__FILE__) set when wordpress initiated. If you notice the echos above, those are my debugging steps to figure out what was going on. Below are the results from those.

    echo debug_to_console($fslashed_dir); --> PHP: /var/www/shared/xxxxx/wp-content/themes/flexform/includes/options/
    echo debug_to_console($fslashed_abs); --> PHP: /var/www/shared/xxxxx/
    echo debug_to_console(ABSPATH); --> PHP: /home/www-upload/xxxxx/

    Check out my screenshots. I hope this helps.

    Attachments:
    You must be logged in to view attached files.
    in reply to: URLs are not being generated correctly #185264
    batteryman
    Member
    Post count: 16

    also just tried deactivating all plugins, Didnt work.

    in reply to: URLs are not being generated correctly #185262
    batteryman
    Member
    Post count: 16

    Hello Mohammad,

    I am not saying that you have this issue. I have had this theme installed for a long time and I have not added any plugins. Everything has been working together for a long time, about 1yr to be exact.

    It just started to happen when I switched servers. I have the wp-contents in a shared directory because I am on a scaling server now. So the wp-contents is a symlink to the shared wp-content folder which is at /var/www/shared/wp-content.

    No other plugin or wordpress are being affected by this except Flexform. Only Flexform urls contain the full server path in them.

    Where in the theme are you requesting the url path?

    in reply to: Add Tags to Portfolio Items #52799
    batteryman
    Member
    Post count: 16

    What is the cost to have that functionality added? Or a plugin built?

    in reply to: Add Tags to Portfolio Items #52668
    batteryman
    Member
    Post count: 16

    i have included a photoshop screen shot of what I’m trying to achieve.

    in reply to: Add Tags to Portfolio Items #52665
    batteryman
    Member
    Post count: 16

    I did not have any code. It was a link to something I was trying to use as an example. I can not remember what the link was now.

    The basic point is I would like to add tags to Portfolio items like you can do with Post items.

    How can this be done?

    in reply to: Add Tags to Portfolio Items #52253
    batteryman
    Member
    Post count: 16

    EXAMPLE:

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