Page 33 of 35 FirstFirst ... 233132333435 LastLast
Results 321 to 330 of 347
  1. #321
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,668
    Plugin Contributions
    1

    Default Re: Editable Home Page Centerboxes [Support]

    v155f php7.1

    I am having a problem with adding Structured Data Markup code in a middlebox - when I add the code the box disappears completely, i.e. not just the text but the space the box consumes. The code is the whole html 'document' as marked up using Google Markup Tool.

    (possibly unrelated however something I have encountered for a while now has been the non acceptance of header title codes higher than h4, i.e. h1,2 and 3 results in the text between <h> and </h> disappearing altogether - not important as the above, just thought it worth mentioning)

    any assistance would be appreciated.
    cheers,
    Mike

  2. #322
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,668
    Plugin Contributions
    1

    Default Re: Editable Home Page Centerboxes [Support]

    Please ignore the Markup section of the previous post - I originally used JSON-LD and that didn't work but then regenerated the text using Microdata and that didn't work either so contacted my host - seems there were some mod_security issues that have now been whitelisted - I used Microdata after that and it works fine.

    Interestingly with the JSON-LD version I was getting a 403 Forbidden when trying to add the content to an EZ page as a trial - this was the response from the host;
    "Mixed Content: The page at 'https://www.harmonyballpendant.com/about-our-harmony-necklaces-ezp-29.html' was loaded over HTTPS, but requested an insecure script 'http://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js'. This request has been blocked; the content must be served over HTTPS.
    You should just need to load that file over https://"

    Should that java script address be HTTPS (??)

    Also ignore the <h> header statement above - having a bad day! Sorry for the unnecessary interruption.

    cheers,
    Mike
    Last edited by shags38; 6 Jan 2019 at 02:35 AM.

  3. #323
    Join Date
    Jul 2012
    Posts
    16,718
    Plugin Contributions
    17

    Default Re: Editable Home Page Centerboxes [Support]

    Yes it does appear that your javascript file is attempting to be loaded via http: on an https: page, that is something that would need to be addressed by either removing the http: part leaving behind the double forward slashes and everything behind it or changing http: to https:. You can search your site for hardcoded http: links using the tools->developers tool kit and searching all files for http: (this is to include javascript files as well.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #324
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,668
    Plugin Contributions
    1

    Default Re: Editable Home Page Centerboxes [Support]

    Quote Originally Posted by mc12345678 View Post
    Yes it does appear that your javascript file is attempting to be loaded via http: on an https: page, that is something that would need to be addressed by either removing the http: part leaving behind the double forward slashes and everything behind it or changing http: to https:. You can search your site for hardcoded http: links using the tools->developers tool kit and searching all files for http: (this is to include javascript files as well.
    many thanks MC

  5. #325
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,668
    Plugin Contributions
    1

    Default Re: Editable Home Page Centerboxes [Support]

    I am trying to utilize these middle boxes on other pages. I currently use one box on the main page in location 3, Below New, Specials, Featured etc. centerboxes.

    In admin/configuration I changed to 0 for ALL pages and then selected location 9 for a box (Categories - Always Show on Main Page is set to No) and entered some text in that box in define pages editor but I am not seeing that box show up on any pages which I expected it should - have I missed something? from the configuration instructions in readme ... If you use the position settings 8 or 9 for a box, it will appear on all pages regardless of other settings. (all pages I believe only includes home and category pages?) ... I'm not seeing any error logs.

    cheers, Mike

    P.S. I found this in the readme however I am not sure that it applies to the above, albeit would it be relevant if I wanted to include a box in an EZ page?;

    HTML Code:
    If you want to add new locations where middleboxes can be displayed, you will need to insert a
    get_template_dir('tpl_middleboxes.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_middleboxes.php'); ?>
    statement in the desired location, with the new location number (8 or higher) in place of the X and the comment text you want to use to identify the middlebox group in the page's HTML source.
    Then you will need to modify the SQL to update the middlebox location settings in the admin menu, adding the new locations, and run the SQL in Tools > Install SQL Patches.
    
    Alternatively, you can simply move one of the existing
    get_template_dir('tpl_middleboxes.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_middleboxes.php'); ?>
    function statements from a location you do not need to a new location or file where you want to use it. This requires no SQL modifications, though the admin setting descriptions will not describe your new location.

  6. #326
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,668
    Plugin Contributions
    1

    Default Re: Editable Home Page Centerboxes [Support]

    Quote Originally Posted by shags38 View Post
    I am trying to utilize these middle boxes on other pages. I currently use one box on the main page in location 3, Below New, Specials, Featured etc. centerboxes.

    In admin/configuration I changed to 0 for ALL pages and then selected location 9 for a box (Categories - Always Show on Main Page is set to No) and entered some text in that box in define pages editor but I am not seeing that box show up on any pages which I expected it should - have I missed something? from the configuration instructions in readme ... If you use the position settings 8 or 9 for a box, it will appear on all pages regardless of other settings. (all pages I believe only includes home and category pages?) ... I'm not seeing any error logs.

    cheers, Mike

    P.S. I found this in the readme however I am not sure that it applies to the above, albeit would it be relevant if I wanted to include a box in an EZ page?;

    HTML Code:
    If you want to add new locations where middleboxes can be displayed, you will need to insert a
    get_template_dir('tpl_middleboxes.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_middleboxes.php'); ?>
    statement in the desired location, with the new location number (8 or higher) in place of the X and the comment text you want to use to identify the middlebox group in the page's HTML source.
    Then you will need to modify the SQL to update the middlebox location settings in the admin menu, adding the new locations, and run the SQL in Tools > Install SQL Patches.
    
    Alternatively, you can simply move one of the existing
    get_template_dir('tpl_middleboxes.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_middleboxes.php'); ?>
    function statements from a location you do not need to a new location or file where you want to use it. This requires no SQL modifications, though the admin setting descriptions will not describe your new location.
    Using admin > configuration > Editable Centerboxes - Centerboxes on pages other than home page works fine in v1.5.1 but I cannot get it to work in v1.5.5f - has anyone got it working satisfactorily in 155f? - if so was there a fix you used or was the plugin installed as downloaded? Not sure if I may have missed a file merge or something.

    cheers, Mike

  7. #327
    Join Date
    Jul 2012
    Posts
    16,718
    Plugin Contributions
    17

    Default Re: Editable Home Page Centerboxes [Support]

    Quote Originally Posted by shags38 View Post
    I am trying to utilize these middle boxes on other pages. I currently use one box on the main page in location 3, Below New, Specials, Featured etc. centerboxes.

    In admin/configuration I changed to 0 for ALL pages and then selected location 9 for a box (Categories - Always Show on Main Page is set to No) and entered some text in that box in define pages editor but I am not seeing that box show up on any pages which I expected it should - have I missed something? from the configuration instructions in readme ... If you use the position settings 8 or 9 for a box, it will appear on all pages regardless of other settings. (all pages I believe only includes home and category pages?) ... I'm not seeing any error logs.

    cheers, Mike

    P.S. I found this in the readme however I am not sure that it applies to the above, albeit would it be relevant if I wanted to include a box in an EZ page?;

    HTML Code:
    If you want to add new locations where middleboxes can be displayed, you will need to insert a
    get_template_dir('tpl_middleboxes.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_middleboxes.php'); ?>
    statement in the desired location, with the new location number (8 or higher) in place of the X and the comment text you want to use to identify the middlebox group in the page's HTML source.
    Then you will need to modify the SQL to update the middlebox location settings in the admin menu, adding the new locations, and run the SQL in Tools > Install SQL Patches.
    
    Alternatively, you can simply move one of the existing
    get_template_dir('tpl_middleboxes.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_middleboxes.php'); ?>
    function statements from a location you do not need to a new location or file where you want to use it. This requires no SQL modifications, though the admin setting descriptions will not describe your new location.
    To identify an included middle box to a given "number", if you notice in the other examples the pattern:
    Code:
    <?php 
    $box_loc = '1';//middlebox group
    require($template->get_template_dir('tpl_middleboxes.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_middleboxes.php');
    ?>
    <?php 
    $box_loc = '2';//middlebox group
    require($template->get_template_dir('tpl_middleboxes.php',DIR_WS_TEMPLATE,  $current_page_base,'templates'). '/tpl_middleboxes.php');
    ?>
    <?php 
    $box_loc = '3';//middlebox group
    require($template->get_template_dir('tpl_middleboxes.php',DIR_WS_TEMPLATE,  $current_page_base,'templates'). '/tpl_middleboxes.php');
    ?>
    Each of the $box_loc variables relates back to MIDDLEBOX_NUMBER_1, MIDDLEBOX_NUMBER_2, and MIDDLEBOX_NUMBER_3 respectively.

    Boxes 8 and 9 are not currently in the template files and must be added where desired. To identify a box to be of group 8 or 9 (or above if additional have been added), need to include the below where it is desired to display the content associated with the box:
    Code:
    <?php 
    $box_loc = '8';//middlebox group
    require($template->get_template_dir('tpl_middleboxes.php',DIR_WS_TEMPLATE,  $current_page_base,'templates'). '/tpl_middleboxes.php');
    ?>
    And wherever that particular group has been added for display it will be displayed. The incorporation points provided in the existing template files are basically examples or starting points to see operation. Like all things ZC their placement location can be modified to suit. Just remember if $box_loc >= 8, then it will be displayed whether the current page is the homepage or not.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  8. #328
    Join Date
    Nov 2006
    Location
    Sydney, Australia
    Posts
    458
    Plugin Contributions
    1

    Default Re: Editable Home Page Centerboxes [Support]

    Is this Mod still current, I would like to install this for a new 1.5.7 instalation and not sure if it's compatible since the last responce was from 2019?! I just need a few main images on my front page.
    *Zen Cart eCommerce Solution - Putting the Dream of Owning an Online Business within reach of anyone!

  9. #329
    Join Date
    Jul 2012
    Posts
    16,718
    Plugin Contributions
    17

    Default Re: Editable Home Page Centerboxes [Support]

    Quote Originally Posted by rlexyd View Post
    Is this Mod still current, I would like to install this for a new 1.5.7 instalation and not sure if it's compatible since the last responce was from 2019?! I just need a few main images on my front page.
    So I've looked through the fileset and it doesn't appear that there is anything that specifically needs updating/revision for ZC V1.5.7. The associated template files haven't been modified in several years (longer than before the last edit to the module) and I didn't really see anything in the associated display module that would be php 7.x problematic, though there might be some sort of "strict" processing issues as a possibility during initial install if the database is not populated before the files being placed. The only thing that really may be an issue is that the installer is similar to others that may present a problem with at least one other plugin because the two use a similar variable causing the variable to lose meaning for the other plugin.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  10. #330
    Join Date
    Nov 2006
    Location
    Sydney, Australia
    Posts
    458
    Plugin Contributions
    1

    Default Re: Editable Home Page Centerboxes [Support]

    Thank you for your response.
    Will try it on a blank website and see how it goes, will report if any issues develop.
    Thanks again.
    *Zen Cart eCommerce Solution - Putting the Dream of Owning an Online Business within reach of anyone!

 

 
Page 33 of 35 FirstFirst ... 233132333435 LastLast

Similar Threads

  1. v154 Editable Invoices & Packing Slips [Support]
    By dbltoe in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 7 Oct 2015, 11:44 PM
  2. Admin-Editable Sidebox - Support Thread
    By kuroi in forum Addon Sideboxes
    Replies: 331
    Last Post: 29 Oct 2014, 04:15 AM
  3. Move Define Page Text to bottom of page, below centerboxes
    By AirsoftOutfitter in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 19 Jul 2011, 02:13 AM
  4. Editable Home Page Centerboxes click-able links
    By colhemm in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 22 Feb 2011, 09:04 PM
  5. Image above centerboxes on main page
    By direwolf in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 21 May 2008, 06:40 PM

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