Welcome Guest   | Login   
  Search  
  Index |  Recent Threads |  Register | 


Quick Go »
Thread Status: Normal
Total posts in this thread: 8
[Change thread status] [Delete this Thread] [Move this Thread]
[Add To My Favorites] [Watch this Thread] [Post new Thread]
Author
Previous Thread This topic has been viewed 292 times and has 7 replies Next Thread
rickpugh
New Member



Joined: Dec 18, 2008
Posts: 5
Status: Offline

Edit this Post   confused   External Style Sheets and Character Count Reply to this Post
Reply with Quote
[Delete this Thread]

Hi Team,

New to Localendar and have some questions....

I am currently using the free calendar. I am considering upgrading to the Pro version but have been doing a test run with the free one first...

In setting up an event I have tried to use a link to an external style sheet but haven't had much look but this external link must be in the "head" of the page since a head tag isn't part of the accepted HTML for an event I didn't get what I wanted...

So... I thought that I might be able to use an embeded style bock but that didn't give the full set of results.

So... I created a stand alone HTML document that has all of the style attributes included into each HTML tag that I am using.

Here is the final version of the code that I wanted to use:

<!-- Begin Page Wrapper as workaround for lack of body tag -->
<div style="width: 100%; background-color: #999966; font-family: Arial, sans-serif; font-size: .85em; border: 0; margin: 0; padding: 0;">

<!-- Begin Page Container -->
<div align="center">
<div sytle="width: 600px; min-width: 450px; margin: 25px; border: 1px solid #7f8673; background-color: #ffffff; color: #292929;">

<!-- Begin Page Header -->
<div style="width: 600px; min-width: inherit; font-family: inherit; font-size: inherit;"><a style="color: #abcf56; font-weight: bold; text-decoration: underline;" href="http://cvarchers.com/development/"><img style="border: 0px;" src="http://cvarchers.com/development/images/joad_logo_sm_trans_wm.gif" width="233" height="250" alt="Visit our website - CVArchers.com" /></a></div>

<!-- Begin Page Body -->
<div style="width: 600px; min-width: inherit; font-family: inherit; font-size: inherit; padding: 10px; text-align: left;"><br />
<!-- Begin Page Body Title -->
<h1 style="font-family: 'Poor Richard', Arial, sans-serif; color: #fede03; font-size: 2em; font-weight: bold; text-align: center; background-color: #43596d; border-top: 1px solid #fede03; border-bottom: 1px solid #fede03; padding: 5px; font-style: normal; font-variant: normal; letter-spacing: .2em;">Saturday Shooting Program</h1>
<br />

<!-- Begin Event Information Text -->
<p>The Conejo Vallery Archers Junior Olympic Archery Development (JOAD) program meets every Saturday, rain or shine, at the club's JOAD facility. We welcome everyone that is interested in the sport of archery. To help you plan a trip to join us, the following information is provided:</p><br />

<ul style="list-style-type: square; list-style-position: outside; font-family: inherit; font-size: inherit; background-color: inherit; color: inherit; text-align: left; text-indent: 50px; line-height: 150%;">
<li><span style="text-decoration: underline; font-weight: bold; font-size: 1em;">When:</span> Every Saturday Morning from 9:00am to 1:00pm rain or shine.</li><br /><br />
<li><span style="text-decoration: underline; font-weight: bold; font-size: 1em;">Where:</span> At the Conejo Vallery Archers JOAD facility located at 4651 Tapo Canyon Road, Simi Valley, CA 93063. You can get directions using the map link below.</li><br /><br />
<li><span style="text-decoration: underline; font-weight: bold; font-size: 1em;">Who:</span> We welcome anyone iterested in the sport of archery to our JOAD program. We prefer that children be at least 8 years old to participate in our program in the interst of safety.</li><br /><br />
<li><span style="text-decoration: underline; font-weight: bold; font-size: 1em;">Cost:</span> The cost to shoot at our Saturday Joad Session is $5 per person for the four hour session. This includes all equipment and instruction. If you join our JOAD program and wish to further develop your skills the cost is $10 per year, per person in addition to the $5 per Saturday cost.</li>
</ul>
<!-- Begin Link to Map -->
<div align="center"><a style="font-weight: bold; font-size: 2em; color: #fede03; text-align: left" href="http://maps.google.com/maps?f=q&hl=en&geocode=&q=4651+Tapo+Canyon+Rd,+Simi+Valley,+CA+93063&sll=34.320259,-118.715086&sspn=0.049621,0.10952&ie=UTF8&g=4651+Tapo+Canyon+Rd,+Simi+Valley,+CA+93063&ll=34.350239,-118.708992&spn=0.099207,0.145912&z=12&iwloc=addr&source=embed">View Our Map for Directions</a></div>
<br /><br />

</div><!-- End Page Body -->

