Announcement

Collapse
No announcement yet.

Page Header/footer html

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

    Page Header/footer html

    Hi,

    Now that ive got my design/options/page header and footer text working im trying to use html code and from what I remember I thought I could paste html code straight in but this does not seem to be the case ?

    To explain further, instead of just having some very boring text at the top and bottom of each page I would like to use dhtml effects like 'fly in from left' or a scrolling marquee.

    If I cannot input the html code straight in then where exactly do I input the code ?

    I have attached a screencapture to show where im trying to input the html.

    Cheers

    Mick
    Attached Files
    Kind regards,

    Michael

    www.stageprint.co.uk

    #2
    If you want to use anything more than simple text, edit the Act_Footer.html and Act_Header.html pages with the HTML / DHTML / etc code that you want to use.

    Write your code, and test it, Paste your code into the Header/Footer templates and hit upload to compile the pages and refresh your site.


    Ryan

    Comment


      #3
      Thanks Ryan,

      Unfortunately im having no luck at all.
      Ive designed whole websites before but this does not mix with my brain very well. I tried adding some simple text html to the act_footer but nothing shows. Im covinced someone once said that you can paste html straight into the text boxes as shown in my picture.

      Mick
      Kind regards,

      Michael

      www.stageprint.co.uk

      Comment


        #4
        Do I have to alter or delete this line :

        <span class="actxsmall"><b>NETQUOTEVAR:HEADERTEXT</b></span>

        Its all the NETQUOTEVAR stuff thats confusing me im afraid

        Mick
        Kind regards,

        Michael

        www.stageprint.co.uk

        Comment


          #5
          I'm unsure if you can use HTML in the header and footer text boxes offhand without trying it myself first. In your main template, Act_Primary.html, you should have links to NETQUOTEVAR:HEADER and NETQUOTEVAR:FOOTER. Make sure these are in there, and formatted properly (by which i mean not inside some dodgy or broken code preventing it from displaying correctly)

          When you're editing the header/footer template files, are you re-uploading / previewing the page, yep? strange that it shouldn't be showing at all.

          Do you have the page/site in question online so we can see it? This would also be handy for checking the top and bottom links you mention.


          Ryan

          Comment


            #6
            Yep, the NETQUOTEVARs and the templated nature of Actinic confused the crap out of me at first when i first started (2 months ago).

            Once you get your head round how the mechanics of it work, it gets a lot easier. All i can suggest is keep persevering! Keep trying things: editing code, re-preview it, see what happens - rinse and repeat Best way to learn imo.

            Edit: Oh, have you downloaded the Advanced User Guide? You can get it from http://www.actinicdownloads.com. Very handy indeed. It has information on all the templates and how they fit into the grand scheme of things, and the bloody NETQUOTEVARS

            Comment


              #7
              Thanks again Ryan,

              I think ive sorted it !

              http://www.artscraft.co.uk/acatalog/...uorescent.html

              You should see bold red text at top and bottom and if its working ok I will try some dhtml.

              Whats really really confused me is the fact that I did this in the act_primary.html and not the act_footer or act_header ??

              Heres the code:

              <!-- NETQUOTEVAR:HEADER -->
              <div align="center"><span class="actxsmall"><p><font color="#ff0000"><b>WEBMASTER HTML CODE TOP</b></font></p></span></div>
              NETQUOTEVAR:BULK
              <div align="center"><span class="actxsmall"><p><font color="#ff0000"><b>WEBMASTER HTML CODE BOTTOM</b></font></p></span></div>
              <!-- NETQUOTEVAR:FOOTER -->

              Cheers

              Mick
              Kind regards,

              Michael

              www.stageprint.co.uk

              Comment


                #8
                The Act_Primary.html file contains the main page info, such as <head> tags and stuff. It basically controls the main layout for all pages. You might notice that it loads in sub-templates, such as header, footer, and "bulk" (the contents of a given page).

                The red text you have inserted can (obviously) be inserted either in the Primary page, or in the Header and Footer pages - such is the beauty (and rampant complexity) or Actinic

                Glad you got it figured out - keep tweaking! (um, remember to make backups though...)


                Ryan

                Comment


                  #9
                  Oh dear,

                  Now my 'about us' 'contact' and 'links' pages are messed up
                  Back to the drawing board for me......

                  Mick
                  Kind regards,

                  Michael

                  www.stageprint.co.uk

                  Comment


                    #10
                    Had to change 'text and title' to just 'text only', have absolutely no idea why but it was copying all the text from the homepage and putting on these 3 pages.

                    Very weird.

                    Mick
                    Kind regards,

                    Michael

                    www.stageprint.co.uk

                    Comment


                      #11
                      Mick,

                      Did you delete all the code that was in/around the following (which you pasted earlier)?
                      Code:
                      <!-- NETQUOTEVAR:HEADER -->
                      <div align="center"><span class="actxsmall"><p><font color="#ff0000"><b>WEBMASTER HTML CODE TOP</b></font></p></span></div>
                      NETQUOTEVAR:BULK
                      <div align="center"><span class="actxsmall"><p><font color="#ff0000"><b>WEBMASTER HTML CODE BOTTOM</b></font></p></span></div>
                      <!-- NETQUOTEVAR:FOOTER -->
                      I think Actinic needs the extra code surrounding the code above. I'd undo the stuff you deleted if possible... Careful when inserting / removing NETQUOTEVARS, mind

                      Your About ("Info") page seems to work on the online version if that helps.

                      Comment


                        #12
                        I left all the code alone apart from the bit where its says WEBMASTER HTML CODE TOP etc, the code is the very same as you just pasted into your reply.

                        Whats happening is my 'about' 'contact' and 'links' pages are showing the home page text if I set them to 'text and title' or the correct, but not formatted text if I set to 'text' only.

                        They are all working now but will not let me format the font size as previously. Nevermind, they will do for now until im brave enough to start chopping up actinics templates again

                        Mick
                        Kind regards,

                        Michael

                        www.stageprint.co.uk

                        Comment


                          #13
                          You CAN put HTML into the Header / Footer via Disgn / Options / Shop Defaults. Just surround it with !!< and >!!

                          E.g. Hello !!<<b>bold</b>>!! there.

                          You can also use this to add HTML into your fragment text, section descriptions, product descriptions or popup text.
                          Norman - www.drillpine.biz
                          Edinburgh, U K / Bitez, Turkey

                          Comment


                            #14
                            Thats exactly what I searched the forums for but couldnt find it.
                            I may well put everything back and do it this way because I feel my editing has messed a few other things up.

                            The fact that this can be applied to so many other things is great because its simple and instant.

                            Thanks,

                            Mick
                            Kind regards,

                            Michael

                            www.stageprint.co.uk

                            Comment


                              #15
                              It's documented in the Actinic Help. However if you search on just "HTML" it's the unlucky 13th choice displayed - "Embedding HTML".
                              Norman - www.drillpine.biz
                              Edinburgh, U K / Bitez, Turkey

                              Comment

                              Working...
                              X