A few more details
poll output positioning
Bernard,
Progress on my site www.techcolosseum.com is progressing slowly. I'm trying to modify a template to work with YACs and I'm doing alright but there are a couple of niggling little details I would like to ask you about.
1. The Poll output bars seem to be floating around and not lined up with the voting options as they originally appeared when I tried your poll_with_results work. Any ideas?
2. Where can I find the css command to modify the way the poll question text itself looks and also the option answers text?
3. What is the code I need to paste in my right hand box if I want to output the most popular articles? Sorry PHP dummy again.
4. The new templates comment system has lost the reference to the buttons for the formatting of the comment entry, where can I modify the link so it will still pull up your formatting buttons?
As always thanks so much.
Timster P.S. I submitted an article to the manual on how to create a poll as a blog entry, I hope that is helpful.
Progress on my site www.techcolosseum.com is progressing slowly. I'm trying to modify a template to work with YACs and I'm doing alright but there are a couple of niggling little details I would like to ask you about.
1. The Poll output bars seem to be floating around and not lined up with the voting options as they originally appeared when I tried your poll_with_results work. Any ideas?
2. Where can I find the css command to modify the way the poll question text itself looks and also the option answers text?
3. What is the code I need to paste in my right hand box if I want to output the most popular articles? Sorry PHP dummy again.
4. The new templates comment system has lost the reference to the buttons for the formatting of the comment entry, where can I modify the link so it will still pull up your formatting buttons?
As always thanks so much.
Timster P.S. I submitted an article to the manual on how to create a poll as a blog entry, I hope that is helpful.
| Timster 100 posts | Yes it looks like I'm going to need some help after deciding to import a template. YACS is completely usable for people with no PHP knowledge, but if you decide to use a template thats not included in the basic package, you lose the dynamic content that appears normally in the sidebar. To get around this I returned my site to one of the included templates and copied all the links from the side menu and have hardcoded them into my new template. This mostly works fine, except that any of the associate only tags don't show up when you're logged in. Obviously there is a way to include them somehow, but not for those of us with little or no PHP experience... |
| Bernard from nearby-an-airport Associate, 6796 posts | " 1. The Poll output bars seem to be floating around " This is because currently these two different elements are laid out separately. I will have probably to optimise the code to align questions and responses if needed. Just a mater of time, since I am on vacation at the moment... |
| Bernard from nearby-an-airport Associate, 6796 posts | " 2. Where can I find the css command to modify the way the poll question text itself looks and also the option answers text? " Look at skin files. YACS modules do not handle CSS information by themselves. They always call the skin for final rendering, including CSS stuff. Moreover, CSS files change from one skin to another. With boxesandarrows, look first at skin/boxesandarrows/boxesandarrows.css.If you want YACS to generate a specific item class for questions and answers, please suggest class ids and I will add this to the code. |
| Bernard from nearby-an-airport Associate, 6796 posts | " 3. What is the code I need to paste in my right hand box if I want to output the most popular articles? " As taken from index.php:
|
| Bernard from nearby-an-airport Associate, 6796 posts | Thank you for your submission to The Manual, that has been published as-is. Please do not hesitate to do this again, and to become one of the famous contributors to YACS... |
| Timster 100 posts |
Bernard: YACS support is excellent even when you are on vacation! I'll try to implement the changes based on your suggestions. As to class ids... I don't know if you have some standardized way of trying to label them so your suggestions are as good as any... pollquestion, polloption... I will look around the manual some more to see what kind of other documentation I can provide since I think that is the only practical way for me to contribute at this time... but I will contribute. |
Rate this page
Posted by Timster on Feb. 21 2005, (popular)