Cannot edit presentation HTML

  • 1
  • Problem
  • Updated 3 years ago
  • In Progress
So I have wrestled with this one a few times and now, I just don't know what's going wrong.

Simply, I'm editing a presentation and I want to do some editing on the HTML inside the script area. I can edit above the 'Warning' line, but if I edit anything below, inside the Javascript area, the changes don't remain. Instead they just disappear when I switch to Design view again.  When I go back to the HTML tab again, my edits are gone.

Am I doing something wrong??

-Rick
Photo of Rick Butler

Rick Butler

  • 110 Points 100 badge 2x thumb
  • confused

Posted 3 years ago

  • 1
Photo of Blake Freeman

Blake Freeman, Official Rep

  • 36,116 Points 20k badge 2x thumb
Hi Rick!

As long as the javascript is formed correctly, you should be able to make edits. After you're done editing, hit the save button (floppy disc icon in the top right). Switch to the design tab, then back to the html tab. Your changes should be saved!

Let me know how this works for you.
Photo of Rick Butler

Rick Butler

  • 110 Points 100 badge 2x thumb
Hi Blake:

Thanks for getting back to me.

It did not work as indicated. I am able to change the HTML side of things, but if I change anything inside the script tag, below the <!-- Warning, my change is not retained. It simply goes away when I switch back to Design. I even saved before going back to Design - nothing happened.

Not sure why the code would allow a change in one place and not in another unless the Javascript is only being replicated and I need to make the change elsewhere.

I see that you had gone in to make a change, perhaps to test, but for some reason, I'm not having any joy.

Hope you can help!

-R
Photo of Blake Freeman

Blake Freeman, Official Rep

  • 36,116 Points 20k badge 2x thumb
Rick,

Thanks for the additional info. Could you please paste an example of what you're trying to add? It may be helpful if you just paste the JS you want included here, including modifications. I'll give it a look to make sure it's formed correctly. 
Photo of Rick Butler

Rick Butler

  • 110 Points 100 badge 2x thumb
Hi Blake:

Originally, I had attempted to paste in the code for a placeholder into the presentation from a different presentation, but it didn't take. So, I started to do minor changes, such as a single character (I tried an ID name of a placeholder), and that didn't even take. That's when I mailed.

-R
Photo of Blake Freeman

Blake Freeman, Official Rep

  • 36,116 Points 20k badge 2x thumb
Rick,

Can you provide me with the code here so I can look it over?
Photo of Rick Butler

Rick Butler

  • 110 Points 100 badge 2x thumb
Okay...

Case 1: Change one character within the Java Script:
Change: "id": "suite_nos",
to "id": "suite_num",
as a test. I would think the software should be able to support an insignificant change like that, right? But - it doesn't. It just reverts when I switch from HTML back to Design.

