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.


Forum news block help

Login / Search

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

Community saint

Ok I'm editing the template for the news block and I'm wanting to get rid of the box and I know how to do it but when I do the hole thing flips out. http://www.phrozenstudios.com/

This is the code that I'm currently using.

Code

{+START,IF_NON_EMPTY,{NEWS_TITLE} ({DATE*})}
   {+START,IF_NON_EMPTY,{CATEGORY}}
      <div class="newscat_img">
         <img class="blend" src="{IMG*}" title="{CATEGORY*}" alt="{CATEGORY*}" />
      </div>
   {+END}

   <div>
      {NEWS}
   </div>

   <br class="float_passer" />

   <div class="news_goto">
      <a title="#{ID*}" href="{FULL_URL*}"><!-- <img class="blend" src="{$IMG*,pageitem/goto}" title="{!VIEW} / {!COMMENTS}" alt="{!VIEW} / {!COMMENTS}" /> -->{!VIEW}{+START,IF_PASSED,COMMENT_COUNT} ({COMMENT_COUNT*} {!COMMENTS}){+END}</a>
   </div>
   <div class="news_by">
      {!SUBMITTED_BY,<a href="{AUTHOR_URL*}" title="{!_AUTHOR,{AUTHOR*}}">{AUTHOR*}</a>}
   </div>

   <br class="float_passer" />
{+END}


 


Last edit: by aldun

 I'm not real big on building skins as of right now but if you would like some custom graphics done for your site I am more than willing as long as I have the time. -\-PhrozenStudios-/-
Back to the top
 
Posted
Rating:
#35234
Avatar

Community saint

so do you want it to show the green back ground?

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

Community saint

I want it just how it is with no box but no matter what I do the site has a problem with it and it makes the text the same color as the background (or somthing along those lines)

 I'm not real big on building skins as of right now but if you would like some custom graphics done for your site I am more than willing as long as I have the time. -\-PhrozenStudios-/-
Back to the top
 
Posted
Rating:
#35241
Avatar

Community saint

hmm what all codes have you tried.
I need to set up my test site to see if I can get it to work for you.
I think its a css issue some thing I have run into a lot.

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

Community saint

I have tried changing it from 'BOX' to 'IF_NON_EMPTY' also I tried makeing the box curved no matter what I do it does the same thing, it tries to do what I told it to but then it makes the text disappear.

 I'm not real big on building skins as of right now but if you would like some custom graphics done for your site I am more than willing as long as I have the time. -\-PhrozenStudios-/-
Back to the top
 
Posted
Rating:
#35322
Avatar

Community saint

I have not had much time to test this but I do wish to help you.

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

Community saint

I appreciate that I really haven't had time latley to work on it either

 I'm not real big on building skins as of right now but if you would like some custom graphics done for your site I am more than willing as long as I have the time. -\-PhrozenStudios-/-
Back to the top
 
Posted
Rating:
#35327
Avatar

Community saint

Which news block are you using?

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

Community saint

forum news block

 I'm not real big on building skins as of right now but if you would like some custom graphics done for your site I am more than willing as long as I have the time. -\-PhrozenStudios-/-
Back to the top
 
Posted
Rating:
#35340
Avatar

Community saint

ok thanks I saw more then one news block so had to make sure. I did get my test site set up so lets see what I can do.

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

Community saint


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

Community saint

I'm sorry I'm not seeing what you did

 I'm not real big on building skins as of right now but if you would like some custom graphics done for your site I am more than willing as long as I have the time. -\-PhrozenStudios-/-
Back to the top
 
Posted
Rating:
#35343
Avatar

Community saint

The news is in the middle where it says.
This is the ocPortal forum system (known as OCF).

A forum system is a tool for communication between members; it consists of posts, organised into topics: each topic is a line of conversation.

ocPortal provides support for a number of different forum systems, and each forum handles authentication of members: OCF is the built-in forum, which provides seamless integration between ocPortal, the forums, and the member system.
Thats generated from that block

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

Community saint

well then yes thats what I'm trying to do, how did you get rid rid of the boxes?

 I'm not real big on building skins as of right now but if you would like some custom graphics done for your site I am more than willing as long as I have the time. -\-PhrozenStudios-/-
Back to the top
 
Posted
Rating:
#35345
Avatar

Community saint

nvm I found it thanks for all you help though ami

 I'm not real big on building skins as of right now but if you would like some custom graphics done for your site I am more than willing as long as I have the time. -\-PhrozenStudios-/-
Back to the top
 
Posted
Rating:
#35347
Avatar

Community saint

ok kinda figured it out... but how did you completely get rid of the boxes... when I do it it just stops the whole block from being written.

 I'm not real big on building skins as of right now but if you would like some custom graphics done for your site I am more than willing as long as I have the time. -\-PhrozenStudios-/-
Back to the top
 
Posted
Rating:
#35357
Avatar

Community saint

I edited 2 templates.

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

Community saint

I edited
BLOCK_MAIN_NEWS
To only have this code in it

Code

 {CONTENT}
and I edited
NEWS_PIECE_SUMMARY

Code

      {NEWS}
<br />
<a title="#{ID*}" href="{FULL_URL*}"><!-- <img class="blend" src="{$IMG*,pageitem/goto}" title="{!VIEW} / {!COMMENTS}" alt="{!VIEW} / {!COMMENTS}" /> -->{!VIEW}{+START,IF_PASSED,COMMENT_COUNT} ({COMMENT_COUNT*} {!COMMENTS}){+END}</a>

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

Community saint

alright thanks i'll try that

 I'm not real big on building skins as of right now but if you would like some custom graphics done for your site I am more than willing as long as I have the time. -\-PhrozenStudios-/-
Back to the top
 
Posted
Rating:
#35365
Avatar

Community saint

You can also do the second one like this.

Code

   <div>
      {NEWS}
   </div>

   <br class="float_passer" />

   <div class="news_goto">
      <a title="#{ID*}" href="{FULL_URL*}"><!-- <img class="blend" src="{$IMG*,pageitem/goto}" title="{!VIEW} / {!COMMENTS}" alt="{!VIEW} / {!COMMENTS}" /> -->{!VIEW}{+START,IF_PASSED,COMMENT_COUNT} ({COMMENT_COUNT*} {!COMMENTS}){+END}</a>
   </div>
   <div class="news_by">
      {!SUBMITTED_BY,<a href="{AUTHOR_URL*}" title="{!_AUTHOR,{AUTHOR*}}">{AUTHOR*}</a>}
   </div>

   <br class="float_passer" />
That might work better for you.

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

Quick reply   Contract

Your name:
Your message: