HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Move "main_poll" to right side

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#28697 (In Topic #6587)
Avatar

Community saint

Hi, I know I have seen this somewhere on the forums before, but I have just reviewed 20+ pages of search returns, and can't find it again. Can someone point me to the solution for moving the poll to the right side (column) of the start page?

I tried just moving the block, and it moves, but does not display correctly.

Any help is greatly appreciated! :)

Back to the top
 
Posted
Rating:
#28698
Avatar

Fan in action

Hi psydoc
You could go to admin>site then click edit page under the left menu.
Then click edit at the top and it shows you the list of blocks.
Cut the bit you need then go to the right menu and click edit at the top then paste into where you want it to be and then click edit page at the very bottom to save the changes.

Hope it works for you ;-)


Last edit: by clunky
Back to the top
 
Posted
Rating:
#28700
Avatar

The 'main' blocks use a different box type to the 'side' blocks by default. But that's the only real difference and it's pretty easy to change… just edit the poll template and change '100%|230px,curved' to '13.3em,panel'.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#28704
Avatar

Community saint

Hi Chris, That didn't quite do it. This is what I got.


It cut off part of the poll, and the text is white…doesn't work on the background. :(

Back to the top
 
Posted
Rating:
#28705
Avatar

Community saint

Hi clunky, Thanks. I got that far, the mail blocks are too large for the side panels. The size change Chris gave me made it smaller, but there are a few other things I need to change.
Back to the top
 
Posted
Rating:
#28706
Avatar

Community saint

psydoc, you've got the following settings:

Code

<DIV class=standardbox_wrap_panel style="BORDER-TOP-WIDTH: 0px">
<DIV class="standardbox_classic standardbox_t_panel"
style="WIDTH: 100%; HEIGHT: 13.3em">
<H4 class=standardbox_title_panel>Poll</H4>

which probably explains the 'cutting off' bit - the WIDTH & HEIGHT settings, I mean.

You'd need to look at the CSS values for those links appearing in 'white'.

Hope that helps.

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#28709
Avatar

Community saint

fletch, thanks. I am playing around with the style sheet now, but I think I messed up my mod of the template. I am going to look at it tomorrow when I am a bit fresher.  :)

BTW, I took a quick look at your site. Very nice!
Back to the top
 
Posted
Rating:
#28710
Avatar

Community saint

Thanks for the kind comment on the site. I keep pushing the envelope - not the software, but my own limited knowledge - and I'm always surprised when something I try out, works. Pleased too!!

But it isn't all plain sailing as I have to often go "cap in hand" to the software authors here (Chris & Philip mainly) to ask for help when a feature defeats me. But that is becoming less frequent, and I think I will quit while I'm ahead and just use the widgets I've discovered.

Always willing to discuss how I managed to achieve something, even if it wasn't an 'original thought' of my own! I guess that's what sharing within a community is all about?

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#28712
Avatar

Community saint

Fletch said


But it isn't all plain sailing as I have to often go "cap in hand" to the software authors here (Chris & Philip mainly) to ask for help when a feature defeats me. But that is becoming less frequent, and I think I will quit while I'm ahead and just use the widgets I've discovered.



yes same here.

I run http://otakuplayground.com and am hopping to make themes and other things for ocportal even though I no longer use it for otakuplayground.com I still love it and feel it could go far with the right help. It needs themes and needs people to advertise for it.
Back to the top
 
Posted
Rating:
#28713
Avatar

Community saint

Fletch said


Always willing to discuss how I managed to achieve something, even if it wasn't an 'original thought' of my own! I guess that's what sharing within a community is all about?

The middle of the home page came from an idea I used.
I mean the curve around every thing came from me. I am glad some one liked that idea and used it.  I my self constantly change the software to suit my needs well not on ocpower but on PPY. ocpower is closed until I have time to work on it again.

I run http://otakuplayground.com and am hopping to make themes and other things for ocportal even though I no longer use it for otakuplayground.com I still love it and feel it could go far with the right help. It needs themes and needs people to advertise for it.
Back to the top
 
Posted
Rating:
#28727
Avatar

Community saint

 

Fletch said

Thanks for the kind comment on the site. I keep pushing the envelope - not the software, but my own limited knowledge - and I'm always surprised when something I try out, works. Pleased too!!

