PEAK XOOPS - TinyContentD posibble bug? in englishin japanese

TinyContentD posibble bug?

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 .2 .3 | Posted on 2004/6/20 7:50
tetsuo  Private   Posts: 5
Hello,

I've downloaded the lates version from your website, installed as described on README file, and got a few questions.

1) I've created some content, and it instantly showed up in Main Menu, know any hack to get rid of it ? I just want to have a separate menu for TCD.

2) Either I've selected NOT to show the "Send to a friend" and "Printer Friendly" icon, I can still see them...

2) TinyContent0 -> Blocks/Groups -> "TinyD 0 Menu" and "TinyD 0 Content"
When I enable the "TinyD 0 Menu" it nicely shows up, but when I enable "TinyD 0 Content" (after selecting some content form dropdown menu) I get a blank page when I access my website (I'm only capable of accessing admin section, rest of site of somehow disabled -btw. I've got content selected to be my first access page). Got any ideas what might be wrong?

Anyways, good job :)

//EDIT
hmm... before I've installed your module I had a standard tinecontent module, maybe my mysql database is somehow incompatibile with your TCD?
Votes:38 Average:9.21
Previous post - Next post | Parent - Children.1 | Posted on 2004/6/20 10:11
rocket98  Lance Corporal   Posts: 22
Hey,

I'll jump on board in this post i have the exact same No.2 problem. Same thing with blank pages only admin access.

ex. news feeds coming in

> Mainmenu (click here gets first page)
First Page (redundant now)
Second Page (works as expected)
Third Page (works as expected)

I can't seem to assign a pagewrap or anything to MainMenu causes error. Played with this quite a bit today same result all time.

my play site:
http://servicelance.com/index.php
(might be gone in a day or two)

Menu named Newsstand (leftsite)
Menu named Restaurants - need a splash page when Restaurants is clicked can't do it some reason. On news stand i guess it does not matter there i can pull in some other info for that page and hope it works. I'll play somemore.

etc, etc.

pls advise

And thank you. Without people like you ( is it GIJOE? ) doing great work like this for the community we would still be typing things and passing notes in classrooms. Especially us non programmer types :)

Best Regards, rocket98
Votes:3 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2004/6/21 17:27
GIJOE  Gunnery Sergeant   Posts: 4110
hi tetsuo.
Quote:
1) I've created some content, and it instantly showed up in Main Menu, know any hack to get rid of it ? I just want to have a separate menu for TCD.
It's a general FAQ of XOOPS.
You can set 0 as priority of modules in modules admin.

Quote:
2) Either I've selected NOT to show the "Send to a friend" and "Printer Friendly" icon, I can still see them...
If you use default templates set, it is probably caused your forgetting "module update".
If you've use custom templates set, copy tinycontent_index.html in default template set into your custom templates set.

Quote:
2) TinyContent0 -> Blocks/Groups -> "TinyD 0 Menu" and "TinyD 0 Content"
When I enable the "TinyD 0 Menu" it nicely shows up, but when I enable "TinyD 0 Content" (after selecting some content form dropdown menu) I get a blank page when I access my website (I'm only capable of accessing admin section, rest of site of somehow disabled -btw. I've got content selected to be my first access page). Got any ideas what might be wrong?
It is possibly a bug.
I'll check this.

Quote:
//EDIT
hmm... before I've installed your module I had a standard tinecontent module, maybe my mysql database is somehow incompatibile with your TCD?
No.
TinyD has compatibility with the table structure of original Tiny Content.
Votes:1 Average:10.00
Previous post - Next post | Parent - No child | Posted on 2004/6/21 18:47
GIJOE  Gunnery Sergeant   Posts: 4110
Quote:
Quote:
2) TinyContent0 -> Blocks/Groups -> "TinyD 0 Menu" and "TinyD 0 Content"
When I enable the "TinyD 0 Menu" it nicely shows up, but when I enable "TinyD 0 Content" (after selecting some content form dropdown menu) I get a blank page when I access my website (I'm only capable of accessing admin section, rest of site of somehow disabled -btw. I've got content selected to be my first access page). Got any ideas what might be wrong?
It is possibly a bug.
I'll check this.
I've just check this, but I can't find such errors.
Tell me the result when you turn "PHP debug" on.
Votes:4 Average:10.00
Previous post - Next post | Parent - Children.1 | Posted on 2004/6/21 18:57
GIJOE  Gunnery Sergeant   Posts: 4110
hi rocket98.
Your site looks good!

BTW, If you see blank page, turn "PHP debug" on.
I can't guess the cause of errors without such informations.

At least, I didnot see blank pages on your site when I visited your site.

Quote:
Menu named Newsstand (leftsite)
Menu named Restaurants - need a splash page when Restaurants is clicked can't do it some reason. On news stand i guess it does not matter there i can pull in some other info for that page and hope it works. I'll play somemore.
The splash page should be "home" and "visible on".
If you want eliminate its name from main menu, use "submenu" flags.
All contents but the splash page is turned "submenu" on, and the splash page is off.
I'm sorry if I misunderstood what you mean.
Votes:1 Average:10.00
Previous post - Next post | Parent - No child | Posted on 2004/6/22 3:39
rocket98  Lance Corporal   Posts: 22
Hi GIJOE,

No you hit it right in the head. I played around with "Vis" and "Sub" a bit this morning and have it working correct now. When user clicks Restaurants first item they see is Splash Page and extra listings are in the menu correct now.

Web site is a work in progress a replacement for a postnuke site I run now, thank you for comments still building and playing with stuff. Tiny content is very good addition for any Xoops user very simple to run once it's set up.

Only problem i have now i don't understand to well.

I want to put images on extra page How?

Images don't show unless I use full URL

http://website.com/xoops/modules/tinycontent1/images/imagename.jpg

I tried to use <{$xoops_imageurl}> but did not work for some reason.

<img src="<{$xoops_imageurl}>/modules/tinycontent01/content/images/image1.gif">

I will try this again to see if it can work, I need some way to pull small pictures into pages

Have a great day, afternoon, evening

regards
rocket98
Votes:1 Average:10.00
Previous post - Next post | Parent - Children.1 | Posted on 2004/6/22 5:58
GIJOE  Gunnery Sergeant   Posts: 4110
hi rocket98:
Quote:
I want to put images on extra page How?

Images don't show unless I use full URL

http://website.com/xoops/modules/tinycontent1/images/imagename.jpg

I tried to use <{$xoops_imageurl}> but did not work for some reason.

<img src="<{$xoops_imageurl}>/modules/tinycontent01/content/images/image1.gif">

I will try this again to see if it can work, I need some way to pull small pictures into pages
If you use page wrap, put images into content/ and use WRAP2 or WRAP4.
The relative links will be shown well.

If you use content, use [ img] tag which is one of bbcode.
You can use ImageManager, also you can use myAlbum-P's ImageManager Integration.

In mh012 and after, [siteimg] tag are usable.
[siteimg=modules/xhnewbb/images/folder.gif]
will be replaced into
<img src='http://www.peak.ne.jp/xoops/modules/xhnewbb/images/folder.gif' />
in this site.
Votes:3 Average:3.33
Previous post - Next post | Parent - Children.1 | Posted on 2004/6/23 3:12
tetsuo  Private   Posts: 5
Hello again...

1) Well I've a default templates set, and I've updated the module via admin menu, maybe I'm still missing sth?
I've even deleted all stuff related with tinycontend in 'templates_c' dir.
And then updated the modules. No change.

2) Well, I'm not an admin of the server the site is hosted on, so I cannot do it... I'll try to try it on other server soon...

thx for feedback :)
Votes:3 Average:3.33
Previous post - Next post | Parent - Children.1 | Posted on 2004/6/23 14:56
GIJOE  Gunnery Sergeant   Posts: 4110
Quote:
tetsuo wrote:
Hello again...

1) Well I've a default templates set, and I've updated the module via admin menu, maybe I'm still missing sth?
I've even deleted all stuff related with tinycontend in 'templates_c' dir.
And then updated the modules. No change.
Perhaps, the template file is wrong.
The correct bodies of modules/tinycontent/templates/tinycontent*_index.html are:
<{$content}>

<div style="padding: 5px; text-align: right; margin-right:3px;">
  <{if $is_display_print_icon }>
    <a href="<{$mod_url}>/print.php?id=<{$id}>"><img src="<{$mod_url}>/images/print.gif" border="0" alt="<{$lang_printerpage}>" /></a>
  <{/if}>
  <{if $is_display_friend_icon }>
    <a href="<{$mail_link}>" target="_top"><img src="<{$mod_url}>/images/friend.gif" border="0" alt="<{$lang_sendstory}>" /></a>
  <{/if}>
  <{if $is_display_pagenav }>
    <hr align="left" width="100%">
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="33%" align="left" valign="top">
          <{if $prev_link }>
            <a href="<{$mod_url}>/<{$prev_link}>" accesskey="P"><{$lang_prevpage}></a>
            <br />
            <{$prev_title}>
          <{/if}>
        </td>
        <td width="34%" align="center" valign="top">
          <a href="<{$mod_url}>/" accesskey="H"><{$lang_topofcontents}></a>
        </td>
        <td width="33%" align="right" valign="top">
          <{if $next_link }>
            <a href="<{$mod_url}>/<{$next_link}>" accesskey="N"><{$lang_nextpage}></a>
            <br />
            <{$next_title}>
          <{/if}>
        </td>
      </tr>
    </table>
  <{/if}>
</div>



<{if $nocomments == 0}>
<br /><br />
<div style="text-align: center; padding: 3px; margin: 3px;">
  <{$commentsnav}>
  <{$lang_notice}>
</div>

<div style="margin: 3px; padding: 3px;">
<!-- start comments loop -->
<{if $comment_mode == "flat"}>
  <{include file="db:system_comments_flat.html"}>
<{elseif $comment_mode == "thread"}>
  <{include file="db:system_comments_thread.html"}>
<{elseif $comment_mode == "nest"}>
  <{include file="db:system_comments_nest.html"}>
<{/if}>
<!-- end comments loop -->
</div>
<{/if}>

Quote:
2) Well, I'm not an admin of the server the site is hosted on, so I cannot do it... I'll try to try it on other server soon...
It's a misunderstanding.
All you have to do is go to admin->preferences->general and turn "PHP debug" ON.
Votes:2 Average:5.00
Previous post - Next post | Parent - Children.1 | Posted on 2004/6/23 19:41
tetsuo  Private   Posts: 5
1. About the template, I'll look into it in a few minutes

2. Here it is>>

Fatal error: Undefined class name 'tinydtextsanitizer' in /home/uc/modules/tinycontent0/blocks/tinycontent_content.php on line 77

Maybe I've uploaded some coruppted file? hmm, dunno

//EDIT

And here's another error, while in 'myblocksadmin.php' and trying to add TinyD Menu I get this:

Notice [PHP]: Uninitialized string offset: 27 in file modules/tinycontent/include/blocksadmin.inc.php line 128
Notice [PHP]: Uninitialized string offset: 27 in file modules/tinycontent/include/blocksadmin.inc.php line 140
Votes:2 Average:5.00
Previous post - Next post | Parent - Children.1 | Posted on 2004/6/25 16:43
GIJOE  Gunnery Sergeant   Posts: 4110
Quote:
tetsuo wrote:
1. About the template, I'll look into it in a few minutes

2. Here it is>>

Fatal error: Undefined class name 'tinydtextsanitizer' in /home/uc/modules/tinycontent0/blocks/tinycontent_content.php on line 77

Maybe I've uploaded some coruppted file? hmm, dunno
Perhaps, your tinycontent/ is chapi's original tinycontent or older TinyD.
All tinycontent*/ have to be the same versions.

Quote:
And here's another error, while in 'myblocksadmin.php' and trying to add TinyD Menu I get this:

Notice [PHP]: Uninitialized string offset: 27 in file modules/tinycontent/include/blocksadmin.inc.php line 128
Notice [PHP]: Uninitialized string offset: 27 in file modules/tinycontent/include/blocksadmin.inc.php line 140
They are not errors.
Ignore it.
Votes:3 Average:3.33

question Re: TinyContentD posibble bug?

msg# 1.3.1.1.1.1.1
Previous post - Next post | Parent - No child | Posted on 2004/6/26 2:49
tetsuo  Private   Posts: 5
hmmm... guess that was the "org" tinycontent files issue... seems to work now. I'll test it a bit more later.

Thanks for you advice :) It was very helpfull :) Keep up the good work ;)
Votes:3 Average:3.33

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!