Announcement

Collapse
No announcement yet.

"Section Image, Title and Text" to show on page they link to ?

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

    "Section Image, Title and Text" to show on page they link to ?

    How do i get "Section Image, Title and Text" to show on the page they link to ?

    Example If I have a section with the following;

    Section 1,
    Image 1,
    Title 1,
    Text 1,

    when i click on this LINK, the page called 'Section 1.html' opens, and contains the above elements as a kind of header.

    I think I am looking at

    NETQUOTEVAR:IMAGEFILE
    NETQUOTEVAR:SECTIONIMAGE
    NETQUOTEVAR:SECTIONNAME
    NETQUOTEVAR:SECTIONTEXT

    but will this conflict with sub-section links on the page 'Section 1.html'

    Also, i assume due to the template nature of Actinic that his function will happen on every page beginning with the Catalogue page right down through the sections and subsections, as I will be modifying Act_Primary.html ?

    I only assume this, and would therefore want to know what the Catalogue page would look for from these variables?

    Any help appreciated, Simon.
    esafetysigns.co.uk
    your instant download portal for self printable health and safety signs and posters
    ... download once use as many times as you like !


    http://www.esafetysigns.co.uk/index.html
    http://www.esafetysigns.co.uk/acatalog/index.html

    #2
    No replies !

    Hi folks, any help on this one out there ?

    Cheers, Simon.
    esafetysigns.co.uk
    your instant download portal for self printable health and safety signs and posters
    ... download once use as many times as you like !


    http://www.esafetysigns.co.uk/index.html
    http://www.esafetysigns.co.uk/acatalog/index.html

    Comment


      #3
      I added the four NQVs into a template and tried it. The image and section text displayed fine. The sectionname and imagefile code appeared on the page - which indicates they were out of scope.

      Perhaps if you can explain why you want this info to appear on the page, someone can suggest an efficient way of doing it.

      To control where the effect appears, you would save the Act_Primary.html to another name, and select that alternate file as the overall layout for the pages where you want the effect.
      Bill
      www.egyptianwonders.co.uk
      Text directoryWorldwide Actinic(TM) shops
      BC Ness Solutions Support services, custom software
      Registered Microsoft™ Partner (ISV)
      VoIP UK: 0131 208 0605
      Located: Alexandria, EGYPT

      Comment


        #4
        Schematic of the idea attached ...

        I have attached a schematic of the idea that hopefully explains my logic.

        Also you said,

        To control where the effect appears, you would save the Act_Primary.html to another name, and select that alternate file as the overall layout for the pages where you want the effect.
        So does this mean that in Actinic I select;
        Layout > Overall Layout > and then what ?

        Do I have to save and create a template called something like 'MySectionLayout' ? How do you do this ? And then select this ?

        Cheers, Simon.
        Attached Files
        esafetysigns.co.uk
        your instant download portal for self printable health and safety signs and posters
        ... download once use as many times as you like !


        http://www.esafetysigns.co.uk/index.html
        http://www.esafetysigns.co.uk/acatalog/index.html

        Comment


          #5
          Within Actinic, click view | toolbars and enable the preview toolbar. Select the small preview version.

          Now select a section page in the left contents tree and then select layout tab in the top right. Normally the overall layout box will read 'Use Parent'. Click the select button and then browse - look for and choose Act_Primary.html as the layout. Then click the edit button. This will open the template text file in notepad or the html editor you have specified. In Notepad, click file - save as and change the name to something like Act_myPrimary.html change file type to all files and click save.

          Back in Actinic, click the select button again then browse and look for the file you have just created and click that. Now you can edit and save as much as you need to, and you can always return to the original layout by selecting 'Use Parent' from the Select button dropdown list.

          NQV:SECTIONIMAGE and NQV:SECTIONTEXT are working so all you are looking for is a way to show the section name. Try NETQUOTEVAR:PAGEHEADER.
          Bill
          www.egyptianwonders.co.uk
          Text directoryWorldwide Actinic(TM) shops
          BC Ness Solutions Support services, custom software
          Registered Microsoft™ Partner (ISV)
          VoIP UK: 0131 208 0605
          Located: Alexandria, EGYPT

          Comment


            #6
            This works, but can i keep the backward LINKS ?

            Bill,

            This works pretty much as required, and created Act_Primary2.html that includes,

            NETQUOTEVAR:SECTIONIMAGE
            NETQUOTEVAR:PAGEHEADER
            NETQUOTEVAR:SECTIONTEXT


            2 things to tweek this a bit.

            #1 I am tempted to use a second image, so if I create a custom variable for the Sections, called "Image2".

            Is the new CODE

            CUSTOMVAR:Image2
            NETQUOTEVAR:PAGEHEADER
            NETQUOTEVAR:SECTIONTEXT


            #2 The LINK's from these do not work. Which may be a bit of tough luck, but is there a way of getting the links to work, giving me a sort of backward navigation.

            At the moment the LINK from the image, for example, is 'NETQUOTEVAR:SECTIONLINK'.

            As opposed to some code created as a result of Actinic using this variable to identify a page.


            Any thoughts, Simon ?
            esafetysigns.co.uk
            your instant download portal for self printable health and safety signs and posters
            ... download once use as many times as you like !


            http://www.esafetysigns.co.uk/index.html
            http://www.esafetysigns.co.uk/acatalog/index.html

            Comment


              #7
              Actinic will automatically capitalise the customvar name so it will be CUSTOMVAR:IMAGE2

              To make the image navigate on click, then substitute something like the following
              <a href="index.html">CUSTOMVAR:IMAGE2</a>

              which would take you to your catalog entry page if it is called index.html.
              Bill
              www.egyptianwonders.co.uk
              Text directoryWorldwide Actinic(TM) shops
              BC Ness Solutions Support services, custom software
              Registered Microsoft™ Partner (ISV)
              VoIP UK: 0131 208 0605
              Located: Alexandria, EGYPT

              Comment


                #8
                Somethings happening but its not quite right ....

                Hi Bill,

                I attempted to create a CUSTOMVAR as follows;

                Advanced > Customer Properties

                Noticed that there were LEFT TITLE, RIGHT TITLE etc, which I think are used in the 'SMART' theme, so I deleted these, and then added a new property

                SECTIMAGE2, Type : text, Custom Property Name:SECTIMAGE2

                Then I went into the section I wanted to test it out on and added the Property in Properties, using;

                Property : SECTIMAGE2
                Value : images\image2.gif (the location of my image, i didn't use ..\images\image2.gif ?))
                Searchable : not ticked
                Use as CUSTOMVAR : ticked
                File Name : ticked
                Use File Content: tried it both ways, ticke it throws up all sorts of weird syntax, leave if unticked and it displays \images\image.gif a s a text link.

                I modified Act_Primary2.html and added the

                CUSTOMVAR:SECTIMAGE2 where NQV:SECTIMAGE was previously.

                Not sure whats happened but as i said above if I tick or untick 'use File Content' either get;

                1 text \images\image.gif, or
                2 loads of jargon code,

                Any ideas, Simon.
                esafetysigns.co.uk
                your instant download portal for self printable health and safety signs and posters
                ... download once use as many times as you like !


                http://www.esafetysigns.co.uk/index.html
                http://www.esafetysigns.co.uk/acatalog/index.html

                Comment


                  #9
                  Darn, I tested using the NETQUOTEVAR

                  For a CUSTOMVAR you need <a href="index.html"><img src="CUSTOMVAR:SECTIMAGE"></a> tick use as customvar, tick file name. Searchable and use file contents must be clear.
                  Bill
                  www.egyptianwonders.co.uk
                  Text directoryWorldwide Actinic(TM) shops
                  BC Ness Solutions Support services, custom software
                  Registered Microsoft™ Partner (ISV)
                  VoIP UK: 0131 208 0605
                  Located: Alexandria, EGYPT

                  Comment


                    #10
                    Works but has a border ?

                    Bill,

                    Its getting there, but after adding the following to Act_Primary2.html

                    HTML Code:
                     <td height="28" align="center" valign="TOP"><a href="NETQUOTEVAR:SECTIONLINK"><img src="CUSTOMVAR:SECTIMAGE2"></a>
                                      </td>
                    The correct image is displayed but it has a border that I can't seem to understand.

                    It is visible in DW, like a blue border around an image icon.

                    See the attachent, Simon.
                    P.S. I'll sort the links out later but was hoping i could modify the template to make a backwards link without actually indicating the page name.
                    Attached Files
                    esafetysigns.co.uk
                    your instant download portal for self printable health and safety signs and posters
                    ... download once use as many times as you like !


                    http://www.esafetysigns.co.uk/index.html
                    http://www.esafetysigns.co.uk/acatalog/index.html

                    Comment


                      #11
                      OK, to get rid of the border on the photo, add border="0" to the code so it reads <img border="0" src= etc
                      Bill
                      www.egyptianwonders.co.uk
                      Text directoryWorldwide Actinic(TM) shops
                      BC Ness Solutions Support services, custom software
                      Registered Microsoft™ Partner (ISV)
                      VoIP UK: 0131 208 0605
                      Located: Alexandria, EGYPT

                      Comment


                        #12
                        Looking good... but now maybe I'm pushing my luck ?

                        Bill,

                        Can't thank you enough for the help, the layout looks really good and is inspiring me to develop it further.

                        At the moment we have managed to modify Act_Primary.html and create a new one I called Act_Primary2.html.

                        When i click on a section link, the new page that opens displays the image, title and description of that link as a page header.

                        Now, what i want to dabble with next is displaying all of the other section details i didn't select at the bottom of the page as 'Prev' style navigation.

                        What I mean is; if there are two sections on page1,

                        Section1 and Section2, and I select Section1, we already have Section1 details displayed on Section1.html, this works great, but i would also like Section2 details to display at the bottom of the page Section1.html.

                        Now, you may say i already have this with my 'UP' navigation button, but i like the idea of seeing where you've been as well as seeing where your going ?

                        Anyi deas, Simon.
                        esafetysigns.co.uk
                        your instant download portal for self printable health and safety signs and posters
                        ... download once use as many times as you like !


                        http://www.esafetysigns.co.uk/index.html
                        http://www.esafetysigns.co.uk/acatalog/index.html

                        Comment


                          #13
                          Hi Simon

                          The only way i can see this working is by using custom variables. You could create CUSTOMVAR:NEXTSECTIONDESCRIPTION. This can be done in "Advance | Custom Properties". Then in your primary template, you can place where you want the information to display. Then in within Section1, you would put section2 details in a custom properties so it displays on screen.

                          Have a read through on Custom Properties within the Actinic help files.

                          Kind Regards
                          Nadeem Rasool
                          SellerDeck Development

                          Comment


                            #14
                            Cheers, will do !

                            Got it! I will play around with CUSTOM variables and see how I get on.

                            Cheers, Simon.
                            esafetysigns.co.uk
                            your instant download portal for self printable health and safety signs and posters
                            ... download once use as many times as you like !


                            http://www.esafetysigns.co.uk/index.html
                            http://www.esafetysigns.co.uk/acatalog/index.html

                            Comment

                            Working...
                            X