Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
The place for more technical questions for those who want to create new pagetypes or bespoke functionality.
  • Page:
  • 1

TOPIC:

Custom Canvas output on Opinion page? 3 years 11 months ago #7155

  • rightsideup
  • rightsideup's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 7
  • Thank you received: 0
Could anybody give me any pointers as to how I would customise the Canvas outut diagram on the opinion page type?

For instance, on the above, rather than the 10-100 scale, to use a disagree - agree type scale. I'd also like to be able to customise the size of the 'Question 1' etc titles.

Any advice would be most welcome.
Attachments:

Please Log in or Create an account to join the conversation.

Custom Canvas output on Opinion page? 3 years 11 months ago #7172

  • JohnSmith
  • JohnSmith's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 397
  • Thank you received: 71
Hi,

You really have two options:

Either you would need to make changes (the easier way) to this file (github.com/thexerteproject/xerteonlineto...s_html5/opinion.html) and drop it into place inside your install in the correct place, /modules/xerte/parent_templates/Nottingham/models_html5/

Or you would need to add javascript to modify the page type in situ in an unaltered installation - this would be a LOT HARDER but if you are very good with JS then it is definitely possible

Either way though would require quite a bit of rewrite or code addition to do what you wish...

Regards,

John
The following user(s) said Thank You: rightsideup

Please Log in or Create an account to join the conversation.

Custom Canvas output on Opinion page? 3 years 11 months ago #7173

  • rightsideup
  • rightsideup's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 7
  • Thank you received: 0
Thanks for the pointers John, I think I'm going to try and make a new page type using the Opinion one as a starter and following your advice - my JavaScript is not up to the other option!

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Moderators: JohnSmith
Time to create page: 0.091 seconds
Copyright © 2024 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search