Jump to content

Archived

This topic is now archived and is closed to further replies.

alessandropascoli

Max Number iBox?

Recommended Posts

alessandropascoli

Hi,

 

is there a max number of iBox in a single page?

 

I am having a nightmare on (in progress) http://micrologus.it/home/

Adding a new iBox causes a crash and loosing basic setting in DMS, basic setting in iBoxes above and basic setting in Widgetizer.

I tried to clone, to add, to remove. Always same crash.

 

Suggestions?

Thanks a lot

 

DMS version 1.1.6

 

Share this post


Link to post
Share on other sites
Danny

Hi,

 

I don't think there is a set number, how many have you added ?

 

Have you tried disabling all active plugins and see if this resolves your issue ?


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
alessandropascoli

Deactivated all plugin except DMS. Same problem. It's a mystery.

Here a screenshot of the same page (localhost to be quicker) viewed in chrome and safari.

As you can see there are the same ibox with different contents. It's like a matter of cache...

https://dl.dropboxusercontent.com/u/4872733/Untitled.png

 

So now I am going to change a certain iBox, and few iBox on the page are going to be reset, loosing setings...

Share this post


Link to post
Share on other sites
alessandropascoli

p.s. not "safari" but "firefox"

Share this post


Link to post
Share on other sites
alessandropascoli

Hello,

i published a video with that strange behaviour.

http://youtu.be/45RwvFW-Dsw

 

Basically when I add an iBox, the other are going to reset, and the preview I have in Chrome is different than the preview in firefox...

Share this post


Link to post
Share on other sites
Danny

Has this just started occurring, meaning has it started happening since you added X amount of iBoxes ?

 

Can you tell me what settings you have active on the DMS Pro Tools plugin please. Can you also disable it and see if this the problem persists.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
alessandropascoli

Yes, I suppose starting at certain number of iBoxes (at the moment there are 15 iBoxes).

 

DMS serttings:

- site images: none

- layout & nav: percentage, full display mode, no menu selected, area padding 0px

- color & bg: ffffff, 1e1e1e, cd202c, fit image to page, background sizes default

- typography: none (using fonts.com)

- navbar: fixed, base color, menu, align right, hide search

- social: none

- advanced: enable debug (thinking to put it online...)

 

I have disable DMS pro plugin. I was able to modify an iBox with no problem (and firefox same previes as chrome).

Adding a new section area full layout and get a preview iBoxes are going to reset (only the last 3 ones).

So maybe the issue is with section area full layout...

 

Would you like me upload it online? 

Share this post


Link to post
Share on other sites
alessandropascoli

added a new iBox: no problem.

adding a new section area full layotu: iboxes crash.

at the moment there are 21 full layout section areas.

Share this post


Link to post
Share on other sites
James B

I'm wondering if it crashes due to memory being exhausted when the sections are loaded. If you run a memory test via the option in the Pro Tools plugins does it state any memory issues?


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
alessandropascoli

Just got it now: Ram test Results: 240220Kb or approx 235Mb.

At the moment my temporaery solution is just remove sections, but I am not happy...

Share this post


