Problem with \'List view: Preview item on hover\'

Forums SPJS-Utility Problem with \'List view: Preview item on hover\'

Viewing 5 reply threads
  • Author
    Posts
    • #12612
      Thomas Lefebure
      Participant

      Hey people,

      Im trying to use the solution “List view: Preview item on hover”
      …on a list in our SharePoint 2010 Foundation. So I’m using the 2010 solution and I’m currently stuck with the error:
      You are loading the configuration from the code, but the variable spjs_listItemPreviewConfig is missing.

      That part of the code suggests that I start using the SharePoint 2007 setup, but using that for SP 2010 doesnt make any sense to me. How should I interpret this?

      Hope to hear from you! Pls let me know if I should post anything else.
      Thomas

    • #12624
      Alexander Bautz
      Keymaster

      Hi,
      When the config is written in the description you are not supposed to use the variable. Remove the first two lines, and the last one and it should most likely work.

      Also the “Formula” should read configindescription=’1′ and not ‘2’.

      Let me know how this works out.

      Alexander

    • #12630
      Thomas Lefebure
      Participant

      Hey Alexander,

      Tnx for the quick reply. I adjusted the code in the description and changed the configdescription from 2 to 1. However the error remains the same, does that make sense?

      Kind Regards,
      Thomas

    • #12674
      Alexander Bautz
      Keymaster

      It’s hard to tell without looking at it, but if you bring up the developer console (hit F12 > Console) – do you see any errors there?

      Also, have you tried putting the code in a CEWP in the page instead of in the description of the field to see if this performs better?

      Alexander

    • #14131
      Thomas Lefebure
      Participant

      Alex,

      Been a long time. Lots of other stuff to do. Now again some time to try and make this work. Hope you too can find some time to take a look at it.

      I’ve added screenshots. Again of the code inside the Preview-field. Changed it according your advice. Sadly Chrome gives no errors in the console and the original error about the missing spjs_ListItemPreviewConfig remains.

      Ciao
      Thomas

    • #14188
      Alexander Bautz
      Keymaster

      Please try the setup option where you don’t have the config in the field description textarea. You should find info in the original article.

      Alexander

Viewing 5 reply threads
  • You must be logged in to reply to this topic.