31
tcnet
Re: I want to add a new block in xoopscore blocks
  • 2009/7/21 14:41

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


Are you using all of the center blocks? You could move an unused center block to the bottom left column of your theme.



32
tcnet
Re: how can i create and use xoops object handler in my module?
  • 2009/6/29 11:56

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


Trabis,
Thanks very much for this explanation. I have searched for XoopsObject and module handler instruction for a long time. As far as I know this is the first understandable explanation of the module handler published here. I know you are very busy with core upgrades, your modules and your sites, so I appreciate you taking the time to publish this very informative post.

Suggestion to the moderator: This topic could be moved to the Wiki, FAQ's or at least made sticky so that it does not get lost in the forum's abyss.




33
tcnet
Re: Missing system template and image after 2.3.3 update
  • 2009/6/19 9:29

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


Updated system module and cleared cache again and the issue is resolved. Third try did the trick.

Thanks for the suggestion Ghia.



34
tcnet
Missing system template and image after 2.3.3 update
  • 2009/6/18 23:10

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


Hi,

I hope this hasn't been posted before. I have searched the topic with no results.

After updating to 2.3.3 I get plain text and a missing image on a white page occuring on redirects, the "Thanks for Logging On" and all other system messages. I am using the XOOPS Default Theme.

Am I missing a system template? Is something missing in the xoops.css? Help appreciated.

Thanks




35
tcnet
Re: Help with my idea
  • 2009/6/6 1:53

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


The Web Show Media Player for XOOPS is a media directory and Flash Player that catalogs and plays Flash media files (flv, mp3, swf, images).



36
tcnet
Re: FCKeditor cut's in various modules.
  • 2009/6/6 0:19

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


You may have to modify the modules submit forms. Look for the "new XoopsFormEditor" config settings and adjust the width from 100% to 400-500px to suit you page format. This example is from webshow/include/submitform.inc.php
// options for the editor
      //optional configs
      
$options['rows'] = 25// default value = 5
      
$options['cols'] = 60// default value = 50
      
$options['width'] = '550px'// default value = 100%
      
$options['height'] = '400px'// default value = 400px
      
$editor_configs $options;
      
$sform->addElement(new XoopsFormEditor(_MD_LINKTEXTC$editor$editor_configs$nohtml false$onfailure "textarea"), false);



37
tcnet
Re: How to add item title into pagetitle?
  • 2009/5/9 3:26

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


I think this one will work:
$chpagetitle $myts->htmlSpecialChars$xoopsModule->getVar('name').' - '.$glossaryterm); 
$xoopsTpl->assign('xoops_pagetitle'$chpagetitle);

if (
is_object($xoTheme)) {       
$xoTheme->addMeta'meta''title'$chpagetitle); 
}


Your page and meta titles may be modified in your theme's index.html head as well. Sometimes sitename or slogan is added there.

The module is old but not hopeless. Debug Warnings are there to alert the module developer of updated core functions. Most old functions still work thanks to core devs insuring backward compatibility. Here is a list of depreciated functions and their replacements.



38
tcnet
Re: How to add item title into pagetitle?
  • 2009/5/8 21:46

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


Edit modules/wordbook/entry.php to add the glossary term to the page title.
ADD THIS:
// page title hack tcnet
$wbpagetitle $myts->htmlSpecialChars$xoopsModule->getVar('name').' - '.$glossaryterm);

if (
is_object($xoTheme)) {      
$xoTheme->addMeta'meta''title'$wbpagetitle);
else {
$xoopsTpl->assign('xoops_pagetitle'$wbpagetitle);

//end page hack

BEFORE THIS:
include_once 
XOOPS_ROOT_PATH.'/footer.php';



39
tcnet
Re: Home page forum feed
  • 2009/4/14 3:54

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


Welcome to Xoops!

I think most of the current forum modules offer some kind of a "Recent Topics" block.

Once you have a forum module installed look in admin panel under system|blocks for the forum's blocks. Edit the "Recent Topics" forum block to be Visible, assign it to the center block and select to display on the Top Page.

Depending on the module you choose, the block should have several preferences you can set such as the number of posts, length of text, limit to subforum, etc.

Next, go to system|groups, select a group that you want to be allowed to view the forum's "Recent posts" block and check the box next to it.




40
tcnet
Re: Xoops FAQ V1.15 Beta Released
  • 2009/4/11 14:46

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


Extraction: Using Winrar 3.60 to extract the xoops2.xoopsfaq.v1.15.zip archive resulted in a file named xoops2.xoopsfaq.v1.15. I added .zip extention to that filename and extracted again. The modules files then decompressed properly but another xoops2.xoopsfaq.v1.15 was created in the archive folder. Deleted it. All is well.

Flawless install.

Typo: 'Convert Linebreaks to Xoopskreaks' in language/english/admin.php line 57

Getting this debug Notice: Undefined index: itemName in file /include/comment_view.php line 46 using XOOPS 2.3.3rc and php 5.2.4. The Comment section is not displayed on the page.

The Published date is one day behind in admin/index.php. It is displayed correctly in admin/index.php?op=edit. It was possible to enter a future date. Does the module auto publish?

On my monitor the Content Body text area form element is very tall when using html editors. Set mine to 400px in class/contents.php line 102 $options['height'] = '600px'. Matter of preference I suppose.

Feature suggestions:
An Answer with a long description will need a single question page view.

Please add link to the question's frontside page in the admin panel. Please add links to admin panel on the frontside view.

It would be nice to see the question's category in admin/index.php table.

Thanks for providing basic template modules for us novice coders to study.





TopTop
« 1 2 3 (4) 5 6 7 ... 21 »



Login

Who's Online

119 user(s) are online (81 user(s) are browsing Support Forums)


Members: 0


Guests: 119


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