My localhost site didn't seem to have so many tokens, but when I put my site up live, I seemed to get a lot more in my block configuration screens. There are so many that it makes editing almost unusable. It slows me down to a crawl as it tries to scroll the list of tokens. Can we make this collabsible and have it remember the setting? I hardly use this so it only needs to be expanded if I want to change something. Because of the slowness, it can take me a couple of minutes on every block to scroll down to get to all the things I really want to get to down at the bottom of the page. There are over 600 tokens! Most are "comment-subscribed", so I'm not sure which module puts them in there. SOLVED - conflict with the lightbox2 module.

Comments

satan_bot666’s picture

rather than create issues, i would suggest always creating forum posts. experience tells me that Issues don't get a lot of action.

Dave Reid’s picture

Category: bug » support
Status: Active » Postponed (maintainer needs more info)

What module are you using that you get a tokens to use in your block configuration? Maybe they are not using the token help correctly.

satan_bot666’s picture

protip:
"There are over 600 tokens! Most are "comment-subscribed", so I'm not sure which module puts them in there."

Dave Reid’s picture

@satan_bot666: You did NOT answer my question. Core does not put tokens in the block configuration pages - what module is doing so? I want to help try and fix it but you have to answer my question rather than use "protip" and bold freaking font.

Yes there can be a lot of tokens - but they should display nicely in a tree-style listing allowing you to drill-down to find the specific token you need. It should not be overwhelming.

flightrisk’s picture

Um, I assumed since I am posting about the Token module, this was a token feature. I have dozens of modules so I'm not sure if it is another one giving me this capability. Maybe "Image"? I added an image field to my article content type. If I go to manage fields and then click "edit" on the image field, that is another screen that shows hundreds of tokens.

What is "protip"? And if you notice, you are chastising someone who replied to my post, not me. I am not using protip or any special font. Read the user name before opening both barrels ;)

On many of my screens I have a block that allows me to select from a list of tokens to dump into fields. I just realized that the problem is really that my accordion feature is broken. Nothing on my page on HostGator that expands and collapses works. Everything is expanded. So the hundreds of tokens are in reality the same ones, just all expanded. The same problem exists with my FAQ module that should accordion faq entries. On my localhost site, which I simply copied over to the live site, it works fine.

Dave Reid’s picture

Gah, I got confused about the jerk who wasn't helping - my apologies to you. Yeah the problem would definitely be that the token list is not displaying properly for you. Most likely it means there is a JavaScript error happening on your HostGator site but not your local site that prevents the tree table JavaScript from processing and formatting the token list to the collapsed state.

flightrisk’s picture

I tracked it down. The lightbox2 module was causing a conflict with any accordion code. It affected the collapsible token lists in all my field edit screens and my FAQ module questions and answers which I set to expand and collapse. I disabled the module and then re-enabled colorbox since I don't need lightbox2 at the moment due to lack of support. All is working now.

Dave Reid’s picture

Status: Postponed (maintainer needs more info) » Fixed

Excellent - thanks for reporting back.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Disabled the lighbox2 module and all collapsible fields started working again