Author Topic: head section - another question  (Read 455 times)

Offline hidden

  • Restricted
  • Posts: 4
  • I am new here.
head section - another question
« on: July 21, 2015, 08:21:20 PM »
Hi, Sami,

I am trying to upload some code for favicons for my site.  I was told to put this code in the head section, which would mean with CSB4, I would have to put it in the author field somehow.  But the ending is tripping me up.  Below is the code I am trying to add:

 <link href="http://www.needlemethat.com/apple-touch-icon.png" rel="apple-touch-icon" />
<link href="http://www.needlemethat.com/apple-touch-icon-76x76.png" rel="apple-touch-icon" sizes="76x76" />
<link href="http://www.needlemethat.com/apple-touch-icon-120x120.png" rel="apple-touch-icon" sizes="120x120" />
<link href="http://www.needlemethat.com/apple-touch-icon-152x152.png" rel="apple-touch-icon" sizes="152x152" />
<link href="http://www.needlemethat.com/apple-touch-icon-180x180.png" rel="apple-touch-icon" sizes="180x180" />
<link href="http://www.needlemethat.com/icon-hires.png" rel="icon" sizes="192x192" />
<link href="http://www.needlemethat.com/icon-normal.png" rel="icon" sizes="128x128" />


It ends with " /> instead of ">

Will I be able to use this code at all?

Thanks so much.

Vicki

Offline hidden

  • Sami
  • Administrator
  • Senior Member
  • *****
  • Posts: 5923
  • Not a geek. Just a Nerd.
    • CSB Tutorials
Re: head section - another question
« Reply #1 on: July 18, 2016, 02:57:08 PM »
You can add code to the HEAD section in CSB 3 & 4 even though the program was not built to do it.  The instructions are on this page: http://www.samisite.com/publish/pageproperties.htm 

CSB3/4: Scroll down to the box that describes the AUTHOR FIELD used for meta tags.  This is the description posted on that page.  There is also a picture and other notes.  This method resolves the  " /> instead of "> problem.

THIS METHOD ONLY WORKS FOR THE AUTHOR FIELD AND WILL NOT WORK ON THE OTHER FIELDS SO YOU CAN ONLY INSERT EXTRA META TAGS ON THAT LINE!

1) CONTENT for your Author field.  I typed in Sam
You can leave the author blank if you want.
2) End the Author Meta tag.  Type ">
3) Now type or paste in your complete extra meta tags.  Here are the two I used on this page:
<meta name="robots" content="index,follow">
<META NAME="copyright" CONTENT="Samisite.com.  No part of this page can be duplicated without permission.">
4) After your LAST meta tag, remove the last   ">
from the field!  You can not have that last "> on the code because CSB/Trellix will add it to the code also.
5) Apply, OK   Then publish.

(Note CSB5 has a specific field to do this  http://www.samisite.com/csb5demo/pageprop.htm)

-Samantha
TNG: "Sometimes, you can make no mistakes, do everything right, and still lose" - Capt Picard to Data
(:turtle: In memory of Turtle: May 22, 1944 - Nov 24, 2007  GURU, mentor, and really nice guy! :turtleleft: )