1
plugmoon
Newbi's three questions
  • 2005/3/28 22:26

  • plugmoon

  • Just popping in

  • Posts: 10

  • Since: 2005/3/7 2


Hi, everybody,

I got three questions to ask

please go to plugmoon.com first.

1. If you register an user name, you will see on the top you should see message something like

welcome "username" SIUC Instructional Technology

However, the word "welcome" becomes massing up. What file should I open and fix it.


2. When entering my website, everything is fine except the index page is empty. I want to either type something or put some images on the index page so people won't see it blanked. How can I do it? I have looked for the solutions for a long time. People just said go to system admin--blocks and modified the name, but it doesn't work. How can I really change my index page? I tried to revise index.php, but it didn't show what I want too. Can someone tell me how to do it in detail?

3. If I want to create a link in "Main Menu" instead of going to blocks and create the ling, how can i do it? For example, I want to put my "shopping" link in the "Main Menu", how can I do it?


Thank you for help.


2
terrion
Re: Newbi's three questions
  • 2005/3/28 23:06

  • terrion

  • Friend of XOOPS

  • Posts: 299

  • Since: 2004/9/19


I'll take a stab at this...

Quote:

1. If you register an user name, you will see on the top you should see message something like

welcome "username" SIUC Instructional Technology

However, the word "welcome" becomes massing up. What file should I open and fix it.



Try opening the Theme.html file for the theme you're using. For example, look in:

http://yoursite.com/themes/theme.html

Should be pretty easy to spot.

Quote:
2. When entering my website, everything is fine except the index page is empty. I want to either type something or put some images on the index page so people won't see it blanked. How can I do it? I have looked for the solutions for a long time. People just said go to system admin--blocks and modified the name, but it doesn't work. How can I really change my index page? I tried to revise index.php, but it didn't show what I want too. Can someone tell me how to do it in detail?


Try going to the Admin Control Panel and clicking on
System Admin->Preferences->General Settings and look for a setting called
Module for your start page

Set that to one of your installed modules that has a little content in it. News Module is usually a good choice. That should fill your Home page with something more than a white screen.


Quote:
3. If I want to create a link in "Main Menu" instead of going to blocks and create the ling, how can i do it? For example, I want to put my "shopping" link in the "Main Menu", how can I do it?



For this one you might want to look at An article on Xoops-Tips.com that I think is dealing with this issue.

You might also want to do a search on the Multimenu module here on Xoops.org.

Hope this helps,

3
plugmoon
Re: Newbi's three questions
  • 2005/3/29 0:06

  • plugmoon

  • Just popping in

  • Posts: 10

  • Since: 2005/3/7 2


Hi, Thank you for replying so fast.

In my first question, I did check out my theme.html file but did not see anything wrong there. Here above are the code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>">
<head>
<meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" />
<meta http-equiv="content-language" content="<{$xoops_langcode}>" />
<meta name="robots" content="<{$xoops_meta_robots}>" />
<meta name="keywords" content="<{$xoops_meta_keywords}>" />
<meta name="description" content="<{$xoops_meta_description}>" />
<meta name="rating" content="<{$xoops_meta_rating}>" />
<meta name="author" content="<{$xoops_meta_author}>" />
<meta name="copyright" content="<{$xoops_meta_copyright}>" />
<meta name="generator" content="XOOPS" />
<title><{$xoops_sitename}> - <{$xoops_pagetitle}></title>
<link href="<{$xoops_url}>/favicon.ico" rel="SHORTCUT ICON" />
<link rel="stylesheet" type="text/css" media="all" href="<{$xoops_url}>/xoops.css" />
<link rel="stylesheet" type="text/css" media="all" href="<{$xoops_themecss}>" />
<script type="text/javascript" language="javascript">
<!--
<{$xoops_js}>
//-->
</script>
</head>
<body>
<table cellspacing="0" id="top">
<tr><td class="slogan" colspan="2"><{$xoops_slogan}></td></tr>
<tr id="header">
<td id="headerlogo"><a href="<{$xoops_url}>/"><img src="<{$xoops_imageurl}>logo.jpg" alt="" /></a></td>
<td id="headerbanner"><{$xoops_banner}></td>
</tr>
<tr>
<td class="slogan" colspan="2">
<{if $xoops_isuser}>
Welcome <a href="<{$xoops_url}>/user.php"><{$xoops_uname}></a>
to<{$xoops_sitename}>
<{else}>
<a href="<{$xoops_url}>/register.php">Go register</a> to be <{$xoops_sitename}> member¡I
<{/if}>
</td>
</tr>
</table>
<table cellspacing="0">
<tr>
<td id="leftcolumn">
<!-- Start left blocks loop -->
<{foreach item=block from=$xoops_lblocks}>
<{include file="karate_redux_blue/theme_blockleft.html"}>
<{/foreach}>
<!-- End left blocks loop -->
</td>
<td id="centercolumn">
<!-- Display center blocks if any -->
<{if $xoops_showcblock == 1}>
<table cellspacing="0">
<tr>
<td id="centerCcolumn" colspan="2">