<!-- Begin Page Footer -->
<div style="width: 600px; min-width: inherit; font-family: inherit; font-size: inherit; padding: 10px; text-align: left;">
<br />
<h2 style="font-family: 'Poor Richard', Arial, sans-serif; background-color: #abcf56; font-weight: bold; font-size: 1.7em; color: #21221c; border: 1px solid #21221c; padding: 2px; text-align: center;">About the Conejo Valley Archers</h2>

<p>We are the Conejo Valley Archers Inc., a private archery club with over 200 members located in Simi Valley, California. We are a non-profit organization registered with the IRS as having a 501C3 rating (this means all donations are tax-deductible). Our primary purpose is to introduce young people and adults to the sport of archery.</p>

<p>Through archery, we feel we can provide a character building, life long activity to our youth. Because archery is an individual sport it is easily assimilated into today's busy schedules. We know we have a positive impact on today's youth. Through archery we learn honesty, integrity and good sportsmanship. We want to continue to build upon these character traits in order to raise responsible and productive citizens.</p>

<p>Our facilities and instructors have what it takes to aid you in the sport of archery regardless of your skill level or experience. At present, we have a number of youth who are either National or California State ranked medalists. In 1996, we achieved the unthinkable by sending one of our members to the Olympics and winning a Gold Medal!</p>

<p>We primarily attribute our success to our Junior Olympic Archery Development (JOAD) program. This program targets kids from 8-18 years of age and is chartered and credentialed by the National Archery Association. At present, we have over 50 youth who are active in our program and it is presently one of the largest in California. We offer beginning archery classes every Saturday (year round, rain or shine) from 9:00am to 1:00pm for a nominal fee. This nominal fee includes all equipment, instruction, and safety gear necessary to learn the sport of Archery.</p>

<p>Our facilities also include a 28 station NFAA certified field range for those interested in testing and developing their skills. Soon we will offer a permanent 3D range as an extension to our field range.Lastly, in the not too distant future, we plan on offering a FITA range facility. FITA is the format used in Olympic, International, and National competition. No other private club in California can offer such amenities. </p>

<p>Learn more about us! <a style="color: #abcf56; font-weight: bold; text-decoration: underline;" href="http://cvarchers.com/development/">Visit our Website - CVArchers.com</a></p>

<br />
</div><!-- End Footer -->

</div><!-- End Page Container -->
</div><!-- End Center -->
</div><!-- End Page Wrapper -->


The problem that I have run into is that there is a 2000 character limit in the event description field. This character count includes HTML tags and attributes.

So what's the work around? It is very important to me that I have complete control over the look an feel of any event since each of these will display in our site.

Any help, input or suggestions would be greatly apprecaited....
[Jan 21, 2009, 6:14:03 PM] [204.128.192.3] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
support
localendar Expert
Member's Avatar


Joined: Aug 9, 2022
Posts: 6452
Status: Offline
Edit this Post   Re: External Style Sheets and Character Count Reply to this Post
Reply with Quote
[Delete this Post]

I think I get the gist of what you're trying to do.. and there are probably a few ways to accomplish this.

But for starters, have you tried adding some of your custom styles to the "common event description" box under Options->Events ? You can get a little more room that way (use an embedded <style>)

An embedded <style> block in the description should work as well so you should not have to put the html in such verbose format. What do you mean when you say you weren't getting "full results" ?
----------------------------------------
Marc Higgins
Support Associate, localendar.com
Follow us on Twitter! http://www.twitter.com/localendar_news
[Jan 22, 2009, 8:07:58 PM] [67.86.148.33] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
rickpugh
New Member



Joined: Dec 18, 2008
Posts: 5
Status: Offline

Edit this Post   Re: External Style Sheets and Character Count Reply to this Post
Reply with Quote
[Delete this Post]

Ok... thanks for telling me about the "common event description box in the Options for Events... I didn't realize that was there....

Let me ask you my question in a different way....

Can I use a link to an external style sheet in the "common event description" box under Options->Events ?

If so, that will solve my entire problem. I would like to put a link like the following in there if I am able:

<link rel="STYLESHEET" type="text/css" href="http://cvarchers.com/development/css/default.css">


As alway, you help is appreciated....

Thanks,
Rick
[Jan 27, 2009, 4:52:25 PM] [204.238.46.100] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
support
localendar Expert
Member's Avatar


Joined: Aug 9, 2022
Posts: 6452
Status: Offline
Edit this Post   Re: External Style Sheets and Character Count Reply to this Post
Reply with Quote
[Delete this Post]

You absolutely are, and I think you'll be pleased with the results.
Also remember that when you type HTML into an event description, you need to click the HTML button on the toolbar and not enter it directly into the description box.

On a slightly unrelated note, I use the common field to dynamically change the size of all of my event pop-ups:

<script>
this.resizeTo(500,500);
</script>
----------------------------------------
Marc Higgins
Support Associate, localendar.com
Follow us on Twitter! http://www.twitter.com/localendar_news
[Jan 28, 2009, 10:27:02 AM] [67.86.148.33] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
rickpugh
New Member



Joined: Dec 18, 2008
Posts: 5
Status: Offline

Edit this Post   Re: External Style Sheets and Character Count Reply to this Post
Reply with Quote
[Delete this Post]

Awsome!

Thanks so much for your help!
[Jan 28, 2009, 2:31:08 PM] [204.128.192.3] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
rickpugh
New Member



Joined: Dec 18, 2008
Posts: 5
Status: Offline

Edit this Post   Re: External Style Sheets and Character Count Reply to this Post
Reply with Quote
[Delete this Post]

Spoke too soon and hate to be a pain about all of this but when I added the following to the "common event description" box under Options->Events:

<link rel='STYLESHEET' type='text/css' href='http://cvarchers.com/development/css/calendar.css' />


and then try to access the elements in the linked style sheet by using classes in my event description HTML it doesn't work.

I did a preview of the "source" of the event "preview" and it doesn't show the link being added to the event at all...

Is there any way for you to access my account to check and see if I have screwed this up? At this time I only have one re-occuring event on the calendar but that event does have all of the .css classes applied....

So you have it handy, here is code for the event and yes I did select "html" on the event editor:



<div class="wrapper">
<div align="center">
<div class="container">
<div class="header"><img src="http://cvarchers.com/development/images/joad_logo_sm_trans_wm.gif" alt="Visit our website - CVArchers.com" width="233" height="250" /></div>
<div class="pbody"><br /><h1>Saturday Shooting Program</h1><br /><p>The Conejo Vallery Archers Junior Olympic Archery Development (JOAD) program meets every Saturday, rain or shine, at the club's JOAD facility. We welcome everyone that is interested in the sport of archery. To help you plan a trip to join us, the following information is provided:</p>
<br />
<ul class="list">
<li><span class="emph">When:</span> Every Saturday Morning from 9:00am to 1:00pm rain or shine.</li><br /><br />
<li><span class="emph">Where:</span> At the Conejo Vallery Archers JOAD facility located at 4651 Tapo Canyon Road, Simi Valley, CA 93063. You can get directions using the map link below.</li><br /><br /><li><span class="emph">Who:</span> We welcome anyone iterested in the sport of archery to our JOAD program. We prefer that children be at least 8 years old to participate in our program in the interst of safety.</li><br /><br />
<li><span class="emph">Cost:</span> The cost to shoot at our Saturday Joad Session is $5 per person for the four hour session. This includes all equipment and instruction. If you join our JOAD program and wish to further develop your skills the cost is $10 per year, per person in addition to the $5 per Saturday cost.</li>
</ul>
<div align="center"><a href="http://maps.google.com/maps?f=q&hl=en&geocode=&q=4651+Tapo+Canyon+Rd,+Simi+Valley,+CA+93063&sll=34.320259,-118.715086&sspn=0.049621,0.10952&ie=UTF8&g=4651+Tapo+Canyon+Rd,+Simi+Valley,+CA+93063&ll=34.350239,-118.708992&spn=0.099207,0.145912&z=12&iwloc=addr&source=embed">View Our Map for Directions</a></div><br /><br />
</div>
</div>
</div>
</div>



Any help is appreciated....
----------------------------------------
[Edit 1 times, last edit by rickpugh at Jan 29, 2009, 7:11:58 PM]
[Jan 29, 2009, 7:06:30 PM] [First IP: 204.128.192.4 - Last IP: 204.128.192.4] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
rickpugh
New Member



Joined: Dec 18, 2008
Posts: 5
Status: Offline

Edit this Post   Re: External Style Sheets and Character Count Reply to this Post
Reply with Quote
[Delete this Post]

Any word about this issue?
[Jan 30, 2009, 7:00:19 PM] [204.128.192.3] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
support
localendar Expert
Member's Avatar


Joined: Aug 9, 2022
Posts: 6452
Status: Offline
Edit this Post   Re: External Style Sheets and Character Count Reply to this Post
Reply with Quote
[Delete this Post]

Have a look at your public calendar at:
http://www.localendar.com/public/rickpugh

Click on the test event I added on 1/30.
You will see 2 of your styles being used to display the text.

I'm not sure why you're having a problem.. did you edit the HTML from the special HTML window? Hopefully, you can have a look at that event and it will be of help smile

I think the Preview does not pull in the custom CSS b/c that window is just generated from the current HTML form. If you check it once it's saved you should be fine. I will see what we can do about better integration w/ the rich-text editor before you save the event.
----------------------------------------
Marc Higgins
Support Associate, localendar.com
Follow us on Twitter! http://www.twitter.com/localendar_news
[Jan 30, 2009, 10:25:19 PM] [67.86.148.33] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
[Show Thread Printable Version] [Post new Thread]

Help! | Cobranding | Legal | Privacy Policy | About localendar.com | Contact Us