xoops forums

Forum Index


Board index » All Posts




JMorris

XOOPS is my life!
Posted on: 2004/9/20 13:01
JMorris
JMorris (Show more)
XOOPS is my life!
Posts: 2722
Since: 2004/4/11
#233661

Re: Dark background in News 1.21 Post Comment

Classes are defined in the file style.css that is included with the theme. Look for lines like the following....

.outer {border1px solid silver;}
.
head {background-color#555555; padding: 5px; font-weight: bold;}
.even {background-color#999999; padding: 5px; color: #000000;}
.odd {background-color#cccccc; padding: 5px; color: #000000;}
.foot {background-color#555555; padding: 5px; font-weight: bold;}
tr.even td {background-color#999999; padding: 5px; color: #000000;}
tr.odd td {background-color#cccccc; padding: 5px; color: #000000;}


Just edit the background-color and color attributes to suite.

If you need a great program for "capturing" color codes from your screen and mixing custom colors, check out CPick.

Hope this helps.



Chado

Not too shy to talk
Posted on: 2004/9/20 12:58
Chado
Chado (Show more)
Not too shy to talk
Posts: 113
Since: 2003/6/6 7
#233662

Re: How to use language variables in themes

Quote:

DonXoop wrote:
Now I wish I could enable Smarty Debug for just my login so I could take my time browsing the data.


I have really been enjoying the XSAS server for just that sort of thing. I am able to have a complete clone of my site offline and tinker and goof things up to my hearts content


karedokx

Quite a regular
Posted on: 2004/9/20 12:55
karedokx
karedokx (Show more)
Quite a regular
Posts: 319
Since: 2004/7/1 6
#233663

Dark background in News 1.21 Post Comment

I installed the latest News 1.21, and found that in the POST (new) COMMENT screen, it shows the preview of our news content (on top of the comment form). Unfortunately, it currently produces a dark background in my theme as the produce code is as follow:

<TABLE class=outer cellSpacing=1 cellPadding=4 width="98%">
<TBODY>
<TR>
<TD class=head>Test story 3</TD></TR>
<TR>
<TD><BR>Posted... <the text of the news>

As you can see it uses "outer" class in the table, but have no class used in the <td>, results in the news text has a dark background.

I want to edit and add the following class for the <td>: <td class="even">.

Can any of you direct me, where can I add/modify the code for that purpose above.

Many thanks!


JMorris

XOOPS is my life!
Posted on: 2004/9/20 12:55
JMorris
JMorris (Show more)
XOOPS is my life!
Posts: 2722
Since: 2004/4/11
#233664

Re: Module request

Go into phpMyAdmin and delete the offending table, then reinstall the module.

Your webhost should offer phpMyAdmin. If not, download the phpMyAdmin module.

Also, Sourceforge has a comprehensive listing of the modules that are available for XOOPS. My last count was over 200.

Good Luck.


Spamhead

Just popping in
Posted on: 2004/9/20 12:52
Spamhead
Spamhead (Show more)
Just popping in
Posts: 22
Since: 2004/9/8 1
#233665

Re: Module request

That would be excellent - I will let you know how I get on with this one


dheltzel

Not too shy to talk
Posted on: 2004/9/20 12:52
dheltzel
dheltzel (Show more)
Not too shy to talk
Posts: 164
Since: 2003/1/8 1
#233666

Re: More than one Agenda-X calendar

Not the calendar, but you can now include/exclude events by category in the event blocks, giving you multiple event list blocks.

Dennis


Anonymous

Posted on: 2004/9/20 12:50
Anonymous
Anonymous (Show more)
Posts: 0
Since:
#233667

Re: Module request

You should be able to see if it has left any tables in your MySQL database through your MySQL admin.

I dont muck about much with that so someone else might be able to tell you what to do there better than me.

If you still have trouble I am going to make another version of it with different table names within the next couple of days so can send you a copy of that to try if you dont get that one going.


computerguy

Just popping in
Posted on: 2004/9/20 12:48
computerguy
computerguy (Show more)
Just popping in
Posts: 5
Since: 2004/9/19
#233668

Re: Accept Comments

After you click on edit... there is a dropdown box (STATUS) just below the middle of the form that allows you to change it from pending to active or delete... just change the status and save it... it will activate the pending comment. :)

Regards,


mparkins

Just popping in
Posted on: 2004/9/20 12:47
mparkins
mparkins (Show more)
Just popping in
Posts: 5
Since: 2004/8/12
#233669

Re: Undefined class name 'database'

Thanks, but the error persists on the same line except now in the form of:

Fatal error: Undefined class name 'xoopsdatabasefactory'

I really think that it seems to be ignoring the include statement...


Spamhead

Just popping in
Posted on: 2004/9/20 12:47
Spamhead
Spamhead (Show more)
Just popping in
Posts: 22
Since: 2004/9/8 1
#233670

Re: Module request

I did have it installed for a few minutes (the old version) but I deactivated it, uninstalled it then deleted it. It would seem some of it is still there somewhere.