Page 6 of 6 FirstFirst ... 456
Results 51 to 58 of 58
  1. #51
    Join Date
    Dec 2007
    Posts
    25
    Plugin Contributions
    0

    Default Re: Numinix Blog Embedding Issues/Questions

    [QUOTE=mutinyzoo;1227065]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 );
      }

    If anybody still has this problem, it's trying to find the Jetpack plugin. Looks like something was added for Jetpack to work. But if you don't have Jetpack installed it causes an error.
    Installing the Jetpack plugin stopped the errors for me.
    Last edited by Tim Ware; 25 Feb 2015 at 03:59 AM.

  2. #52
    Join Date
    Feb 2016
    Location
    Salem, NH
    Posts
    103
    Plugin Contributions
    0

    Default Re: Numinix Blog Embedding Issues/Questions

    Hi all,
    I have a question I have followed the directions and have my blog embedded with in my store. I have been able to do everything except make the blog full width have tried editing with firebug and it keeps reverting. I have been able to get rid of footer and sidebar just this last part having issues with. Blog site is www.thedragonskeep.net/blog My second isssue is the blog css is taking over my template on blog page only, but I can't figure out where to edit to get the blog page header and footer to look like the rest of pages on www.thedragonskeep.net. Bare with me knew to css and html but I have made it this far so really would like to learn to do this. I am running zencart 1.5.5a.
    Thanks
    Sandria

  3. #53
    Join Date
    Feb 2016
    Location
    Salem, NH
    Posts
    103
    Plugin Contributions
    0

    Default Re: Numinix Blog Embedding Issues/Questions

    Ok figured out full width. Now just have to get css fixed. I really can't believe how much I have learned.
    Thanks
    Sandria

  4. #54
    Join Date
    Apr 2007
    Location
    Vancouver, Canada
    Posts
    1,547
    Plugin Contributions
    81

    Default Re: Numinix Blog Embedding Issues/Questions

    [QUOTE=Tim Ware;1274416]
    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 );
      }

    If anybody still has this problem, it's trying to find the Jetpack plugin. Looks like something was added for Jetpack to work. But if you don't have Jetpack installed it causes an error.
    Installing the Jetpack plugin stopped the errors for me.
    Thank you for the solution to this error and for sharing it with the community!

    We've updated the package and the contents of that file now read:

    PHP Code:
    <?php
      
    // turn off WordPress themes and include the WordPress core:
      
    if ($_GET['main_page'] == FILENAME_BLOG) {
        
    define('WP_USE_THEMES'false);
        require(
    'wordpress/wp-blog-header.php'); // edit this with relative path to wordpress from store root
        
    if (function_exists('stats_template_redirect')) {
            
    add_action'wp_footer''stats_template_redirect');
        }
      }
    ?>

  5. #55
    Join Date
    Feb 2006
    Posts
    72
    Plugin Contributions
    1

    Default Re: Numinix Blog Embedding Issues/Questions

    Tested it with ZC 1.5.5 and it works well. Has anybody an idea how to make the domain http://blog.mydomain.com instead of http://mydomain.com/blog

    I am kinda stuck with the rewrite rule on this.

  6. #56
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: Numinix Blog Embedding Issues/Questions

    Quote Originally Posted by dachilla View Post
    Tested it with ZC 1.5.5 and it works well. Has anybody an idea how to make the domain http://blog.mydomain.com instead of http://mydomain.com/blog

    I am kinda stuck with the rewrite rule on this.
    Do you mean you've already created the subdomain and now you want to redirect, or is your question "how do I create a subdomain?" ?

  7. #57
    Join Date
    Feb 2006
    Posts
    72
    Plugin Contributions
    1

    Default Re: Numinix Blog Embedding Issues/Questions

    Quote Originally Posted by picandnix View Post
    Do you mean you've already created the subdomain and now you want to redirect, or is your question "how do I create a subdomain?" ?
    Subdomain is already created, I need to know how to redirect it with hataccess.

    Just want to know how I have to rewrite this part so that it gores to http://blog.domain.com instead of http://domain.com/blog

    In your domain root, open .htaccess and add the following:

    Options +FollowSymLinks
    RewriteEngine on
    RewriteBase /
    RewriteRule ^blog(.*)$ /index.php?main_page=blog&$1 [E=VAR1:$1,QSA,L]

    This will rewrite your blog page url to domain.com/blog/. If this causes a server error, try changing the last line above to:

    RewriteRule ^blog(.*)$ /index.php?main_page=blog$1 [L]

    Note: If you want wordpress to load as a different URL, change the first instance of “blog” in the RewriteRule to whatever you set as the Blog Address in step 3 of the Preparing WordPress section above.
    Any help is appreciated.

  8. #58
    Join Date
    Feb 2006
    Posts
    72
    Plugin Contributions
    1

    Default Re: Numinix Blog Embedding Issues/Questions

    anyone?

 

 
Page 6 of 6 FirstFirst ... 456

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