Link to post
Share on other sites

  • Similar Content

    • stijnxo
      By stijnxo+
      Is there a way to disable the responsive function of your iBoxes?
      I do not want all iBoxes underneath each other on mobile, is there a way to fix columns or group boxes?
      I use them for small links and want them to stay next to each other, see attachment
      Please let me know.



    • Audun MB
      By Audun MB+
      I've added a number option (ie the first box has a 1 next to or above, second box has 2, etc) to iBoxes in DMS (as a custom section), and I'd like that for PL5 Boxes as well. Adding it for iBox was quite easy:
      First this: 'opts' => array( 'icon' => array( 'name' => __( 'Icon Font', 'pagelines' ) ), 'count' => array( 'name' => __( 'Counter', 'pagelines' ) ), 'image' => array( 'name' => __( 'Images', 'pagelines' ) ), 'numb' => array( 'name' => __( 'Number', 'pagelines' ) ), 'text' => array( 'name' => __( 'Text Only, No Media', 'pagelines' ) ) And then this } elseif( $media_type == 'numb' ){ $background = ($color) ? sprintf('<span class="invert-icon" style="background-color: %s;"></span>', $color) : ''; $media_html = sprintf( '<i class="iii icon iboks-number" style="%s">%s</i>%s', $text_color, $count, $background ); } And some CSS (though I used the style for icon mostly). iBox already did know which number the box had in the sequence, so adding the number was quite simple. 
      The Boxes code, and PL5 code in general, is a bit mor complex with javascript (with Knockout) and php, and some CSS cheats. It took me a while to figure out how it works, and I'm not sure I quite grasp it yet.
      Adding a number option to the media array is the same as iBox:
      array( 'key' => 'ibox_media', 'type' => 'select', 'opts' => array( 'icon' => array( 'name' => __( 'Icon Font', 'pl-section-boxes' ) ), 'count' => array( 'name' => __( 'Counter', 'pl-section-boxes' ) ), 'boxnumb' => array( 'name' => __( 'Numbering', 'pl-section-boxes' ) ), 'image' => array( 'name' => __( 'Images / SVG', 'pl-section-boxes' ) ), 'text' => array( 'name' => __( 'Text Only, No Media', 'pl-section-boxes' ) ) ), 'default' => 'icon', 'label' => __( 'Select iBox Media Type', 'pl-section-boxes' ), ), In the section template I'll add a line for the boxnumber. In addition I have to add variuous boxnumb classes in the build.less file to make it hidden by default and style it.
      function section_template(){ ?> <script type="text/html" id="boxes-template"> <a class="boxes" data-bind="class: boxclass() + ' pl-col-sm-' + $root.ibox_cols(), plhref: link" > <div class="boxes-pad" data-bind="class: 'pl-control-'+ $root.ibox_format()"> <div class="boxes-media media-left"> <span class="the-boxes-media pl-animation pl-appear" data-bind="class: 'media-'+$root.ibox_media(), style: { color: color, width: $root.image_width() + 'px', opacity: $root.image_opacity}"> <div class="pl-image" data-bind="plbg: image, class: $root.image_format"></div> <span class="pl-counter" data-bind="pltext: count"></span> <span class="pl-boxnumb" data-bind="pltext: ?numbervalue?"></span> <i class="boxes-icon pl-icon" data-bind="class: 'pl-icon-'+icon()"></i> </span> </div> <div class="boxes-text media-right"> <h3 class="boxes-title" data-bind="pltext: title"></h3> <div class="boxes-desc" data-bind="pltext: text"></div> </div> </div> </a> </script> Where I'm stuck is how to get the number to supply to pltext. Since the boxes are numbered in the configuration panel (showing as Item 1, Item 2, ...) I guess there is something in the code that could give me the box number, but what would that be? Finding it in the pure php code of iBox was quite easy, but the Javascript-Knockout.js-PHP code in PL5 isn't that easy to read. 
      I realise that I'm developer terrority now, but I'd appreciate any help. I guess this could be useful for more people if get it to work. Maybe it should be added as a standard option? "X things you need to know" or similar is staple website content and the Boxes section is ideal for that with numbers. On our website the "X things you need to know"-pages is half our traffic. 
    • laka74
      By laka74+
      Dear support,
      I'm having problems using the iBox - can't change anything or delete it ?!
      http://seriousplay.training/
      Best
      regards
      Lasse Kramer
    • Audun MB
      By Audun MB+
      I'd like to have the images in iBox to look different with the following CSS. This works when manipulating the CSS with Inspect element in Chrome, but I can't get it to work as a class. Here's the class:
      .imagecontain {     border-radius: 1px;     background-size: contain;     background-repeat: no-repeat;       } This is from my style.less in the child theme. I applied the class to the iBox with custom class option, though nothing happens. How to fix that? How do I target only the div with the image in with CSS?
    • dchetson
      By dchetson+
      I am trying to edit the text in an iBox but every time I attempt to make the change, it doesn't take. Website is www.chetson.com.
      Thanks!
×