How do I add a pathfield to each slide in a customized slideshow component?

While I have customized the foundation components in terms of their dialog structure or jsp rendering thus far, I have not delved as deep as editing the .js files which seems to be what would be required to add a pathfield to each slide in a slideshow.
im not sure which files i need to alter and include in some sort of clientlibs folder in the customized slideshow component(or where those files are located by default) and how to alter them to add the pathfield per slide(and make sure that field is saved along with other data when dialog is closed).
Is there anyone out there that could help me with this?  ive gone through the training materials i have and google'd the holy bejeebus out of it but cant really find any answers.
A video of a NKU slideshow component shows kind of what i am trying to do: http://www.youtube.com/watch?v=nkS6KalmiS0

The JS files that you will probably need to modify are these -
/libs/cq/ui/widgets/source/widgets/form/Slideshow.js
/libs/cq/ui/widgets/source/widgets/form/Slideshow/Slide.js
/libs/cq/ui/widgets/source/widgets/form/Slideshow/SlidesPanel.js
/libs/cq/ui/widgets/source/widgets/form/Slideshow/TitlePanel.js
If all you need to do is add a pathfield to the panel, you should be able to do this by modifying the TitlePanel.js. The way I have customized the slideshow component is copy this files to my app directory and change the xtype on the Slideshow.js when registering it.
So your custom component would look something like this -
/apps/mycomponent/slideshow/clientlib/js.txt (for JS libraries)
/apps/mycomponent/slideshow/clientlib/source/Slideshow.js
/apps/mycomponent/slideshow/clientlib/source/Slide.js
/apps/mycomponent/slideshow/clientlib/source/SlidesPanel.js
/apps/mycomponent/slideshow/clientlib/source/TitlePanel.js
/apps/mycomponent/slideshow/myslideshow (your custom slideshow component - dialog/jsp etc)
Your js.txt would look something like this
#base=source
Slideshow.js
Slide.js
SlidesPanel.js
TitlePanel.js
At the very end of your Slideshow.js file, you will register your custom component like so
// register xtype
CQ.Ext.reg('myslideshow', CQ.form.Slider);

