1
grega1
Re: Trying to get rid of one pixel of white space between columns
  • 2007/10/30 6:33

  • grega1

  • Just popping in

  • Posts: 15

  • Since: 2005/1/6 1


I figured out the white line mystery. In the templates_c folder, there is a file homepage^theme.html. It was pointing to market/system.html instead of homepage/system.html. As a result it was using the market theme's module spacing. Here's the corrected code.

<body>
<?php if ($this->_tpl_vars['xoops_isuser'] == 1): ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include("market/modules.html", array());
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>

<?php else: ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include("homepage/system.html", array());
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<?php endif; ?>

Hope this helps others.

Greg



2
grega1
Re: XMT Help - how to remove border around centre block
  • 2007/10/30 6:32

  • grega1

  • Just popping in

  • Posts: 15

  • Since: 2005/1/6 1


I figured out the white line mystery. In the templates_c folder, there is a file homepage^theme.html. It was pointing to market/system.html instead of homepage/system.html. As a result it was using the market theme's module spacing. Here's the corrected code.

<body>
<?php if ($this->_tpl_vars['xoops_isuser'] == 1): ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include("market/modules.html", array());
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>

<?php else: ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include("homepage/system.html", array());
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<?php endif; ?>

Hope this helps others.

Greg



3
grega1
Re: Trying to get rid of one pixel of white space between columns
  • 2007/10/30 1:51

  • grega1

  • Just popping in

  • Posts: 15

  • Since: 2005/1/6 1


no, I'm not bethanyw (she's a lot smarter than me). We are both working on the same project and trying to figure this out together.

I didn't know that she already posted a thread...

Greg



4
grega1
Re: Trying to get rid of one pixel of white space between columns
  • 2007/10/30 1:13

  • grega1

  • Just popping in

  • Posts: 15

  • Since: 2005/1/6 1


Thanks Will,

here's the code from the theme dir being used for the homepage:

<{php}>
$GLOBALS['xoopsTpl']->assign( 'xoops_ugroup', $GLOBALS['xoopsUser']->_groups[0] );
<{/php}>
<!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>
<{$calendarjs}>
<link href="<{$xoops_url}>/favicon.ico" rel="SHORTCUT ICON" />
<link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_url}>/xoops.css" />
<link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_imageurl}>styles.css" />
<!-- RMV: added module header -->
<{$xoops_module_header}>
<script type="text/javascript">
<!--
<{$xoops_js}>
//-->
</script>
</head>
<body>
<div align='center'>
<div class='wrapper'>
<{if $xoops_isuser == 1}>

<{include file="market/modules.html"}>

<{else}>
<div style='width: 1024px; height: 623px;'>
<{include file="market/system.html"}>
</div>
<{/if}>
</div>
</div>
<script type="text/javascript" language="javascript">
</script>
<script type="text/javascript" src="http://www.marketagenda.com/stats/php-stats.js.php"></script>
<noscript><img src="http://www.marketagenda.com/stats/php-stats.php" border="0" alt=""></noscript>
</body>
</html>



Thanks.



5
grega1
Trying to get rid of one pixel of white space between columns
  • 2007/10/29 18:41

  • grega1

  • Just popping in

  • Posts: 15

  • Since: 2005/1/6 1


I am trying to get rid of the one pixel of white space between the columns on my home page. It runs from the top to bottom of the page. I believe it is space.gif, but I don't know where to delete the code for it from. I am running Theme Change to push a custom home page that uses a different theme than the rest of the site. I tried system.html in the themes directory for the homepage with no effect.

You can see what I am talking about on my homepage at www.marketagenda.com

Any help would be appreciated.

Thanks



6
grega1
How do I embed the login module in an image map on a home page?
  • 2007/10/20 4:45

  • grega1

  • Just popping in

  • Posts: 15

  • Since: 2005/1/6 1


I created a module to load an image map to be my home page for my site. I am having a trouble figuring out how to get the html code contained in system_block_login.html (the login module) to show up in the image map.

Can someone help me out?

Thanks.



7
grega1
HTML code being displayed on some e-mail clients
  • 2006/9/26 16:28

  • grega1

  • Just popping in

  • Posts: 15

  • Since: 2005/1/6 1


The problem is that when i run a cron job to send an email, newsletter, it displays the html code on some email clients. On my yahoo and godaddy account it comes out fine but not on Outlook and gmail.

The first line reads:

Content-type: text/html; charset=iso-8859-1

Can anyone offer me some guidance?

Thanks



8
grega1
Hack needed to capture IP address in MySQL during registration
  • 2006/3/23 5:51

  • grega1

  • Just popping in

  • Posts: 15

  • Since: 2005/1/6 1


I need some help hacking XOOPS so that it will capture a new user's IP address in the MySQL database in the Xoops_User table during the registration process.

It is necessary to capture the users IP address along with timestamp, and opt-in acceptance to comply with the Can Spam Act for doing e-mailings to users.

Can anyone offer assistance?

Regards,
Greg



9
grega1
Hack needed to capture IP address in MySQL during registration
  • 2006/3/21 4:51

  • grega1

  • Just popping in

  • Posts: 15

  • Since: 2005/1/6 1


I need some help hacking XOOPS so that it will capture a new user's IP address in the MySQL database in the Xoops_User table during the registration process.

It is necessary to capture the users IP address along with timestamp, and opt-in acceptance to comply with the Can Spam Act for doing e-mailings. I'm surprised this hasn't been built into the core already.

Can anyone offer assistance?

Regards,
Greg



10
grega1
IE Popup Blocker interfering with link redirects
  • 2005/2/23 8:08

  • grega1

  • Just popping in

  • Posts: 15

  • Since: 2005/1/6 1


Does anyone know why IE's Popup blocker would cause a link redirect to open a window briefly then close when you click on a link redirect in Xoops? If I turn off IE's Popup Blocker, the new window opens fine.




TopTop
(1) 2 »



Login

Who's Online

218 user(s) are online (159 user(s) are browsing Support Forums)


Members: 0


Guests: 218


more...

Donat-O-Meter

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

Latest GitHub Commits