Virtual Mechanics: Community Forums and FAQs
Virtual Mechanics: Community Forums and FAQs
User's Created Tips and Insights
Adding Code to Your Page|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
Guru 'Power' Mechanic![]() |
Special code is sometimes useful for things like counters, shopping carts, menus and the like. Usually the provider of the code will give you some instructions:
Fortunately both these steps are very easy with SiteSpinner. To paste code into the body of your page: To paste code into the head of your page: More information, including controlling the position of code in the body of your page is here: What kind of code can I put in a Code Object? If the code does not work: |
||
|
|
Junior Mechanic |
I am looking to add header coding, but I don't see any header tabs, just "title" and "background"
|
|||
|
VM Staff![]() |
Hello Marcus,
WebDwarf does not have an option to add code to the header, only SiteSpinner and WebEngine have that. If you want to do that with WebDwarf you must open the HTML file after you publish and put your header code in manually. |
|||
|
|
Working Mechanic |
So, Bruce, Andy's code for email in the other post would be done this same way? I'm printing this out as I type...On the email page I would enter that code in the 'body' of the text, or text body, so to speak...and it will publish the correct way? Hmmm...
Maybe I should walk around the block, come back and re read this. |
|||
|
Guru 'Power' Mechanic![]() |
Answered in the other post. Hope you enjoyed the walk
|
|||
|
|
Junior Mechanic |
Is it possible to see the code that SiteSpinner puts out?
I seemingly uploaded a file to a web site this morning and renamed it "index.html" and there's now a 45k file there. I get a "Forbidden" error message when I try to access it. (I'm using a Cox Cable free personal web page space to practice.) It uploaded/published well enough when I tried the "Trial free web host" but it turns out there are placeholder pages on the template which I didn't see from the Home page. When you left-click the menu, a page comes up with a placeholder picture in it and all the old labels I'd changed on the Home page. How do I proceed? I tried to look at that HTML file on Cox but it was mostly unreadable except for the text contents of template. I'd sure prefer to practice with free space than rent space right now. I'm not even sure this is the right template. It was just the easiest looking one I saw when I first ran SiteSpinner. |
|||
|
|
Honorary Mechanic |
Alt+C will display the code, but you cannot edit it
Failing that Go Publish > preview code (its under publish project) |
|||
|
Guru 'Power' Mechanic![]() |
Something is a little strange here. You shouldn't have had to rename any uploaded page to index.html You should have had a page of that name already -- SiteSpinner creates it when you publish.
Could it be that you have renamed your project file -- which would have had a name like YourProject.ims? If you are still stuck, can you post a link to your site? |
|||
|
|
Junior Mechanic |
EEEK! You see why there oughta be a book or some sort of Big Picture text file describing what has to be there and a map of the land mines? I did indeed rename a project file, if "project file" is what is generated by the "Publish" command in the top bar of the SiteSpinner software. I recall it did have a .ims suffix.
I did not even hear/recognize what "project file" meant in the roar of the admonition that the one file I _had_ to have was index.html. The same pedagogical spazz happens with Linux. It's a big reason why Linux has not done better in all these years and years of exposure. *sigh* I'll try it again. The web space is easy to erase and revive as a blank slate. |
|||
|
| Previous Topic | Next Topic | powered by eve community |
| Please Wait. Your request is being processed... |
|