<!-- Start center-center blocks loop -->
<{foreach item=block from=$xoops_ccblocks}>
<{include file="karate_redux_blue/theme_blockcenter_c.html"}>
<{/foreach}>
<!-- End center-center blocks loop -->

</td>
</tr>
<tr>
<td id="centerLcolumn">

<!-- Start center-left blocks loop -->
<{foreach item=block from=$xoops_clblocks}>
<{include file="karate_redux_blue/theme_blockcenter_l.html"}>
<{/foreach}>
<!-- End center-left blocks loop -->
</td>
<td id="centerRcolumn">

<!-- Start center-right blocks loop -->
<{foreach item=block from=$xoops_crblocks}>
<{include file="karate_redux_blue/theme_blockcenter_r.html"}>
<{/foreach}>
<!-- End center-right blocks loop -->
</td>
</tr>
</table>
<{/if}>
<!-- End display center blocks -->
<div id="content"><{$xoops_contents}></div>
</td>
<{if $xoops_showrblock == 1}>
<td id="rightcolumn">
<!-- Start right blocks loop -->
<{foreach item=block from=$xoops_rblocks}>
<{include file="karate_redux_blue/theme_blockright.html"}>
<{/foreach}>
<!-- End right blocks loop -->
</td>
<{/if}>
</tr>
</table>
</body>
</html>


In my second question, if I change "Module for your start page" then when I reload my website, it will become an empty page. Nothing will show up. What might the problem be?


Thank you

4
terrion
Re: Newbi's three questions
  • 2005/3/29 5:21

  • terrion

  • Friend of XOOPS

  • Posts: 299

  • Since: 2004/9/19


If you would share the URL for the website you're working on I might be able to come take a look.

5
Pnooka
Re: Newbi's three questions
  • 2005/3/29 5:39

  • Pnooka

  • Just popping in

  • Posts: 68

  • Since: 2004/7/16


How about deleting files in your_root/templates_c folder, that should clear your compiled theme and other files you might have edited. Templates_c folder contains all smarty compiled templates, including your theme.

6
m0nty
Re: Newbi
  • 2005/3/29 5:40

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


the theme.html u show there looks fine to me..

but when viewing the actual source code on your site, i see this in the source for the welcome message..

<td class="slogan" colspan="2">
        <
a href="http://plugmoon.com/register.php">¥ß¨èµù¥U </a¦¨¬° SIUC-Instructional Technology ªº·|­û¡I
        
</td>


ߨèµù¥U <<<<< this is weird it should say Go register, and it looks like some kind of encoding problem..

or possibly a corrupt transfer.. the theme.html you just posted, did you copy that from your actual themes, theme.html file on the server or from a backup copy on your pc?

7
plugmoon
Re: Newbi
  • 2005/3/29 17:28

  • plugmoon

  • Just popping in

  • Posts: 10

  • Since: 2005/3/7 2


Thank you, guys.

I finally solve the problem by deleting the files in _root/templates_c folder.

However, I got new problems here. When logging into the website, if I click on "View Account", there will have two situations happened

1. It will go back to the page before I log in.

or

2. The whole page will become an empty page.

Does anybody has the same problem? How can I fix it?



Also, if I go to System Admin->Preferences->General Settings and change Module for your start page from none to something else, my website will become an empty page too. That's why I cannot change my index page. How can I fix it?


Thank you for help.

Login

Who's Online

137 user(s) are online (83 user(s) are browsing Support Forums)


Members: 0


Guests: 137


more...

Donat-O-Meter

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

Latest GitHub Commits