11
TooBaked
Re: Header problem with theme
  • 2004/2/19 4:09

  • TooBaked

  • Just popping in

  • Posts: 37

  • Since: 2003/2/9 5


Ok alittle something for all you newbie Xooops Designers.

I had this problem with my theme on my main site not changing when I edit my theme.html or style.css files. it would only occur with certain parts like the head and the foot which was all edited before. problem was I moved my site to a different directory in my file manager. when I did that alot of the files that were CHMOD 0777 or 777 all changed to 0755 or 755.
this caused my templates_c not to be writable except by the owner. which made it so when I switched on the edit theme update section in preferences>>general settings>> it would not write to the template_c file. so make sure if you ever move your site to change the permissions on your files.
cache, template_c, uploads, and mainfile.php. now obviously before i used this site I went and changed the CHMOD on mainfile cuz I had to change the define root url. maybe just maybe some day soon XOOPS developers could add a warning such as the one that is on Page #2 of installation wizard, to the admin page to work at all times incase this small problem occurs. jeez for a newbie like me it took 24 hours to figure it out. I only been using XOOPS for 3 years. man o man where did those 3 years go?



12
TooBaked
Header problem with theme
  • 2004/2/19 2:45

  • TooBaked

  • Just popping in

  • Posts: 37

  • Since: 2003/2/9 5


Ok here is what I got, this is My head copied from HTML editor.

<---------Start------------>
<!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}>" />
<!-- RMV: added module header -->
<{$xoops_module_header}>
<script type="text/javascript">
<!--
<{$xoops_js}>
//-->
</script>


</head>
<body>
<table align="center" cellpadding="0" cellspacing="0" class="head_buttons">
<tr>
<td align="right" class="buttons_menu"><span class="right">
</span><span class="left" align="bottom"></span> <span class="right"><a href="http://stradegyonline.net/">MAIN</a> </span><span class="left" align="bottom"><img src="<{$xoops_imageurl}>images/divider.gif" alt="" height="14" border="0" /></span><span class="right"><a href="<{$xoops_url}>/modules/newbb"> FORUMS </a></span><span class="left" align="bottom"><img src="<{$xoops_imageurl}>images/divider.gif" alt="" height="14" border="0" /></span><span class="right"><a href="<{$xoops_url}>/modules/news/"> NEWS </a></span><span class="left" align="bottom"><img src="<{$xoops_imageurl}>images/divider.gif" alt="" height="14" border="0" /> </span><span class="right"><a href="<{$xoops_url}>/modules/mydownloads/"> DOWNLOADS </a></span><span class="left" align="bottom"><img src="<{$xoops_imageurl}>images/divider.gif" alt="" height="14" border="0" /></span> <span class="right"><a href="<{$xoops_url}>/modules/mylinks/"> LINKS </a></span><span class="left" align="bottom"><img src="<{$xoops_imageurl}>images/divider.gif" alt="" height="14" border="0" /></span> <span class="right"><a href="<{$xoops_url}>/modules/contact/"> CONTACT </a></span><span class="left" align="bottom"><img src="<{$xoops_imageurl}>images/divider.gif" alt="" height="14" border="0" /></span><span class="left" align="bottom"> </span></td>
</tr>
</table>
<table align="center" cellpadding="0" cellspacing="0"
<tr>
<td align="right" class="buttons_menu1"><span class="right">
</span><span class="left" align="bottom"></span> <span class="right">WORLD WIDE WEB OF HARDCORE GAMING</td>
</tr>
</table>
<----------End------------>


This is what is it producing on my page.
<!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="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="content-language" content="en" />
<meta name="robots" content="index,follow" />
<meta name="keywords" content="news, technology, headlines, xoops, xoop, nuke, myphpnuke, myphp-nuke, phpnuke, SE, geek, geeks, hacker, hackers, linux, software, download, downloads, free, community, mp3, forum, forums, bulletin, board, boards, bbs, php, survey, poll, polls, kernel, comment, comments, portal, odp, open, source, opensource, FreeSoftware, gnu, gpl, license, Unix, *nix, mysql, sql, database, databases, web site, weblog, guru, module, modules, theme, themes, cms, gaming, online gaming, buy games, PC, accessories, web store, best hosting, Stradegy Web Hosting, domain registration, dedicated server, backbone, lan, party, cheapest games, below retail, buy games now" />
<meta name="description" content="StradegyOnline is a hardcore gaming community built by gamers for gamers. news, games discounts, reviews previews , demos, update patches, downloads, gallery, Forums and more...." />
<meta name="rating" content="general" />
<meta name="author" content="StradegyOnline Team™ webmaster@stradegyonline.net" />
<meta name="copyright" content="Copyright © 2003 - 2004 | The Stradegy Team ™" />
<meta name="generator" content="XOOPS" />
<title>Stradegy Online - Gaming Community - Be prepared.... We are!</title>
<link href="http://stradegyonline.net/favicon.ico" rel="SHORTCUT ICON" />
<link rel="stylesheet" type="text/css" media="all" href="http://stradegyonline.net/xoops.css" />
<link rel="stylesheet" type="text/css" media="all" href="http://stradegyonline.net/themes/Stradegy/style.css" />
<!-- RMV: added module header -->

<script type="text/javascript">
<!--
//--></script><script type="text/javascript" src="http://stradegyonline.net/include/xoops.js"></script><script type="text/javascript"><!--
//-->
</script>


</head>
<body>
<table align="center" cellpadding="0" cellspacing="0" class="head_buttons">
<tr>
<td align="right" class="buttons_menu"><span class="right">
</span><span class="left" align="bottom"></span> <span class="right"><a href="http://stradegyonline.net/">MAIN</a> </span><span class="left" align="bottom"><img src="http://stradegyonline.net/themes/Stradegy/images/divider.gif" alt="" height="14" border="0" /></span><span class="right"><a href="http://stradegyonline.net/modules/newbb"> FORUMS </a></span><span class="left" align="bottom"><img src="http://stradegyonline.net/themes/Stradegy/images/divider.gif" alt="" height="14" border="0" /></span><span class="right"><a href="http://stradegyonline.net/modules/news/"> NEWS </a></span><span class="left" align="bottom"><img src="http://stradegyonline.net/themes/Stradegy/images/divider.gif" alt="" height="14" border="0" /> </span><span class="right"><a href="http://stradegyonline.net/modules/mydownloads/"> DOWNLOADS </a></span><span class="left" align="bottom"><img src="http://stradegyonline.net/themes/Stradegy/images/divider.gif" alt="" height="14" border="0" /></span> <span class="right"><a href="http://stradegyonline.net/modules/mylinks/"> LINKS </a></span><span class="left" align="bottom"><img src="http://stradegyonline.net/themes/Stradegy/images/divider.gif" alt="" height="14" border="0" /></span> <span class="right"><a href="http://stradegyonline.net/modules/contact/"> CONTACT </a></span><span class="left" align="bottom"><img src="http://stradegyonline.net/themes/Stradegy/images/divider.gif" alt="" height="14" border="0" /></span><span class="left" align="bottom"> </span></td>
</tr>
</table>
<table align="center" cellpadding="0" cellspacing="0" class="head_table">
<tr>
<td width="750" class="head_logo"><a href="http://stradegyonline.net/"><p> <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="750" height="150">
<param name="movie" value="http://stradegyonline.net/themes/Stradegy//images/sobanner.swf"><param name="quality" value="high"><embed src="http://stradegyonline.net/themes/Stradegy//images/sobanner.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash">
</embed></object></p></a></td>
</tr>
</table>
<table align="center" cellpadding="0" cellspacing="0" class="head_buttons">
<tr>
<td align="right" class="buttons_menu1"><span class="right">
</span><span class="left" align="bottom"></span> <span class="right">WORLD WIDE WEB OF HARDCORE GAMING</td>
</tr>
</table>
<table align="center" class="body_table">
<tr>
<td><table border="0" cellpadding="0" cellspacing="0">
<tr> <td rowspan="2" valign="top" id="leftcolumn">

Now if it is not defining these properties in theme.html or style.css where else could it possibly come from? I have deleted my cookies and emptied my cache folder and it still comes up with a flash banner and a table thats not even in the theme.html
is there something im not doing as far as updating the theme?
can anyone help
code is sloppy and still needs to be cleaned up but still it should not be producing this flash banner in my theme



13
TooBaked
Re: Theme headerlogo and nav
  • 2004/2/18 0:25

  • TooBaked

  • Just popping in

  • Posts: 37

  • Since: 2003/2/9 5


Quote:

sunsnapper wrote:
Though, I would suggest have an image to to display to users without Flash, so they don't get the ugly plug-in box in Netscape/Mozilla/Firebird (and tiled bg stripes).


I have an exact copy of the flash banner in .JPEG format could you offer some idea on how to implement this option so both parties can view? I could use flash or non flash selection on Main entery page correct? but how do I implement both styles without have 2 whole themes is there a simple script to do this in the theme itself?
Quote:

sunsnapper wrote:
You might also consider using more space between columns, just to make things "less cluttered" and easier to read. But, it looks like you are getting your design into XOOPS without trouble.


Yeah each day I work on this it gets easier and easier. Studio MX 2004 with flash Pro MX helps too : )~
My main task at hand right now is Text background and borders. then Im really going to have to go back and touch it up. I have a partner working on some of the images if you look in the forum and search for a member they are quite nice.






14
TooBaked
Re: Theme headerlogo and nav
  • 2004/2/16 6:56

  • TooBaked

  • Just popping in

  • Posts: 37

  • Since: 2003/2/9 5


well its 90% done how is it looking so far can I get some feedback please?



15
TooBaked
Re: how to set the # of article in News page to 1
  • 2004/2/16 6:35

  • TooBaked

  • Just popping in

  • Posts: 37

  • Since: 2003/2/9 5


Thanks much I would have never looked in that file



16
TooBaked
Re: Installing Theme
  • 2004/2/16 6:33

  • TooBaked

  • Just popping in

  • Posts: 37

  • Since: 2003/2/9 5


if you have multiple themes selected for use then you need to set it to the one you want one main page with the theme selection block. otherwise it will stay with the one you had selected previously as your defualt try deleting cookies and see if it works. make sure your theme is for XOOPS 2.0 and not 1.3.x.
most of the good themes will come with a docs or readme file to explain the specific directions of installation.
is it a custom theme did you download it where is the theme from?



17
TooBaked
Re: Installing Theme
  • 2004/2/16 3:37

  • TooBaked

  • Just popping in

  • Posts: 37

  • Since: 2003/2/9 5


your theme should have a folder when you extracted the theme from .zip or .tar file it has the name of the theme. upload that folder to your theme dir via FTP

since you already uploaded your template from the XOOPS template system.

then goto your preferences/general settings and select your theme from the list and select the template you want to use for the theme as well and update settings.

your theme should now work for you




18
TooBaked
Re: Print Friendly (whole thread)
  • 2004/2/16 3:03

  • TooBaked

  • Just popping in

  • Posts: 37

  • Since: 2003/2/9 5


I think its a good idea, to add to it maybe you can allow to opt out certain news items. run a row of radio boxes down left side so they can manually select or select all and print the items they really want for archive.



19
TooBaked
Re: News Img to close to text
  • 2004/2/16 2:56

  • TooBaked

  • Just popping in

  • Posts: 37

  • Since: 2003/2/9 5


whats the web address so we can see the image?



20
TooBaked
Re: How can I get only the module center block without displaying the header, footer, and side blocks
  • 2004/2/16 2:39

  • TooBaked

  • Just popping in

  • Posts: 37

  • Since: 2003/2/9 5


<td colspan="2" id="centerCcolumn">
<!-- Start center-center blocks loop -->
<{foreach item=block from=$xoops_ccblocks}> <{include file="your_theme_folder/theme_blockcenter_c.html"}>
<{/foreach}>
<!-- End center-center blocks loop -->




TopTop
« 1 (2) 3 4 »



Login

Who's Online

131 user(s) are online (74 user(s) are browsing Support Forums)


Members: 0


Guests: 131


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