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.


top.tpl question

Login / Search

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

Well-settled

need banner higher

I want to have the banner like the our logo to a hight from 100 pixels…is now 60 px.
But I have searched everywhere, trye out many things, but cant get it the banner to 100 px hight.

can someone help my out here?

Thanks,
Harry



Back to the top
 
Posted
Rating:
#35025
Avatar

Check out the BANNER_IFRAME and BANNER templates.


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:
#35039
Avatar

Well-settled

Everything has the right pixels, but the output stays on 60 px hight… So i don't get this right.

Have checked all the templates and cleared the chaches. :(
Back to the top
 
Posted
Rating:
#35052
Avatar

Community saint

hmm I think it was answered in another thread but I forgot what the solution was.

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:
#35053
Avatar

Well-settled

I' am could find anythings on the forum… thats why I asked. And have't found a solution at this time.  O_o
Back to the top
 
Posted
Rating:
#35055
Avatar

Community saint

hmm use the template thingy to show you which templates are being used and that could help.

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:
#35063
Avatar

Well-settled

have also try that solution, have made al the templates set to 100 px height, but this gives no response at all. I' am stuck at this point  :(
Back to the top
 
Posted
Rating:
#35064
Avatar

Community saint

ah like me being stuck with the drop down menu not working with an image behind it like I want.

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:
#35069
Avatar

I'm having a hard time understanding where you're at. For some reason the attached image is vertically stretched (I can tell from the HTML text - it's not natural) - so I can't see what situation you are currently in.

This said, is the actual image you've chosen for your banner the height you want? If it's a 60px height image, you'll need to replace it with one that is 100px height.


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:
#35072
Avatar

Well-settled

the images on the picture is actually 100 px height, but I see only 60px…..

Al the templates have the height to 100 px. But you see only the standard format. look at www.fyc-gron.nl  the picure must let seen 100 in fact.

thanks.
Back to the top
 
Posted
Rating:
#35074
Avatar

Sorry, I should have spotted what it is sooner - I have to admit the banner sizing is confusing even to me.
You need to edit the TOP template to replace:

Code

   {$SET,BANNER,{$BANNER}} {$,This is to avoid evaluating the banner parameter twice}
with:

Code

   {$SET,BANNER,{$BANNER},468,100} {$,This is to avoid evaluating the banner parameter twice}


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:
#35078
Avatar

Well-settled

re:

This was not the solution Chris, I became right of the banner the text 468x100

But I found the solution into banner_typed.tpl

original code:

Code

<iframe title="{!BANNER}" frameborder="0" marginwidth="0" marginheight="0" style="width: {WIDTH|}px; height: {HEIGHT|}px" scrolling="no" src="{$FIND_SCRIPT,banner}?type={TYPE*}&amp;{$KEEP*,0,1}">{!BANNER}</iframe>

and changed to:

Code

<iframe title="{!BANNER}" frameborder="0" marginwidth="0" marginheight="0" style="width: 468px; height: 100px" scrolling="no" src="{$FIND_SCRIPT,banner}?type={TYPE*}&amp;{$KEEP*,0,1}">{!BANNER}</iframe>


thanks for helping.
Harry
Back to the top
 
Posted
Rating:
#35081
Avatar

That'd work too. I made a typo in my last reply, I had meant to write:

Code

   {$SET,BANNER,{$BANNER,468,100}} {$,This is to avoid evaluating the banner parameter twice}
Sorry about that.


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
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: