Page 5 of 6 FirstFirst ... 3456 LastLast
Results 41 to 50 of 58
  1. #41
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Numinix Blog Embedding Issues/Questions

    Quote Originally Posted by fakeDecoy View Post
    I haven't touched the parent theme stylesheet. But I'll put my styles into the child theme stylesheet and remove the blog.css from zc if that will help avoid problems in the future.
    I think I misread/misunderstood what you did..

    So you had NOTHING in the child stylesheet, the parent stylesheet was left in it's default state, and then you had your modified blog.css in your shop's stylesheet folder.. Correct????


    If that's the case, and EVERYTHING worked, then put things back the way you had them.. that's just fine..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  2. #42
    Join Date
    Jul 2006
    Posts
    308
    Plugin Contributions
    0

    Default Re: Numinix Blog Embedding Issues/Questions

    Quote Originally Posted by DivaVocals View Post
    I think I misread/misunderstood what you did..

    So you had NOTHING in the child stylesheet, the parent stylesheet was left in it's default state, and then you had your modified blog.css in your shop's stylesheet folder.. Correct????


    If that's the case, and EVERYTHING worked, then put things back the way you had them.. that's just fine..
    Right. I haven't messed with it yet, so I think that's it, thanks!

  3. #43
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Numinix Blog Embedding Issues/Questions

    Quote Originally Posted by fakeDecoy View Post
    Right. I haven't messed with it yet, so I think that's it, thanks!
    Sure.. you did remove the duplicate directive though right????????
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  4. #44
    Join Date
    Jul 2006
    Posts
    308
    Plugin Contributions
    0

    Default Re: Numinix Blog Embedding Issues/Questions

    Yep, did that.

  5. #45
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Numinix Blog Embedding Issues/Questions

    Quote Originally Posted by fakeDecoy View Post
    Yep, did that.
    Great.. then you are all done..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  6. #46
    Join Date
    Mar 2011
    Location
    Pensacola, FL
    Posts
    88
    Plugin Contributions
    4

    Default Re: Numinix Blog Embedding Issues/Questions

    Have been using the wonderful Numinix integration tutorial/method on a couple of blogs for years (thank you very much), but there is an issue with the Twenty Thirteen theme: PHP Warning:

    Code:
    call_user_func_array() expects parameter 1 to be a valid callback, function ‘stats_template_redirect’ not found or invalid function name in /path/to/wp-includes/plugin.php on line 406.
    it occurs when i add any widget into the seconday widget area.

    Following is the code on the numinix wordpress_page.php file where the stats_template_redirect call occurs and where I'm betting the answer may be found.

    Code:
      if ($_GET['main_page'] == 'blog') {
        define('WP_USE_THEMES', false);
        require('steel/wp-blog-header.php'); // edit this with relative path to wordpress from store root
        add_action( 'wp_footer', 'stats_template_redirect', 1 );
      }
    Any insight quite welcome. In the meantime using the twenty thirteen theme without secondary widget area (which takes up right column space anyway)

  7. #47
    Join Date
    Mar 2011
    Location
    Pensacola, FL
    Posts
    88
    Plugin Contributions
    4

    Default Re: Numinix Blog Embedding Issues/Questions

    Combining WOZ sideboxes only module and/or combining it with the numinix solution.

    I recently submitted an updated version of the module, the tpl_wp_XXX pages to which are added one line that seemed to be needed to close a DIV. Maybe this is only necessary when using the numinix method.

    Code:
      $content .= '</div>';
    below

    Code:
      $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">';
      $content .= '<ul>'.$out.'</ul>';
    The extra-configures/wordpress_config.php file also needed to be changed. A 404 file not found error was occurring on the blog pages, which seemed to be due to something in here:
    Code:
    		define('WP_USE_THEMES', true);
    		$wp_did_header = true;
                    require_once(ABSPATH.'wp-config.php');
    It worked fine when that code was removed, but there was a sidebox error on the NON-blog pages.

    So I updated the code on the extra-configures/wordpress_config.php page to:

    Code:
    define ('ABSPATH','/path/to/my/blog/');
    
    $host = $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
    $its_blog_page = $_SERVER['SERVER_NAME'] . "/blog";
    
    if ((strpos($host, $its_blog_page) !== false) && (file_exists(ABSPATH.'wp-config.php'))){
    	$woz_install=1;
    	}else{
    		$woz_install=1;
    		define('WP_USE_THEMES', true);
    		$wp_did_header = true;
    		require_once(ABSPATH.'wp-config.php'); 
    	}
    which simply checks the current URL to see if it contains the numinix-style path to the blog (mydomain.com/blog) and loads ONLY the $woz_install=1; line, otherwise for any other page it loads also the WP THEME, wp Header and WP config lines.

    I imagine there as a much more elegant way to do this and I would love to see if if anyone's inspired to share. Otherwise, hope this is useful.

    DivaVocals has mentioned that the blogroll and wp_sidebox are no longer supported by wordpress coding.

    Also - am having a problem because the above method only works when the URL for the blog is formatted domain.com/blog and NOT domain.com/index.php?main_page=blog.

    So - am experimenting with adding a third variable:

    Code:
    $host = $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
    $its_blog_page = $_SERVER['SERVER_NAME'] . "/blog";
    $its_blog_page_2 = $_SERVER['SERVER_NAME'] . "/index.php?main_page=blog";
    
    if ((strpos($host, $its_blog_page) !== false) && (file_exists(ABSPATH.'wp-config.php'))){
    	$woz_install=1;
    	}elseif ((strpos($host, $its_blog_page_2) !== false) && (file_exists(ABSPATH.'wp-config.php'))) {
    	$woz_install=1;
    	}else{
    		$woz_install=1;
    		define('WP_USE_THEMES', true);
    		$wp_did_header = true;
    		require_once(ABSPATH.'wp-config.php'); 
    	}

  8. #48
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: Numinix Blog Embedding Issues/Questions

    Quote Originally Posted by mutinyzoo View Post
    Have been using the wonderful Numinix integration tutorial/method on a couple of blogs for years (thank you very much), but there is an issue with the Twenty Thirteen theme: PHP Warning:

    Code:
    call_user_func_array() expects parameter 1 to be a valid callback, function ‘stats_template_redirect’ not found or invalid function name in /path/to/wp-includes/plugin.php on line 406.
    it occurs when i add any widget into the seconday widget area.

    Following is the code on the numinix wordpress_page.php file where the stats_template_redirect call occurs and where I'm betting the answer may be found.

    Code:
      if ($_GET['main_page'] == 'blog') {
        define('WP_USE_THEMES', false);
        require('steel/wp-blog-header.php'); // edit this with relative path to wordpress from store root
        add_action( 'wp_footer', 'stats_template_redirect', 1 );
      }
    Any insight quite welcome. In the meantime using the twenty thirteen theme without secondary widget area (which takes up right column space anyway)
    Anyone know of a solution for this error log as described by Mutinyzoo please?

  9. #49
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: Numinix Blog Embedding Issues/Questions

    Quote Originally Posted by mutinyzoo View Post
    Have been using the wonderful Numinix integration tutorial/method on a couple of blogs for years (thank you very much), but there is an issue with the Twenty Thirteen theme: PHP Warning:

    Code:
    call_user_func_array() expects parameter 1 to be a valid callback, function ‘stats_template_redirect’ not found or invalid function name in /path/to/wp-includes/plugin.php on line 406.
    it occurs when i add any widget into the seconday widget area.

    Following is the code on the numinix wordpress_page.php file where the stats_template_redirect call occurs and where I'm betting the answer may be found.

    Code:
      if ($_GET['main_page'] == 'blog') {
        define('WP_USE_THEMES', false);
        require('steel/wp-blog-header.php'); // edit this with relative path to wordpress from store root
        add_action( 'wp_footer', 'stats_template_redirect', 1 );
      }
    Any insight quite welcome. In the meantime using the twenty thirteen theme without secondary widget area (which takes up right column space anyway)
    Bump... Anyone have any insight into this error that gets logged please? I have the same issue.

  10. #50
    Join Date
    Jun 2009
    Location
    Des Moines, Iowa USA
    Posts
    580
    Plugin Contributions
    0

    Default Re: Numinix Blog Embedding Issues/Questions

    1.5.1

    I guess I am not as far along on the installation as the rest on this thread...
    Installed Wordpress in a subfolder blog
    I have created the child theme as instructed with the suggested style.css

    some q? that are fuzzy -

    Step 3:

    Next, save a copy of your theme’s style.css file and any images that are referenced in the style sheet to a place on your desktop to later be uploaded to your Zen Cart installation.

    Rename style.css on your desktop to blog.css and open the file and change all image URL paths to match the URLs found in your Zen Cart style sheets.
    below is the suggested style.css as provided on the Numinix instructions. there are no images???

    Below I have a copy of the style that will be renamed to blog.css Am I missing something? TIA

    /*
    Theme Name: Twenty Twelve Stitch
    Theme URI: http://www.stitchnframeonline.com/bl...twelve-stitch/
    Description: Twenty Fourteen Child Theme
    Author: Stitch 'N Frame
    Author URI: http://www.stitchnframeonline.com
    Template: twentytwelve
    Version: 1.0.0
    Tags: needleart, needlework, cross stitch, needlepoint, goldwork, hardanger,
    Text Domain: twenty-fourteen-child
    */

    @import url("www.stitchnframeonline.com/blog/wp-content/themes/twentytwelve-stitch/style.css");

    /* =Theme customization starts here
    -------------------------------------------------------------- */

 

 
Page 5 of 6 FirstFirst ... 3456 LastLast

Similar Threads

  1. Intergrating WordPress Blog onto site - issues with Permanlinks
    By hakatours in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 15 Apr 2010, 03:46 AM
  2. Embedding ZC In a Blog Page??
    By gabstero in forum General Questions
    Replies: 7
    Last Post: 16 Apr 2009, 06:17 PM
  3. Style Issues - 2 Questions
    By traciboyle in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 21 Jan 2008, 03:26 PM
  4. PayPal eCheck Issues & Questions
    By fepb in forum Addon Payment Modules
    Replies: 14
    Last Post: 3 Apr 2007, 06:24 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR