1
dfzor
Removing "Message Icons" (aka post icons)
  • 2004/5/8 0:32

  • dfzor

  • Just popping in

  • Posts: 9

  • Since: 2004/5/6 0


How would I go about removing message icon usage altogether. I realize this is more of a template question than a theme question, however there is no "template design" forum. ;]



2
dfzor
Error changing default template
  • 2004/5/7 22:22

  • dfzor

  • Just popping in

  • Posts: 9

  • Since: 2004/5/6 0


edit: disregard, my problem was solved by removing the returns mentioned in this post:
https://xoops.org/modules/newbb/viewtopic.php?topic_id=19607&forum=27#forumpost84350



3
dfzor
Changing the folder name of a module?
  • 2004/5/7 12:58

  • dfzor

  • Just popping in

  • Posts: 9

  • Since: 2004/5/6 0


I'm not trying to weasel my way out of giving credit where credit is due, it's just that some of the folder names aren't as descriptive as they should be. For instance, if I wanted to use the ArMS module, only with a folder name of /articles/ instead of /arms/ in what file(s) is the folder name defined per module?

Thanks.



4
dfzor
Re: Call to a member function on a non-object
  • 2004/5/7 0:27

  • dfzor

  • Just popping in

  • Posts: 9

  • Since: 2004/5/6 0


Good call, thanks.

Any idea why it chokes on that line in the news?

It only seems to do that in IE, for me at least, which is interesting.



5
dfzor
Call to a member function on a non-object
  • 2004/5/7 0:06

  • dfzor

  • Just popping in

  • Posts: 9

  • Since: 2004/5/6 0


I apologize for my recent flood of questions, but I certainly do appreciate your quick responses.

After having successfully edited the phpkaox theme to produce the look I wanted (so far) I've run into a problem.

Quote:
Fatal error: Call to a member function on a non-object in /home/bluesum/public_html/xoops/header.php on line 112


Now it's obvious the root of my problems stems from the fact that I'm treading new waters here, but still, help is much appreciated.

You can see an example of what I'm talking about here:
http://www.bluesummers.com/xoops/modules/news

[edit] It seems that the news module sometimes works without the www. prefix on the URL, of course even then it doesn't display correctly as it chokes on this line:
<{include file='db:system_notification_select.html'}>

I've also turned off GZIP compression if that makes any difference.

Also, as it may be of importance, I removed all left, right and center-left/center-right blocks (the only one remaining is the content block) in the theme edits.



6
dfzor
Re: Blank screens and weird behaviour
  • 2004/5/6 23:47

  • dfzor

  • Just popping in

  • Posts: 9

  • Since: 2004/5/6 0


Assuming the admin section still works, you should turn on debug mode in general preferences.



7
dfzor
Re: Theme.html being re-written upon server-side execution?
  • 2004/5/6 21:00

  • dfzor

  • Just popping in

  • Posts: 9

  • Since: 2004/5/6 0


Ohhh - much appreciated.



8
dfzor
Theme.html being re-written upon server-side execution?
  • 2004/5/6 17:20

  • dfzor

  • Just popping in

  • Posts: 9

  • Since: 2004/5/6 0


So I'm trying to edit the phpkaox theme.html file, I go in and replace the current file with my edited one, which is as follows:

Quote:

<BASE CPTAG=1 HREF="http://bluesummers.com/">
<!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" href="img/css.css">
<style type="text/css">
@import url(img/css.css);
</style>

</head>
<body>
<div id="body">

<div id="body">
<div id="text">
<{$xoops_contents}>
</div>
</div>
<div id="footer"><img src="img/foot.png">
</div>
</div>

<div id="top">
<img src="img/top.png">
</div>
<div id="nav">
<a href="#" class="navtxt">home</a>
<img src="img/spacer.png">
<a href="#" class="navtxt">articles</a>
<img src="img/spacer.png">
<a href="#" class="navtxt">reviews</a>
<img src="img/spacer.png">
<a href="#" class="navtxt">forums</a>
<img src="img/spacer.png">
<a href="#" class="navtxt">about</a>
</div>
<div id="gad">
<img src="img/placeholder.gif">
</div>
</body>
</html>


Now the changes are uploaded, file is overwritten, then I go to view my new page and the code is gimped, as is it in the theme.html file, it gets turned into this:

Quote:

<BASE CPTAG=1 HREF="http://bluesummers.com/">
<!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">
<!--
<{$xoops_js}>
//-->
</script>
</head>
<body><BASE CPTAG=1 HREF="http://bluesummers.com/">
<!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" href="img/css.css">
<style type="text/css">
@import url(img/css.css);
</style>

</head>
<body>
<div id="body">

<div id="body">
<div id="text">
<{$xoops_contents}>
</div>
</div>
<div id="footer"><img src="img/foot.png">
</div>
</div>

<div id="top">
<img src="img/top.png">
</div>
<div id="nav">
<a href="#" class="navtxt">home</a>
<img src="img/spacer.png">
<a href="#" class="navtxt">articles</a>
<img src="img/spacer.png">
<a href="#" class="navtxt">reviews</a>
<img src="img/spacer.png">
<a href="#" class="navtxt">forums</a>
<img src="img/spacer.png">
<a href="#" class="navtxt">about</a>
</div>
<div id="gad">
<img src="img/placeholder.gif">
</div>
</body>
</html></body></html></body></html>

</body></html></body></html>


Take note that the javascript reference I had removed is now back, there are way too many <body> tags, <html> tags, basically it's ignoring everything I just changed and reverting back to its old self with my changes appended at the very bottom - doing all of nothing.

Now why is XOOPS re-coding the theme file?



9
dfzor
Designing Xoops to be behind-the-scenes?
  • 2004/5/6 0:30

  • dfzor

  • Just popping in

  • Posts: 9

  • Since: 2004/5/6 0


I'm working on a design, and in it there will be no public login, no publicly submitted reviews, the only thing users will be used for are the forums and the comments. What will be public is the news, articles, reviews, etc...

The way I wanted it was so everything would be done by myself and a couple friends so in essence, to the public, the inner-workings of the site are unknown to them.

This brings me to my question, if I was to have admin.php (and all admin-related modules) use one theme/template, and everything that I made public use a separate theme/template, how might I go about doing this?

I'm just worried that if I take the entire theme and scrap everything, including the side dynamically-driven navigations (because I plan to use a static navigation on the public theme) I'll lose that in the admin area - which would make it useless.

Thanks.




TopTop



Login

Who's Online

135 user(s) are online (79 user(s) are browsing Support Forums)


Members: 0


Guests: 135


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