Page 1 of 1

ListIt2 missing columns in admin

Posted: Tue Apr 29, 2014 11:13 pm
by paulbaker
I have 4 instances of ListIt2 on a 1.11.10 website.

In the admin, when you go to any of the 4 instances to edit them, there is a column labelled Item as normal but nothing else. The alias column and the active, copy, edit, delete and select box are missing.

See screenshot:
missing.jpg
In the HTML code of this admin page I can see the code for the missing columns, but they do not show.

I tried Extensions -> ListIt2 -> Maintenance -> Repair button, no change. I have cleared cache, no change.

Front end for all 4 instances works perfectly.

ListIt2 instance admin area on another site shows fine on the same browser so I don't think it's a browser issue.

Nothing showing in Module Manager -> Available Upgrades.

What have I done wrong? :-[

----------------------------------------------
Cms Version: 1.11.10
Installed Modules:
CMSMailer: 5.2.2
CMSPrinting: 1.0.5
FileManager: 1.4.4
MenuManager: 1.8.6
MicroTiny: 1.2.6
ModuleManager: 1.5.5
News: 2.14.2
Search: 1.7.11
ThemeManager: 1.1.8
Archiver: 0.2.6
AdvancedContent: 0.9.4.3
SEOTools2: 1.2.1
Showtime: 3.4
ListIt2: 1.4.1
ListIt2Portfolio: 1.4.1
CGExtensions: 1.38.7
CGSimpleSmarty: 1.7.2
CGBlog: 1.12.1
Gallery: 1.6.1
FormBuilder: 0.7.3
ListIt2Links: 1.4.1
Notifications: 1.1
ListIt2Quotes: 1.4.1
JQueryTools: 1.2.6
SiteMapMadeSimple: 1.2.8
ListIt2HomePageSlider: 1.4.1

Config Information:
php_memory_limit:
process_whole_template:
max_upload_size: 32000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true

Php Information:
phpversion: 5.4.21
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 128M
max_execution_time: 120
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 32M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)

Server Information:
Server Api: cgi-fcgi
Server Db Type: MySQL (mysqli)
Server Db Version: 5.1.73
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Server Time Diff: No filesystem time difference found

----------------------------------------------

Re: ListIt2 missing columns in admin

Posted: Wed Apr 30, 2014 10:08 am
by Stikki
You lost em. Interesting.

Hit CTRL+F5, might be JS issue, especially if you upgraded to 1.4.1 recently.

it might be also footable jquery plugin we are using there to gain reasonable views for mobile devices. but can't see why it would do so.

So no idea, lemme know when you solve it, thanks

Re: ListIt2 missing columns in admin

Posted: Wed Apr 30, 2014 9:36 pm
by Dr.CSS
What screen size is that, also have you tried the other admin theme..?

Re: ListIt2 missing columns in admin

Posted: Thu May 01, 2014 9:36 am
by paulbaker
Thanks for the replies Stikki and Dr.CSS.

Screen size: about 1000px, more than enough to show these elements in the same browser on the other site I mentioned (which, I now realise is running ListIt2 1.4 rather than 1.4.1 on the site which doesn't show the elements).

I prefer OneEleven theme, but I tried NCleanGrey and in this theme the Chrome browser does show the elements, so there is a work around if ever I need them.

I made sure Chrome was updated (it was waiting for a restart which I did). I cleared the browser cache and I restarted my machine. No difference.

I also tried Firefox (latest version, 29, on both Windows XP and Vista) and the elements don't show in that either.

So, to wrap up:

ListIt2 1.4 OneEleven theme
Shows in all browsers I tested

ListIt2 1.4.1 OneEleven theme
Does not show the elements in either Firefox or Chrome

ListIt2 1.4.1 NCleanGrey theme
Shows in all browsers I tested

Re: ListIt2 missing columns in admin

Posted: Thu May 01, 2014 9:44 am
by paulbaker
One other thing, I started work on this site in early March and I see ListIt2 1.4.1 was released in February, so I must have downloaded and installed 1.4.1 rather than it being an upgrade from 1.4.

Re: ListIt2 missing columns in admin

Posted: Thu May 01, 2014 10:08 am
by velden
As you say the elements are actually in the source of the page. You could use a web inspector to determine why it's not visible.

I recently posted a CMS Showoff topic (you replied) with some screenshots of LI2 1.4.1 in Firefox 28.

I made a new screenshot from Firefox 29, less width:
paul_li2.jpg
As you can see it displays plus-signs in front of the rows. When clicked those expand a row and show the extra options.

Re: ListIt2 missing columns in admin

Posted: Thu May 01, 2014 10:33 am
by paulbaker
Thanks velden. That got me looking further.

Here is the HTML of the active/inactive tickbox, one of the elements that doesn't show. I took this straight from Chrome view page source:

Code: Select all

<td class="init-ajax-toggle approve-item"><a href="http://www.example.com/admin/moduleinterface.php?mact=ListIt2Portfolio,m1_,admin_approveitem,0&_sx_=78b789613ad86c95&m1_approve=&m1_item_id=1"><img src="themes/OneEleven/images/icons/system/true.gif" class="systemicon" alt="Set Status to 'Inactive'" title="Set Status to 'Inactive'" /></a></td>
However, when I look at the same element in the code inspector, I see a "display: none;" for that and all the other elements that are not showing:
displaynone.jpg
So something (jQuery?) is adding the "display: none;" after the page has loaded. ???

Re: ListIt2 missing columns in admin

Posted: Fri May 02, 2014 9:18 am
by reinhardmohr
Hi,
to make things even more complicated (or to provide some more information):
I have two instances of ListIt2 on a website with CMSms 1.11.10 – and they show different behaviors:
• As long as the browser window is very wide both instances show all columns.
• When I reduce the window size one of the instances still shows the columns for the items/fields but hides the columns for active, copy, edit, delete and select box AND shows the plus signs.
• The other instance (the one I installed first) still shows the columns for the items/fields but hides the columns for active, copy, edit, delete and select box BUT DOES NOT SHOW the plus signs.
I‘m on a mac and I have tried this with Safari, Chrome and Firefox with the same results.

By the way: ListIt2 is a great module – thanks for making it.

Reinhard

Re: ListIt2 missing columns in admin

Posted: Fri May 02, 2014 9:48 am
by Stikki
Hey, Ups, uniqu3's fault.

So footable jQuery plugin we are using there to gain responsive effect relies on alias column to be visible. If one hides alias column jQuery plugin stops working.

We didn't notice this before now, Will be fixed with in 2.0 compability release.

Re: ListIt2 missing columns in admin

Posted: Fri May 02, 2014 9:50 am
by uniqu3
Stikki wrote:Hey, Ups, uniqu3's fault.
You could of done better job testing ;) so equal fault, lammer :)

Re: ListIt2 missing columns in admin

Posted: Fri May 02, 2014 10:08 am
by reinhardmohr
Oh, I hope I did not cause any serious friction between the developers? ;)

I just checked my instances: In the instance that worked properly there was no column for the alias – but a column for a custom field and one for the creation date.
The second instance only had a column for a custom field. So I added the column for the creation date to the other instance – now it shows the plus sign, too.

As far as I would conclude now: There has to be a column with any standard field – non only a custom field. Then it seems to work.

Thanks a lot for helping

Reinhard

Re: ListIt2 missing columns in admin

Posted: Fri May 02, 2014 10:47 am
by paulbaker
Stikki wrote:So footable jQuery plugin we are using there to gain responsive effect relies on alias column to be visible. If one hides alias column jQuery plugin stops working.
Ah, I see now! I don't recall specifically hiding the alias column on any of the instances. But now I see that when I go to Content -> ListIt2Instance -> Options -> "Display these fields in item overview" and select alias then the tick boxes come back - sort of. As reinhardmohr says, you get a + sign which expands to show the active, copy, edit, delete and select box. This + sign appears however wide or narrow your screen is.

Happy to add a bug report if required - let me know.

And Stikki, thanks for your support with this extremely flexible and very useful module!

Re: ListIt2 missing columns in admin

Posted: Fri May 02, 2014 11:05 am
by uniqu3
This is due to preset plugin breakpoints, seems like you have your browser screen size set to smaller than 1340px (from what i just tested), even though it seems more like a bad logic in jquery plugin itself as breakpoints are set for phone to 480px and tablet 1024px, all fine, BUT these breakpoints apply only to size of table and not actual inner window.

Re: ListIt2 missing columns in admin

Posted: Fri May 02, 2014 11:17 am
by paulbaker
Thanks uniqu3, my screen size (and so maximum browser size) is 1280px.