Similar Messages

  • I designed my social media buttons. How do I add the link to each one. For example: How do I add my Facebook link to my face book button on my muse site?

    I designed my social media buttons. How do I add the link to each one. For example: How do I add my Facebook link to my facebook button on my muse site?

    Hello,
    Please select the button that you have created and go to hyperlink tab and add the facebook page URL there.
    Please take a look at the screenshot below.
    Regards
    Vivek

  • I am putting together a slide show using iphoto and I wanted to add a description on each slide/photo. How can I do that? Also on the choice of music for the silde show, if the slide show is longer than one song can you chose a different song for backgrou

    I am putting together a slide show using iphoto and I wanted to add a description on each slide/photo. How can I do that? Also on the choice of music for the silde show, if the slide show is longer than one song can you chose a different song for background music?

    This might help
    http://www.apple.com/findouthow/photos/#slideshow
    Regards
    TD

  • I have multiple emails, how do I add different signatures for each email address

    I have multiple emails for different companies I work for, how do I add a different signature for each one, it seems like I have to use the same one for all of them

    Thanks.  I think I'm on the right track.  I added the email address to my contacts and double clicked the image icon to change it, but it only lets me snap a new picture or select an image from another location.  What is the folder location of the stock icons that come with Mac OSX?

  • How can I add a pause after each photo to my flash file?

    How can I add a break to my sequence of photos on a flash file.
    I created a flash with different photos and I want each one to stay on the stay for about a minute before moving away.
    How do I do this? Please help

    //Timers are measured in milliseconds
    var minuteTimer:Timer = new Timer(60000);
    minuteTimer.addEventListener(TimerEvent.TIMER, exchangePhoto);
    function exchangePhoto(e:Event):void{
         //put your code of exchanging your photo here
    //you have to start the timer explicitly, when your app starts
    minuteTimer.start();

  • HT204394 How do i add audio to a single slide, not using soundtrack on ipad? but having new audio for each slide, on the ipad (not mac)?

    How do i add audio to single slide on keynote, not using soundtrack so i can have new sound on each slide controlled by my click? Have ipad so cannpt drag from itunes i dont think.

    Troubleshooting Apple Mail
    What does Mail/Window/Connection Doctor Show? If the server is red, select it and look at the Show Details box.
    Troubleshooting sending and receiving email messages
    Troubleshooting sending email messages

  • How can I add some space between each tab in JTabbedPane?

    I added some tabs in a JTabbedPane and want to add some spaces between each of them. How can I do this?

    There are different questions, aren't they? if you ask how to move a component to the right, and get an answer,
    then ask how to move it lower, it may seem to be a different question,
    but the concept is the same, and the answer would almost certainly
    be the same (with a tweak). Basically you should be smart enough to work
    out how to move it lower for yourself.
    if you don't understand the how concept of my response in the linked post
    relates to this post, then you're in the wrong game.
    to make it easier for you to understand
    set your own UI, overriding calculateTabHeight(..), setting whatever you want
    set your own UI, overriding paintTab(..), setting whatever you want for rects[..].x
    having pointed you to the area where you do this stuff, you should have been
    smart enough to work it out for yourself.
    at some point you will have to take your feet off the desk.

  • How do I add background music to selected slides?

    How can I can add background music to selected slides only? Also, when I add recorded voice to selected slides, the presentation starts from the slide from which the recording started and not from the first one of the presentation. Are there answers to both these questions?

    Gilda,
    The only way to add selected music/voice narration to individual slides is to place the audio files on the individual slides and set a build to Start Audio or Start Movie.
    Music files can either be from your Media Browser Audio or from other files that are in your Finder. Simply drag and drop on the slide. Select the audio object on the slide to assign Satrt Audio/Movie builds.
    To crate Narration Files to be placed on a slide, an easy way to do this is to use your Quicktime Player > File > New Audio Recording > record your voice-over and save it. Then drag it onto your slide and then Build Inspector > Build In > Start Audio/Movie > Open the Options Drawer and set the start to mouse click or automatic.
    Adding an audio file to the entire presentation via the Slide Inspector > Audio Well will make music play across all slides.
    This information and more can be found in the downloadable Keynote '09 User Guide available from your Keynote Help Menu.

  • How can I add sound to a single slide?

    I would like to add sound to a single slide so that it plays while the slide is being shown. Is there a way to do that in Lightroom 5?

    In Lightroom, you would have to create a slideshow using that one slide. Then you would add the sound to the slideshow.

  • How do I add a different title to each slide in a LR3 slideshow?

    This question has been asked, but for some reason I cannot access it.  Thanks!

    John,
    You add a distinct title and/or caption for each photo in the metadata panel and then reference these metadata fields in the slide show with a text field.
    Beat Gossweiler
    Switzerland

  • How can i add a header to each page of my form

    Hi
    Iam creating a form - it was based on one of the templates, however I would like to add a header to the top of each page (it currently only has it on the first page). Can someone please help?
    Many thanks
    Shev

    There isn't a direct way to do this for PDF forms (web forms have the header on every page). For PDF you would have to copy a text/image item at the top of each page yourself.
    Randy

  • How can I add comments to an iPhoto slide show that will appear onscreen?

    I have put together a slide show on iPhoto (6.0.6) and I'd like to have a line of text appear with several of the slides - things like "Beginning our hike - " and "Closing ceremonies". I haven't been able to find anything in the help to describe how to do that - can it be done? Thanks.

    shcram:
    Welcome to the Apple Discussions. There's an AppleScript that will take the contents of the comments field and put them in the Title field so they will display on a slideshow. When you're done you can use the Batch Change menu option to revert the Title to the file names. See my post here for the link to the script: http://discussions.apple.com/thread.jspa?messageID=5400478&#5400478
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • How can we add a field with drop down in a custom table

    Hello,
    I have a requirment in which I have to add a extra field in a custom table.
    Secondly I need to have a drop down with some values in it.
    Can you let me know how can we go about this.

    hi..
    your requirement is not very clear..
    but if you are adding a  field and want drop down with values....... it is possible by providing search help for that field.
    Hope the requirement is same.

  • How do you add a calendar to a slide in Keynote?

    I would like to add a monthly calendar to a Keynote slide. I want to use a month from my Mac calendar. Has anyone done that?

    Make a screen grab of the month you want and drag the image file onto the slide.
    It wont be live of course, Keynote doesn't allow linking from other applications, so you cant add or delete events and it wont update to show the current month.

  • How do I add ADF Faces Core and ADF Faces Html to the component palette?

    I have an already made jspx page which I wish to work further on but I can´t choose ADF components from the component palette.
    in my older version I added these two lines to the <jsp:root> element when I wanted to make ADF components available.
    xmlns:af="http://xmlns.oracle.com/adf/faces"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/html"
    but in Jdeveloper 11g preview 3 these two lines seem to have no effect.
    I tried to see what other jspx pages that contained ADF components in 11g had that my page didn´t and found out that they had the line
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    but when I add this line instead of the other two lines and press install JSP tag library Jdeveloper freezes completely. Can anyone help me get ADF components show up in the component palette in Jdeveloper 11g preview 3?
    Message was edited by:
    AtlanticViking

    Hello,
    Jdeveloper 11g uses Trinidad not ADF Faces 10g, to add it, uses the following:
    1. Double-click your project to access project properties;
    2. Select JSP Tag Libraries;
    3. Click Add;
    4. Trinidad Component 11-m3
    Regards,
    ~ Simon

Maybe you are looking for

  • Saving .ai file outside of the artboard?

    Is there a way to save the whole canvas out to a .pdf and not getting content cut off at the artboards? Or do I have to specifically change the size on each artboard? I have about 400 files that the content exceededs the artboard and I need to print

  • Deleting empty folders

    I am trying to delete an empty folder from Robohelp. I've had this problem before & resolved it following some advice from this forum. The problem this time seems to be a file called ehlpdhtm.js (found in the Baggage folder). The instructions I got b

  • Drive formatted as Mac OS Extended (Journaled)

    Thanks Neil, So I have to buy one? From an apple shop? What is the cost? Is there another way to backup?

  • SP to work in AR Invoice row for Project Code excluding One Document Series

    Hi Experts, I have a SP and its working fine to check wether project code is entered in the row level of the invoice. Now I have 4 document series named 1) Wholesale 2) Trading 3) Manufacturing 4) General I want this this stored procedure should only

  • Where in my hard drive are my "contacts"?

    A recent iPhone sync somehow erased ALL emails and phone numbers from both my computer and my iPhone. I had a very up-to-date 600 person list of contacts in my address book that is necessary for my home business. Where do I find these in my hard driv