header question - Post ID 200779

User 187934 Photo


Senior Advisor
20,271 posts

Ray Maggio wrote:
I removed that script from the "add header" section on the top of the page and added the html box with the script for the header part and the other script for the calendar part in the body. It's publishing right now. Is there anyway to publish just one page at a time or do I have to publish the entire site everytime? Just curious:)

VSD isn't publishing every page but it is comparing the site with your pc to determine which pages to upload.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 420459 Photo


Registered User
26 posts

OK, that's good to know about the pages. Just feels like it takes forever when publishing one page.

Any idea what the issue may be with the code placed in the header.

Is there a way when I do add the html code in the header that it will be placed directly below the header in the code rather than the bottom because I believe that's the issue
User 187934 Photo


Senior Advisor
20,271 posts

Below rather than the bottom? Same thing isn't it.:/ What calendar script are you using?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 187934 Photo


Senior Advisor
20,271 posts

In your preview.css you have a div #container. That's a problem as VSD uses the same name for it's main container div.:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 420459 Photo


Registered User
26 posts

I just removed the preview line and it worked! I've been trying to figure out what was wrong and just didn't click!

Thanks for finding the issue!

Ray
User 187934 Photo


Senior Advisor
20,271 posts

I also see there's a reference to the body and html that could be causing some of the unexpected issues.
I think the best approach to this would be to place the calendar script on a html page all by itself using either the CC HTML Editor or another html editor such as notepad. Then add the page to your site using the add files tool then code an iframe into your html box on the page you want the calendar to show.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 420459 Photo


Registered User
26 posts

I was actually going to do that. When someone clicked reservations, it would go to a page with the calendar as well as booking form. I made it where the calendar cannot be clicked on, just for them to stroll through to see what's available.

Now I know why the preview calendar part was added to the script. The person from the calendar script told me to add that line so I can adjust the size.

Now, the calendar is too big so need to figure that one out.

http://www.cbmaa.com/test/rv-lot-rentals.html

This is what she told me in a conversation




Nov 9, 2012 19:12 PMby Ray Maggio

With the size, it seems not to get any smaller.

Any way to make it smaller, meaning the height?
Nov 9, 2012 19:42 PMby Maria

You have to add to the page "cbmaa-code.html" in the head section where the other definitions for the calendar are likk for the "preview.css":
<link type="text/css" rel="stylesheet" href="/abcalendar/css/preview.css" />

and the calendars will appear as on the script preview:
http://www.cbmaa.com/abcalendar/preview … amp;view=3

Please try this and let us know if you still face any issues.
User 187934 Photo


Senior Advisor
20,271 posts

You'll have to go through the files included with the script and find the references to the div #container and change their name so you can keep everything as you have it. Then change it in the preview.css to match and you'll be good to go.:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 420459 Photo


Registered User
26 posts

I appreciate all of your help. I will look into that and get it done!

One quick question - when you say go into the files of the script, do you mean go into my file manager and locate files div #container and rename the files to something else?

I'm really not too good with scripts:)

Thanks

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.