21
luthermartin
Quirky "Article" Sub Menu

XOOPS Version: 2.4.4
Module Name/Version:
PHP Version:5.2 +
MySQL Version: 5.1.45
Web Server Software (Apache/IIS/Other): Apache
Operating System: Vista
Default Theme
No custom Template

PHP Debug Messages:
404 Not Found
The requested URL /mbicms/modules/AMS/Default/Photography/how-to-submit-articles-op1id1pg0.htm does not exist

Description of the issue:
In my Main Menu, under the "Article Menu, " when I open a posted article and click on the "Read more..." or "Comments?" buttons located in the bottom right hand corner of the posted article, I am sent to a page with the following.
"404 Not Found
The requested URL /mbicms/modules/AMS/Default/Photography/how-to-submit-articles-op1id1pg0.htm does not exist."

How can I fix this to work in a more elegant manner such as "End of article" or "No comments attached yet," and return the reader to the original posting rather than an error page.




22
luthermartin
exnews v2

I need to make changes in the menu of exnews v2, but I do not know where to start. I looked in theme.html and I see the items that I want to change, but I am not sure that this is the file that I need to use to make menu changes.

Also, during my search, I found information in the themes forum to help me remove the two empty cells text and I intend to try that modification using theme.html. Can someone tell me if I am on the correct track for changing the menu items?



23
luthermartin
Re: Exnews v2.0

I tried to modify Exnews theme using the code listed in the threads. It did not remove the empty cells text. Has anyone managed to get the empty cells text removed? I made the modifications as indicated below:


<!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><body bgcolor="#FFFFFF">
<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="Microsoft FrontPage 5.0" />
<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>
<body bgcolor="#FFFFFF">

<!-- changes start here -->
<!-- Header -->
<table cellspacing="0" class="main" align="center">
<tr>

<td id="headerbarcenter"><a href="<{xoAppUrl /}>"><img src="<{xoImgUrl img/logo.jpg}>" alt="" border="0" /></a></td>

</tr>
<tr>
<td>
<table cellspacing="0" id="topMenu" >
<tr>
<td><a href="<{xoAppUrl /}>">home</a></td>
<td><a href="<{xoAppUrl /modules/news}>">news</a></td>
<td><a href="<{xoAppUrl /modules/article}>">articles</a></td>
<td><a href="<{xoAppUrl /modules/newbb}>">forum</a></td>
<td><a href="<{xoAppUrl /modules/extgallery}>">gallery</a></td>
<td><a href="<{xoAppUrl /modules/extcal}>">events</a></td>
<td><a href="<{xoAppUrl /modules/formulaire}>">contact</a></td>
</tr>
</table>
<!-- changes end here -->
</td>
</tr>
<tr>
<td id="userSection"><{$smarty.now|date_format:"%A, %B %e, %Y"}> | <{if $xoops_isuser}> Hello <a href="<{xoAppUrl /user.php}>"><{$xoops_uname}></a> |
<a href="<{xoAppUrl /user.php?op=logout}>">logout</a>
<{else}> <a href="<{xoAppUrl /user.php}>">Login</a>
<{/if}> </td>
</tr>
</table>

</tr>

<tr>
<td width="266" bgcolor="#8C0003" colspan="2" height="8" border="0" cellspacing="0" cellpadding="1"> </td>
</tr>


<tr>
<td align="center" colspan="2"><table cellspacing="0" cellpadding="0" width="300px" border="0">
<tr align="center" width="300px">


<td width="0" bgcolor="#d7d7d7"></td>
<td id="headerbar"><a class="menuHead"
href="<{$xoops_url}>/index.php">HOME</a></td>

<td width="1" bgcolor="#d7d7d7"></td>
<td id="headerbar"><a class="menuhead"
href="<{$xoops_url}>/modules/news/archive.php">ARCHIVES</a></td>

<td width="1" bgcolor="#d7d7d7"></td>
<td id="headerbar"><a class="menuHead"
href="<{$xoops_url}>/modules/wfchannel/index.php?pagenum=2">WFCHANNEL</a></td>

<td width="1" bgcolor="#d7d7d7"></td>
<td id="headerbar"><a class="menuHead"
href="<{$xoops_url}>/modules/contact/">CONTACT</a></td>

<td width="1" bgcolor="#d7d7d7"></td>
<td id="headerbar"><a class="menuHead"
href="<{$xoops_url}>/modules/myalbum/">MYALBUM</a></td>

<td width="1" bgcolor="#d7d7d7"></td>
<td id="headerbar"><a class="menuHead"
href="<{$xoops_url}>/modules/wfchannel/index.php?pagenum=3">ADVERTISING</a></td>

<td width="1" bgcolor="#d7d7d7"></td>
<td id="headerbar"><a class="menuHead"
href="<{$xoops_url}>/modules/myAds/">CLASSIFIEDS</a></td>


<td width="1" bgcolor="#d7d7d7"></td>


</tr>
</table><tr><td id="headerbar_vrijeme"> <span id="clock"></span>
<script language="JavaScript" type="text/javascript" src="<{$xoops_url}>
/themes/exnews/clock.js">
</script>&nbsp; |<{if $xoops_isuser}>  Hello <a href="<{$xoops_url}>/user.php"><{$xoops_uname}></a> <{/if}></span> <span class="right">
<{if $xoops_isuser}> <a href="<{$xoops_url}>/user.php?op=logout"></a>
<{else}> &nbsp;&nbsp;&nbsp; <a href="<{$xoops_url}>/user.php">Login</a>
<{/if}>
</td> </td>

<table cellspacing="0">
<tr>
<td id="leftcolumn">

<!-- Start left blocks loop -->
<br>
<{foreach item=block from=$xoops_lblocks}>
<div class="blockTitle"><{$block.title}></div>
<div class="blockContent"><{$block.content}></div>
<img src="<{$xoops_imageurl}>160.gif" width="120" height="1" alt="" />
<{/foreach}>
<!-- End left blocks loop -->

<br>
<br />
</td>

<td id="centerLcolumn">

<!-- Start center-left blocks loop -->

<{foreach item=block from=$xoops_clblocks}>
<table class="blok" align="center" cellpadding="3" cellspacing="2">
<tr>
<td> <div class="blockTitle"><{$block.title}></div>
<div class="blockContent"><{$block.content}></div></td>
</tr>
</table>
<{/foreach}>

<!-- End center-left blocks loop -->
<td id="centercolumn">

<!-- Start center-right blocks loop -->
<{foreach item=block from=$xoops_crblocks}>
<div class="blockTitle"><{$block.title}></div>
<div class="blockContent"><{$block.content}></div>

</div>
<{/foreach}>
<!-- End center-right blocks loop -->
<div id="content"><div class="blockTitle">
<{$xoops_contents}>

</div></div>


<!-- 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}>
<div class="blockTitle"><{$block.title}></div>
<div class="blockContent"><{$block.content}></div>
<{/foreach}>
<!-- End center-center blocks loop -->

</td>
</tr>
<tr>


</td>

</td>
</tr>
</table>

<{/if}>
<!-- End display center blocks -->



</td>


<{if $xoops_showrblock == 1}>


<td id="rightcolumn">
<!-- Start right blocks loop -->
<{foreach item=block from=$xoops_rblocks}>
<div class="blockTitle"><{$block.title}></div>
<div class="blockContent"><{$block.content}></div>
<img src="<{$xoops_imageurl}>160.gif" width="120" height="1" alt="" />
<{/foreach}>
<!-- End right blocks loop -->

<br />
<br />
</td>
<td id="centerRcolumn">



<{/if}>


</tr>
</table>

<table width="1200" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="footerbar">
| 2004 | EXNEWS | </a>
</td>
</tr>
</table>
</td>
</tr>
</table>

</body>

<td id="footerbar" width="125"><p align="center">
| <a target='_blank' title='joomla templates' href='http://www.themesbase.com/Joomla-Templates/'>themesbase</a>
<br><img border="0" src="<{$xoops_url}>/images/poweredby.gif"><br>
<br>Powered by <a target="_blank" href="https://xoops.org/">Xoops</a> CMS</td>
</html>




24
luthermartin
Re: security considerations

Thanks to all of you for providing this information. Tonight, I will try the path change recommendations with my Host.

If that does not work, I understand how to implement the workaround. In fact, that is what I have done, but I need to put the .htaccess file in the mix.




luthermartin
Re: security considerations




26
luthermartin
Re: ZenCart On XOOPS

Hiro,

Can you send an explanation of how to work with ZOX in Japanese? I will get it translated and placed in the forum. I managed to get it installed, but I need more information to make modifications. It is an exceptional mod. Below is the Japanese translation.

ヒロ、どのように日本語で全て削除で動作するのexpalnationを送信できますか?私はそれを翻訳し、フォーラムでの配置を取得します。私はそれをインストールされて得ることができたが、私は改造してより多くの情報が必要です。これは例外的なModは。




TopTop
« 1 2 (3)



Login

Who's Online

230 user(s) are online (148 user(s) are browsing Support Forums)


Members: 0


Guests: 230


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