1
D4rkAng3l
an other litle problem trying modify phpkaox theme
  • 2006/9/14 13:42

  • D4rkAng3l

  • Just popping in

  • Posts: 24

  • Since: 2005/12/26


Hello,
I had to change the XOOPS logo situeted at left in upper part of page of phpkaox theme but I have a problem...

I had to change XOOPS logo situated in the left upper part of site...if I change the name of file to load the site load the default logo...the line of code is:

<td width="285"><a href="<{$xoops_url}>"><img src="<{$xoops_imageurl}>images/logo.gif" alt="logo" align="middle" />a>td>


if I change the logo.gif with my file: themelogo.gif the site load ever logo.gif
If I tried to delete this line of code...same situation....when I open my site I see XOOPS logo.gif file :-/

The only way that I have fine is rename my themelogo as logo.gif and take it in the righ directory of server but this is not the best solution because I would use a jpg file and not a gif file....

What I have to do?

theme.html is:

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}>" />

<{
$xoops_module_header}>
<
script type="text/javascript">

script>
head>
<
body>
<
table cellspacing="1" cellpadding="0" bgcolor="#666666">
  <
tr>
    <
td bgcolor="#DDE1DE">
      <
table cellspacing="0" cellpadding="0">
        <
tr>
          <
td width="285"><a href="<{$xoops_url}>"><img src="<{$xoops_imageurl}>images/logo.gif" alt="logo" align="middle" />a>td>
          <
td width="100%" align="center"><div style="text-align: center; padding-top: 5px;"><{$xoops_banner}>div>td>
        tr>
      table>
    td>
  tr>
  <
tr>
    <
td bgcolor="#FFFFFF">
      <
table cellspacing="0" cellpadding="0">
        <
tr>
          <
td width="20%" bgcolor="#EFEFEF">
          
            <{foreach 
item=block from=$xoops_lblocks}>
            <
table cellspacing="0" cellpadding="2">
              <
tr>
                <
td class="blockTitle">&nbsp;<{$block.title}>td>
              tr>
              <
tr>
                <
td class="blockContent"><{$block.content}>td>
              tr>
            table>
            <{/foreach}>
          
          td>
          <
td style="padding: 0px 5px 0px;" align="center">
          
            <{if 
$xoops_showcblock == 1}>

            <
table cellspacing="0">
              <
tr>
                <
td width="100%" colspan="2">

                
                  <{foreach 
item=block from=$xoops_ccblocks}>
                  <
table cellspacing="1" cellpadding="5">
                    <
tr>
                      <
td class="blockTitle">&nbsp;<{$block.title}>td>
                    tr>
                    <
tr>
                      <
td class="blockContent"><{$block.content}>td>
                    tr>
                  table>
                  <{/foreach}>
                

                td>
              tr>
              <
tr>
                <
td width="50%">

                
                  <{foreach 
item=block from=$xoops_clblocks}>
                  <
table cellspacing="1" cellpadding="5">
                    <
tr>
                      <
td class="blockTitle">&nbsp;<{$block.title}>td>
                    tr>
                    <
tr>
                      <
td class="blockContent"><{$block.content}>td>
                    tr>
                  table>
                  <{/foreach}>
                

                td><td width="50%">

                
                  <{foreach 
item=block from=$xoops_crblocks}>
                  <
table cellspacing="1" cellpadding="5">
                    <
tr>
                      <
td class="blockTitle">&nbsp;<{$block.title}>td>
                    tr>
                    <
tr>
                      <
td class="blockContent"><{$block.content}>td>
                    tr>
                  table>
                  <{/foreach}>
                

                td>
              tr>
            table>

            <{/if}>
            

            <
div id="content">
              <{
$xoops_contents}>
            div>
          td>

          <{if 
$xoops_showrblock == 1}>
          <
td width=20bgcolor=#efefef align=center>
          

            <{foreach 
item=block from=$xoops_rblocks}>
            <
table cellspacing="0" cellpadding="2">
              <
tr>
                <
td class="blockTitle">&nbsp;<{$block.title}>td>
              tr>
              <
tr>
                <
td class="blockContent"><{$block.content}>td>
              tr>
            table>
            <
br />
            <{/foreach}>
          
          <{/if}>
          td>
        tr>
      table>
    td>
  tr>
  <
tr>
    <
td height="30" valign="middle" bgcolor="#DDE1DE" align="center"><div style="text-align: center; padding-top: 2px; font-size: 10px"><{$xoops_footer}>div>td>
  tr>
table>
body>
html>


Please help me

Thanks
Andrea

2
m0nty
Re: an other litle problem trying modify phpkaox theme
  • 2006/9/14 13:48

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


make sure 'update theme & template files' is enabled in admin preferences when you make changes to themes or templates..

alternatively, once you have made changes to your themes html, you can empty the contents of the templates_c folder otherwise your changes will not be displayed until XOOPS next recompiles them..

Login

Who's Online

267 user(s) are online (99 user(s) are browsing Support Forums)


Members: 0


Guests: 267


more...

Donat-O-Meter

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

Latest GitHub Commits