Case 2: What I was originally trying to do was paste the below code snippet into the "placeholders": [ area of a presentation. Rather than having to rebuild a placeholder and all image items by scratch, I just wanted to cut and copy the code in.

But...it won't play.

{
				"id": "landscape1",
				"type": "playlist",
				"timeDefined": "false",
				"startDate": "02/22/15 8:57 PM",
				"endDate": null,
				"startTime": null,
				"endTime": null,
				"recurrenceType": "Daily",
				"recurrenceFrequency": "1",
				"recurrenceAbsolute": "true",
				"recurrenceDayOfWeek": "0",
				"recurrenceDayOfMonth": "0",
				"recurrenceWeekOfMonth": "0",
				"recurrenceMonthOfYear": "0",
				"visibility": "true",
				"transition": "fade",
				"items": [
					{
						"name": "Image Item",
						"duration": "6",
						"type": "image",
						"objectReference": null,
						"index": "0",
						"playUntilDone": "false",
						"objectData": "up_url=http%3A%2F%2Fi.imgur.com%2FtZtEI1h.jpg&up_backgroundColor=&up_scaleToFit=true",
						"additionalParams": null,
						"timeDefined": "false",
						"startDate": "02/28/15 4:01 PM",
						"endDate": null,
						"startTime": null,
						"endTime": null,
						"recurrenceType": "Daily",
						"recurrenceFrequency": "1",
						"recurrenceAbsolute": "true",
						"recurrenceDayOfWeek": "0",
						"recurrenceDayOfMonth": "0",
						"recurrenceWeekOfMonth": "0",
						"recurrenceMonthOfYear": "0"
					},
					{
						"name": "Image Item",
						"duration": "6",
						"type": "image",
						"objectReference": null,
						"index": "1",
						"playUntilDone": "false",
						"objectData": "up_url=http%3A%2F%2Fi.imgur.com%2FCDW8b0G.jpg&up_backgroundColor=&up_scaleToFit=true",
						"additionalParams": null,
						"timeDefined": "false",
						"startDate": "02/28/15 4:02 PM",
						"endDate": null,
						"startTime": null,
						"endTime": null,
						"recurrenceType": "Daily",
						"recurrenceFrequency": "1",
						"recurrenceAbsolute": "true",
						"recurrenceDayOfWeek": "0",
						"recurrenceDayOfMonth": "0",
						"recurrenceWeekOfMonth": "0",
						"recurrenceMonthOfYear": "0"
					},
					{
						"name": "Image Item",
						"duration": "6",
						"type": "image",
						"objectReference": null,
						"index": "2",
						"playUntilDone": "false",
						"objectData": "up_url=http%3A%2F%2Fi.imgur.com%2FGpO0ECt.jpg&up_backgroundColor=&up_scaleToFit=true",
						"additionalParams": null,
						"timeDefined": "false",
						"startDate": "02/28/15 4:02 PM",
						"endDate": null,
						"startTime": null,
						"endTime": null,
						"recurrenceType": "Daily",
						"recurrenceFrequency": "1",
						"recurrenceAbsolute": "true",
						"recurrenceDayOfWeek": "0",
						"recurrenceDayOfMonth": "0",
						"recurrenceWeekOfMonth": "0",
						"recurrenceMonthOfYear": "0"
					},
					{
						"name": "Image Item",
						"duration": "6",
						"type": "image",
						"objectReference": null,
						"index": "3",
						"playUntilDone": "false",
						"objectData": "up_url=http%3A%2F%2Fi.imgur.com%2FQ5QgQJq.jpg&up_backgroundColor=&up_scaleToFit=true",
						"additionalParams": null,
						"timeDefined": "false",
						"startDate": "02/28/15 4:03 PM",
						"endDate": null,
						"startTime": null,
						"endTime": null,
						"recurrenceType": "Daily",
						"recurrenceFrequency": "1",
						"recurrenceAbsolute": "true",
						"recurrenceDayOfWeek": "0",
						"recurrenceDayOfMonth": "0",
						"recurrenceWeekOfMonth": "0",
						"recurrenceMonthOfYear": "0"
					},
					{
						"name": "Image Item",
						"duration": "6",
						"type": "image",
						"objectReference": null,
						"index": "4",
						"playUntilDone": "false",
						"objectData": "up_url=http%3A%2F%2Fi.imgur.com%2FR57p447.jpg&up_backgroundColor=&up_scaleToFit=true",
						"additionalParams": null,
						"timeDefined": "false",
						"startDate": "02/28/15 4:03 PM",
						"endDate": null,
						"startTime": null,
						"endTime": null,
						"recurrenceType": "Daily",
						"recurrenceFrequency": "1",
						"recurrenceAbsolute": "true",
						"recurrenceDayOfWeek": "0",
						"recurrenceDayOfMonth": "0",
						"recurrenceWeekOfMonth": "0",
						"recurrenceMonthOfYear": "0"
					},
					{
						"name": "Image Item",
						"duration": "6",
						"type": "image",
						"objectReference": null,
						"index": "5",
						"playUntilDone": "false",
						"objectData": "up_url=http%3A%2F%2Fi.imgur.com%2FEq44HSW.jpg&up_backgroundColor=&up_scaleToFit=true",
						"additionalParams": null,
						"timeDefined": "false",
						"startDate": "02/28/15 4:03 PM",
						"endDate": null,
						"startTime": null,
						"endTime": null,
						"recurrenceType": "Daily",
						"recurrenceFrequency": "1",
						"recurrenceAbsolute": "true",
						"recurrenceDayOfWeek": "0",
						"recurrenceDayOfMonth": "0",
						"recurrenceWeekOfMonth": "0",
						"recurrenceMonthOfYear": "0"
					},
					{
						"name": "Image Item",
						"duration": "6",
						"type": "image",
						"objectReference": null,
						"index": "6",
						"playUntilDone": "false",
						"objectData": "up_url=http%3A%2F%2Fi.imgur.com%2FYz8YoEt.jpg&up_backgroundColor=&up_scaleToFit=true",
						"additionalParams": null,
						"timeDefined": "false",
						"startDate": "02/28/15 4:14 PM",
						"endDate": null,
						"startTime": null,
						"endTime": null,
						"recurrenceType": "Daily",
						"recurrenceFrequency": "1",
						"recurrenceAbsolute": "true",
						"recurrenceDayOfWeek": "0",
						"recurrenceDayOfMonth": "0",
						"recurrenceWeekOfMonth": "0",
						"recurrenceMonthOfYear": "0"
					},
					{
						"name": "Image Item",
						"duration": "6",
						"type": "image",
						"objectReference": null,
						"index": "7",
						"playUntilDone": "false",
						"objectData": "up_url=http%3A%2F%2Fi.imgur.com%2FgGKF04s.jpg&up_backgroundColor=&up_scaleToFit=true",
						"additionalParams": null,
						"timeDefined": "false",
						"startDate": "02/28/15 4:16 PM",
						"endDate": null,
						"startTime": null,
						"endTime": null,
						"recurrenceType": "Daily",
						"recurrenceFrequency": "1",
						"recurrenceAbsolute": "true",
						"recurrenceDayOfWeek": "0",
						"recurrenceDayOfMonth": "0",
						"recurrenceWeekOfMonth": "0",
						"recurrenceMonthOfYear": "0"
					},
					{
						"name": "Image Item",
						"duration": "6",
						"type": "image",
						"objectReference": null,
						"index": "8",
						"playUntilDone": "false",
						"objectData": "up_url=http%3A%2F%2Fi.imgur.com%2Faby6HmV.jpg&up_backgroundColor=&up_scaleToFit=true",
						"additionalParams": null,
						"timeDefined": "false",
						"startDate": "02/28/15 4:17 PM",
						"endDate": null,
						"startTime": null,
						"endTime": null,
						"recurrenceType": "Daily",
						"recurrenceFrequency": "1",
						"recurrenceAbsolute": "true",
						"recurrenceDayOfWeek": "0",
						"recurrenceDayOfMonth": "0",
						"recurrenceWeekOfMonth": "0",
						"recurrenceMonthOfYear": "0"
					},
					{
						"name": "Image Item",
						"duration": "6",
						"type": "image",
						"objectReference": null,
						"index": "9",
						"playUntilDone": "false",
						"objectData": "up_url=http%3A%2F%2Fi.imgur.com%2F0asHU8f.jpg&up_backgroundColor=&up_scaleToFit=true",
						"additionalParams": null,
						"timeDefined": "false",
						"startDate": null,
						"endDate": null,
						"startTime": null,
						"endTime": null,
						"recurrenceType": "Daily",
						"recurrenceFrequency": "1",
						"recurrenceAbsolute": "true",
						"recurrenceDayOfWeek": "0",
						"recurrenceDayOfMonth": "1",
						"recurrenceWeekOfMonth": "0",
						"recurrenceMonthOfYear": "0"
					}
				]
			},
Photo of Alan Clayton

Alan Clayton, Official Rep

  • 8,788 Points 5k badge 2x thumb
Hi Rick, are you using Widgets other than Image Item in your Presentation? 
Photo of Rick Butler

Rick Butler

  • 110 Points 100 badge 2x thumb
I'm not using any Widgets. Just Image items. Very basic configuration.
Photo of Alan Clayton

Alan Clayton, Official Rep

  • 8,788 Points 5k badge 2x thumb
Given you are only showing images, why not just build your Presentation in straight HTML? You can then host the HTML on Rise Storage or wherever you prefer. Once you have the HTML hosted, you can run it on a Display by adding a URL item to your Schedule!

Here are a few examples of some pages we've built

To add a URL to your Schedule
  1. From the Schedule, select "Add". The Content window will appear.
  2. On the Content window, select the URL radio button
  3. Enter the url to your HTML page in the URL field
  4. Save