Question
Hello,
I would like to create a digital sign that basically goes through a slide show.
There doesn't appear to be any automated slide progression in the current slideshow modules, so I'm starting to use a
JavaScript script:
http://www.dynamicdrive.com/dynamicindex14/interslide.htm
I want my staff to be able to easily add info, to the slides and so I tried setting up a page that declared variable:
* Set NUMBER_OFSLIDES = 4
* Set SLIDEONE_IMAGE = student.jpg
* Set SLIDEONE_TITLE = New student RA's!
* Set SLIDEONE_BODY = Please visit the website to see the list of new student residence advisers.
* Set SLIDETWO_IMAGE = etc, etc...
(P.S. I know the format is 3spaces asterisk 1space and then the set command)
When I go into the Web Preferences and add:
%INCLUDE{StaffGeneral.DigitalSignData}%
or
%INCLUDE{%StaffGeneral%.DigitalSignData}%
...the variable show up OK on that page, but the variables don't have any value when I try and use them on that web.
If I manually declare the variables in the Web Preferences page it works fine.
Sorry if I'm missing something obvious, but please let me know if I'm doing something wrong.
If you have a better suggestion about how to get the data into the slides using Twiki and a fairly easy input method for users, please let me know.
Environment
--
MontanaQuiring - 07 Mar 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
I found this thread:
http://twiki.org/cgi-bin/view/Support/IncludeFailsForPrefs
So I'll play around with workaround they have listed there but is seems pretty kludgey. Does anyone have any suggestions about how I could get data into the slideshow? Thanks.
--
MontanaQuiring - 07 Mar 2007
You can't INCLUDE other preferences settings into the
WebPreferences. You would need to define them directly in
WebPreferences.
As an idea, an alternative is to use
SpreadSheetPlugin's
$SET() and
$GET() .
--
PeterThoeny - 08 Mar 2007
Hmmm?... I've tried following the advice in the link above and in a topic typed:
%CALC{$SET(ASLIDESHOW_IMAGE1, building01.jpg)}%
When I include that topic in the web preferences it still doesn't work.

Any advice or criticism, please?
--
MontanaQuiring - 08 Mar 2007
Here is an example (view raw to see how this works):
- Set a variable:
- Use the variable:
You can use the variable anywhere you like, also in INCLUDEd topics. Make sure that you set the variable before you use it.
--
PeterThoeny - 08 Mar 2007
I think I was typing up my post while you were typing yours, Peter.
Am I using the
SpeadSheetPlugin incorrectly?
On the Topic that I'm wanting to use the $Get on I've entered: %ALLVARIABLES% into the page but don't see the variable listed. Here's what I've done (just so it's clear):
-the Web for all of these topic are the same.
-I've created a topic called DigitalSignData and in that topic I've entered: %CALC{$SET(ASLIDESHOW_IMAGE1,building01.jpg)}%
-I've entered this: %INCLUDE{%StaffGeneral%/DigitalSignData}% in the web preferences of the Web that topics are in as well as trying it in the Twiki and Main preferences (just to make sure).
-I created a topic called DigitalSignUC and in that topic enter: %CALC{$GET(ASLIDESHOW_IMAGE1)}%
Hold the boat...
If I enter: %INCLUDE{%StaffGeneral%/DigitalSignData}% in the DigitalSignUC topic it works!
It makes me think that the preferences topics will not capture the preferences from topics using %INCLUDE, even when using the %CALC... command.
--
MontanaQuiring - 08 Mar 2007
And again we were typing our responses at the same time.
--
MontanaQuiring - 08 Mar 2007
mmm, not quite 2 months, but i'm going to assume this has been worked out
--
SvenDowideit - 30 Apr 2007