But it isn't all plain sailing as I have to often go "cap in hand" to the software authors here (Chris & Philip mainly) to ask for help when a feature defeats me. But that is becoming less frequent, and I think I will quit while I'm ahead and just use the widgets I've discovered.

Always willing to discuss how I managed to achieve something, even if it wasn't an 'original thought' of my own! I guess that's what sharing within a community is all about?
 
I wanted to let you know that your advice helped me get my poll right. I'm not sure what the 13.3em is (hate to admit that). What I did was change,

style="WIDTH: 100%|13.3em,panel"> to
style="WIDTH: 100%|260px,panel"

I know that this will limit the height of my poll, but even with 9 questions that doesn't seem to be a problem.

Then I went to the global.css, and changed the colour value for the side-panel helper link to a darker colour.

That may not be the correct way to do it, but it works, and it didn't hurt anything else…that I have discovered.

Thanks, again, Fletch. I will take a much longer look at your site, if you don't mind.
Back to the top
 
Posted
Rating:
#28734
Avatar

Community saint

I can be of limited help here!

The 13.3em is the width that all the side boxes are set at. You should try:

Code

style="height: auto; width: 13.3em"
and that'll take care of the fixed height you've set at the moment.

All my users are in the sexagenarian to septagenarian age range and are easily discouraged if things aren't intuitive, hence the long-winded explanation in the 'Welcome' paragraph as to how to navigate the site.

So, any observations, especially by somebody who actually uses OCP, will be very welcome!!

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#28736
Avatar

Community saint

Hey Fletch, watch the age comment, I'm getting up there myself.  :(  I guess you are only as old as you feel…in that case I'm barely legal…lol.

Thanks for the explanation…I am learning, slowly, but learning. Chris has been so helpful, he has already earned the licening fee many times over.

I'll give your mod a try.

Give me a few days to get back and snope around your site. I can meet the anglo part, but not the Indain…lol.
Back to the top
 
Posted
Rating:
#28738
Avatar

Community saint

 :'(
Already there. Couple more years and I can claim my free bus pass. Not that a UK bus pass will do me any good in Portugal, but since I've paid my stamp all my life I'll take it anyway!

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#28742
Avatar

Community saint

I can claim my US senior citizens discount for whatever that will get me..I refuse though.

I used to live in the UK. My family all immigrated to the US from the UK…except my grandmother…who is from Russia.
Back to the top
 
Posted
Rating:
#29166
Avatar

Community saint

 Hi everyone. I changed my side_poll, and liked the way it looks. However, I just discovered that two options are no longer visible. The comment link, and the view results aren't there anymore. This is what I have for code. Can anyone tell me what I messed-up?

Code

{+START,BOX,{!POLL},style="height: auto; width: 13.3em",,,{$?,{$IS_NON_EMPTY,{RESULT_URL}},<a onclick="Javascript: return window.confirm('{!VOTE_FORFEIGHT;}');" href="{RESULT_URL*}">{!POLL_RESULTS}</a>|,}{$?,{$IS_NON_EMPTY,{SUBMIT_URL}},<a href="{SUBMIT_URL*}">{!ADD_POLL}</a>|,}<a href="{ARCHIVE_URL*}" title="{!POLLS}">{!VIEW_ARCHIVE}</a>{$?,{$IS_NON_EMPTY,{FULL_URL}},|<a href="{FULL_URL*}" title="{!POLL} #{PID*}">{!COMMENTS}</a>,}}
   <p class="poll_question">{+START,FRACTIONAL_EDITABLE,{QUESTION_PLAIN},question,_SEARCH:cms_polls:type=_edit_poll:id={PID},_true}{QUESTION}{+END}</p>

   <form action="{VOTE_URL*}" method="post" class="poll_form">
      <div>
         {CONTENT}
      </div>

      <div>
         <input disabled="disabled" id="poll{PID*}" type="submit" value="{!VOTE}" />
      </div>
   </form>
{+END}
Back to the top
 
Posted
Rating:
#29176
Avatar

I think where you have three commas (near the start), you should have four.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#29215
Avatar

Community saint

Thank you, Chris.

That did it…I looked over that code for hours and could not figure what I did wrong.  O_o

Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: