1
4alex
Links stopped working after altering a theme
  • 2003/12/9 22:45

  • 4alex

  • Just popping in

  • Posts: 13

  • Since: 2003/2/6 2


I downloaded a theme from 4thefort.com and installed it. Then, I changed some things around, mostly the CSS stuff. Now, the links in the center block, where all the main content goes have stopped working. The links in the main and user menus on the left work fine, it's just the center block. I don't know how this happened. Does anyone know how to fix this?

2
CBlue
Re: Links stopped working after altering a theme

Can you copy and paste your centerblock portion of your style.css here? Maybe we all can look at it and see if there is an error there that can be fixed. Did you edit the theme.html file too?

3
4alex
Re: Links stopped working after altering a theme
  • 2003/12/9 23:53

  • 4alex

  • Just popping in

  • Posts: 13

  • Since: 2003/2/6 2


No, I didn't change that section of theme.html. I didn't want to mess anything up there, so the only thing I did change in theme.html was the header graphic and changed where the advertisement banner went. That's it.
Here's my CSS:

td#centercolumn {
background-color: #129BE9
width: 300px;
PADDING-LEFT: 200px;
FONT-WEIGHT: bold;
COLOR: white;
font-size: 12px;}

td#centercolumn th {background-color: #129BE9;
color: #000000; }
td#centerCcolumn {
padding-left: 100px;
padding-right: 0px;
padding-bottom: 0px;}
td#centerCcolumn legend.blockTitle {
padding: 3px;
background-color: white;
color: #129BE9;
border: 1px outset;
font-size: 12px;
font-weight: bold;}
td#centerCcolumn div.blockContent {
border-left: 1px solid #FFFFFF;
border-right: 1px solid #FFFFFF;
border-bottom: 1px solid #FFFFFF;
padding: 3px;
margin-right: 0px;
margin-left: 100px;
margin-bottom: 2px;
line-height: 100%;}

td#centerLcolumn {
width: 50%;
padding-left: 200px;}
td#centerLcolumn legend.blockTitle {
padding-left: 200px;
background-color: transparent;
color: #129BE9;
border: 1px outset;
font-size: 12px;
font-weight: bold;}
td#centerLcolumn div.blockContent {border-left: 1px solid #FFFFFF;
padding-left: 200px;
margin-left: 100px;
margin-right: 2px;
margin-bottom: 2px;
line-height: 100%;}

td#centerRcolumn {
width: 50%;
padding: 0px 0px 0px 0px;}
td#centerRcolumn legend.blockTitle {padding: 3px;
background-color: transparent;
color: #129BE9;
border: 1px outset;
font-size: 12px;
font-weight: bold;}
td#centerRcolumn div.blockContent {border-left: 1px solid #cccccc;
border-right: 1px solid #cccccc;
border-bottom: 1px solid #dddddd;
padding: 3px;
margin-left: 2px;
margin-right: 3px;
margin-bottom: 2px;
line-height: 100%;}

4
CBlue
Re: Links stopped working after altering a theme

Second line

background-color: #129BE9

is missing the ; at the end

5
4alex
Re: Links stopped working after altering a theme
  • 2003/12/10 2:26

  • 4alex

  • Just popping in

  • Posts: 13

  • Since: 2003/2/6 2


Yeah, I noticed that little mistake just after I posted it. lol. I fixed it, but it didn't fix the link problem.

6
CBlue
Re: Links stopped working after altering a theme

Okay, you say that you edited your theme.html file when you moved the xoopsbanner code. You need to look at your theme.html file and see if there is some error in there. Look at the center blocks loop first.

7
CBlue
Re: Links stopped working after altering a theme

Another thing, when you saved your theme.html file and uploaded it, did you delete all the files, except index.html, from your templates_c folder?

Another thing to mention is that in general settings of your system admin, you will see:

Update module template .html files from themes/your theme/templates directory?

You need to put this to yes and then click the go button at the bottom. Then go back after and click it back to no and click go again.

8
4alex
Re: Links stopped working after altering a theme
  • 2003/12/10 3:44

  • 4alex

  • Just popping in

  • Posts: 13

  • Since: 2003/2/6 2


There's no error at all in the theme page.
The only index file that there is in the templates_c folder is a news_index.html file. So, I didn't delete any files in there.
That last part about "update module template" I did that like 10 times. lol.
Nothing is fixing the problem.

9
CBlue
Re: Links stopped working after altering a theme

xoops comes with an index.html file in the templates_c folder when you first install it. That file needs to be in the folder all the time.

The news_index.html file is the file that needs to be deleted. Plus you should hit the refresh button in your ftp program for that folder before you go deleting anything.

10
4alex
Re: Links stopped working after altering a theme
  • 2003/12/10 6:24

  • 4alex

  • Just popping in

  • Posts: 13

  • Since: 2003/2/6 2


I reinstalled the newest XOOPS version, and tried the theme again. It now seems to be working. I'm sorry to have been such a pain in the behind, but I'm sort of a perfectionist. Thanks for the help.

Login

Who's Online

246 user(s) are online (124 user(s) are browsing Support Forums)


Members: 0


Guests: 246


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits