Announcement

Collapse
No announcement yet.

code showing in lightbox images

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

    #16
    Make sure the place of setting is "Product" and the Panel Name "Marketing".

    Type = "Text" and check the "Allow empty value" box

    Army Gore-tex
    Winter Climbing Mitts
    webD's Blog: Website design, SEO and other ramblings…
    Twitter LinkedIN

    If you think a post is good, rate it!

    Find the answers in the Knowledge Base | Have you read the User Guides

    Comment


      #17
      yep done that . . . .

      Comment


        #18
        Okay, click on the design tab in actinic, so that you can see the page code

        Army Gore-tex
        Winter Climbing Mitts
        webD's Blog: Website design, SEO and other ramblings…
        Twitter LinkedIN

        If you think a post is good, rate it!

        Find the answers in the Knowledge Base | Have you read the User Guides

        Comment


          #19
          can't get to it yet the buttons greyed out as though i've not finished yet . . . . have i missed something?

          Comment


            #20
            Ignore my last post LOL.

            Put "Discount:" in to the Top Level Field and make sure initial value is Use Parent

            Army Gore-tex
            Winter Climbing Mitts
            webD's Blog: Website design, SEO and other ramblings…
            Twitter LinkedIN

            If you think a post is good, rate it!

            Find the answers in the Knowledge Base | Have you read the User Guides

            Comment


              #21
              ah . . . there's nothing in 'prompt' and if i put anything in there the ok button comes live

              Comment


                #22
                still greyed out after doing what you said above . . .

                Comment


                  #23
                  Originally posted by trafford View Post
                  ah . . . there's nothing in 'prompt' and if i put anything in there the ok button comes live
                  Ah okay, well spotted

                  Army Gore-tex
                  Winter Climbing Mitts
                  webD's Blog: Website design, SEO and other ramblings…
                  Twitter LinkedIN

                  If you think a post is good, rate it!

                  Find the answers in the Knowledge Base | Have you read the User Guides

                  Comment


                    #24
                    Rich i'll have to come back to this on monday, i've got to go and cash up lol . . . . no rest in this place i tell ya . . . . .

                    i'll look the thread up monday and have another stab at it, thanks for the idea even if i didn't get it working just yet lol

                    Comment


                      #25
                      or post me the rest . . . . it was trial and error finding that prompt livened that button up lol

                      Comment


                        #26
                        No Problem

                        Army Gore-tex
                        Winter Climbing Mitts
                        webD's Blog: Website design, SEO and other ramblings…
                        Twitter LinkedIN

                        If you think a post is good, rate it!

                        Find the answers in the Knowledge Base | Have you read the User Guides

                        Comment


                          #27
                          Okay, this tutorial starts from the very begining. Including the creation of a variable:

                          Create a new variable:

                          Design | Library | Variables |Right click new



                          Enter the following parameters:

                          Name: SpecialOfferText

                          Promt: Special Offer Text

                          Groups: Product

                          Place of Setting: Product

                          Panel Name: Marketing

                          Type: Text

                          Allow Empty Text: Checked




                          Press okay and close the Library.

                          Go to any product and navigate to the “Marketing” panel. You should find the variable and text field you just created.

                          Enter some text “sample text” for example and apply the changes.

                          Now, go to the “Design Tab”:



                          Make sure you can see the Layout code:




                          In the preview pane click on the product title. The code screen should be populated with something similar to this (depending on your product layout):



                          Underneath the ProductName variable insert this code:

                          Code:
                          <div class=”product-offer”>SpecialOfferText</div>
                          As you type “SpecialOfferText” actinic will self complete the variable for you:



                          Select that line of code and click on the green block button:



                          Enter the condition:



                          Apply the changes.

                          Right click on the “product” class on the ProductName line of code and click on “Look up in the stylesheet”

                          Copy the “product” style. It will look something like:
                          Code:
                          h2.product	{
                          	font-size: "ExtraLargeFontSize";
                          	font-weight: 900;
                          	margin: 0px;
                          	padding: 0px 0px 6px 0px;
                          	color: Palette2;
                          	line-height:105%;
                          	}
                          Paste it straight after the “}” and change the code to this:

                          Code:
                          .product-offer	{
                          	font-size: "ExtraLargeFontSize";
                          	font-weight: 900;
                          	margin: 0px;
                          	padding: 0px 0px 6px 0px;
                          	color: #0000FF;
                          	line-height:105%;
                          	}
                          Apply the changes and click “OK” to close the stylesheet. You should now see your sample text beneath the product title in blue.

                          Army Gore-tex
                          Winter Climbing Mitts
                          webD's Blog: Website design, SEO and other ramblings…
                          Twitter LinkedIN

                          If you think a post is good, rate it!

                          Find the answers in the Knowledge Base | Have you read the User Guides

                          Comment


                            #28
                            Hey - great tute Rich!
                            I always forget the various steps when doing this, so I've bookmarked this for reference - thanks
                            Kind Regards
                            Sean Williams

                            Calamander Ltd

                            Comment


                              #29
                              Thanks Sean, I think the steps have been documented, in part, before, but I thought for clarity posting it here was the correct repsonse.

                              Army Gore-tex
                              Winter Climbing Mitts
                              webD's Blog: Website design, SEO and other ramblings…
                              Twitter LinkedIN

                              If you think a post is good, rate it!

                              Find the answers in the Knowledge Base | Have you read the User Guides

                              Comment


                                #30
                                Dave, I wonder if you would mind if we changed the title of the thread to something along the lines of "Creating and Inserting a New Variable at Product Level"?

                                Army Gore-tex
                                Winter Climbing Mitts
                                webD's Blog: Website design, SEO and other ramblings…
                                Twitter LinkedIN

                                If you think a post is good, rate it!

                                Find the answers in the Knowledge Base | Have you read the User Guides

                                Comment

                                Working...
                                X