Announcement

Collapse
No announcement yet.

Fragments Question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Fragments Question

    Is it possible with Fragments to get just the Title of the Fragment to appear in a product description and then have the title as a link which then reveals the fragment text?

    Really like what they have on this site:
    http://www.avea.co.uk/aveashop/shampoo/gingko.htm

    and wondered if something similar would be possible using fragments for Information, Directions, Ingredients etc.

    TIA

    Kathy
    Kathy Newman

    #2
    Hi Kathy,

    To do this you would have to create a brochure page or a section with the relevant fragments (I would suggest using brochure pages as it is easier to stop these pages from appearing in the navigation if you want to hide them). If you only want one link to a fragment per product, then you can use the 'Advanced Link' option on a product (under the 'Links' tab) and put the 'URL' to the brochure page/section.

    If you want more than one link then you would have to hard-code the links into the product description by using:

    !!<
    <a href="pagename.html">click here</a><br>
    <a href="pagename.html">click here</a>
    >!!

    Obviously change 'pagename' to the name of the page you want it to go to and change 'click here' to the text you want to appear as the link.

    To make sure that the brochure pages do not appear in the navigation list you need to:

    - go to the 'Design' menu and select 'Library'
    - on the 'Layouts' tab, expand the 'Brochure Page Links' group (click on the '+')
    - right-click on the 'Standard Brochure Page Link' layout and select 'copy'
    - you can then rename the copy layout to something like 'Blank Brochure Page Link'
    - double-click on this new layout and delete all the contents
    - click 'OK'
    - then still in the library, double-click on the 'BrochurePageLink' selector (with the round, pink icon)
    - tick 'Brochure' in the 'Place of Setting' and click 'OK'
    - you can then choose the layout for the 'Brochure Page Links' for each brochure page, so the ones you don't want appearing in the navigation, choose the 'blank' layout.

    I hope this helps.
    ********************
    Tracey
    SellerDeck

    Comment


      #3
      Thanks Tracey that's very helpful - however is there anyway you can get the fragment to appear on the same page below the fragment heading as per the example - ideally what would like is:

      Directions Ingredients Certificate (as clickable links)

      Where this bit of text is the directions for the product and is always on the page until you click Ingredients and then this text changes to the Ingredients etc, etc

      Think this probably isn't possible but thought worth asking!

      Kathy
      Kathy Newman

      Comment


        #4
        not 100% sure if you want a panel that changes according to which "tab" you click on,
        I think? it may be something like this

        if it is, then sure, it can be done within actinic, it takes a while to do it, you need to play a few tricks etc, and it will be done using various fragments and custom-variables

        the actual tab is css-driven so you can style it any way you want (including borders or not, and with a little bt more work, the main panel can be hidden and "fly-out/down" when you click on the main tab.

        and please remember, this is a demo, its primitive and functional, not pretty and finished

        One concern I would have is trying to print out the information contained within the panels, but again with css media="print" commands, I'm sure it can be changed to print ALL of the panels.

        Please don't get me wrong, there is a "little bit of work here" - its NOT just a 5 minute job.

        Comment


          #5
          a better example might be http://jon.hedley.net/html-tabbed-dialog-widget

          Comment


            #6
            Thanks that looks exactly what I'm looking for - guess what I'm going to be doing tomorrow!!

            Kathy
            Kathy Newman

            Comment


              #7
              have fun with your weekend's worth of relaxation

              Comment


                #8
                Hi

                I'm trying to suppress some of the brochure page links from the nav bar and have followed Tracy's instructions.

                To make sure that the brochure pages do not appear in the navigation list you need to:

                - go to the 'Design' menu and select 'Library'
                - on the 'Layouts' tab, expand the 'Brochure Page Links' group (click on the '+')
                - right-click on the 'Standard Brochure Page Link' layout and select 'copy'
                - you can then rename the copy layout to something like 'Blank Brochure Page Link'
                - double-click on this new layout and delete all the contents
                - click 'OK'
                - then still in the library, double-click on the 'BrochurePageLink' selector (with the round, pink icon)
                - tick 'Brochure' in the 'Place of Setting' and click 'OK'
                - you can then choose the layout for the 'Brochure Page Links' for each brochure page, so the ones you don't want appearing in the navigation, choose the 'blank' layout.
                This all went well until the last step

                you can then choose the layout for the 'Brochure Page Links' for each brochure page, so the ones you don't want appearing in the navigation, choose the 'blank' layout.
                I can't see the Brochure Page Links option anywhere on the brochure page. Can anyone help please? Am I looking for it in the right place?

                Thanks in advance

                Comment


                  #9
                  oops!! Sorry..found it. I was looking under the layout tab - the option is under the general tab. Panic over.

                  Comment


                    #10
                    I've followed Tracey's instructions, but they've made no difference. The Brochure link still get shown. So I created a variable ShowLinkInNavbar in the Brochure group with the 'Type' field set to 'True/False'. When I set the field to false, it suppresses all the brochure links and not just the one set to False.

                    I'd like it so that I can display the links of some brochure pages and not others. I'd really appreciate it if someone could tell me what I'm doing wrong.

                    Thanks in advance

                    Comment


                      #11
                      I would suggest taking a look at the latest Advanced Users guide. Look for "Stopping Specific Brochure Pages from Appearing in the List".

                      Perhaps you need to do
                      "9. Leave the 'Top Level Value' and 'Initial Value' to 'True' if you want all pages shown by default. Set them both to 'False' if you don't."
                      Kind regards,
                      Bruce King
                      SellerDeck

                      Comment


                        #12
                        Originally posted by Bruce
                        I would suggest taking a look at the latest Advanced Users guide. Look for "Stopping Specific Brochure Pages from Appearing in the List".
                        Bruce
                        Thanks for getting back. I've already tried this but it doesn't seem to do what I want.

                        Originally posted by SpikyMikey
                        When I set the field to false, it suppresses all the brochure links and not just the one set to False.
                        The only thing that I can think is different from the AUG iunstructions is this:
                        11. Go to the 'Design' tab and in the preview pane click on one of the brochure pages in your list. You should now be looking at a layout called something like 'Simple Brochure Page Link' or ' Standard Brochure Page Link' etc.

                        I dont seem to have either of the above layouts in design. The layout I'm looking at in design is Standard Brochure Page Bulk - would this affect the display/suppression of the brochure pages?

                        Thanks once again for your help. I hope I can get to the bottom of this soon.


                        Kind regards

                        Michael

                        Comment


                          #13
                          Kathy,

                          I've done an add on "Tabber" that makes it very easy to do the layout you're looking for. Details on www.drillpine.biz/actinicstuff/ and a demo on www.drillpine.biz/v8norlist/acatalog/Books.html
                          Norman - www.drillpine.biz
                          Edinburgh, U K / Bitez, Turkey

                          Comment


                            #14
                            Ok... re-did all the instruction in AUG and I managed to get it to work. Thanks for your help Bruce, much appreciated.

                            Comment

                            Working...
                            X