121
maxima
Re: How do I include a page within a block
  • 2006/8/18 14:02

  • maxima

  • Not too shy to talk

  • Posts: 152

  • Since: 2006/3/4 4


So is it possible to do page include within a block?



122
maxima
How do I include a page within a block
  • 2006/8/18 1:45

  • maxima

  • Not too shy to talk

  • Posts: 152

  • Since: 2006/3/4 4


I want to include a page within a block.
I have tried the standard method
<?include('file.htm')?>
and I get an empty block using the HTML content type and nothing at all with PHP content type.

How can this be done



123
maxima
Re: How do I edit the textarea width of the contact form
  • 2006/8/16 14:48

  • maxima

  • Not too shy to talk

  • Posts: 152

  • Since: 2006/3/4 4


Thanks. It worked fine. I had tried that before based on the methods in the lines above 37 but got errors and could not figure that adding that empty DB column would fix it.



124
maxima
How do I edit the textarea width of the contact form
  • 2006/8/16 5:34

  • maxima

  • Not too shy to talk

  • Posts: 152

  • Since: 2006/3/4 4


I need to reduce the width of the textarea in the contact form. I used the CSS to do it but then it now affects all other text areas. I looked through the files of the module but none showed a value for the textarea.

How is this edited?



125
maxima
Re: How do I remove category links but still accessible....
  • 2006/8/16 5:16

  • maxima

  • Not too shy to talk

  • Posts: 152

  • Since: 2006/3/4 4


Thanks. That worked.



126
maxima
How do I remove category links but still accessible....
  • 2006/8/16 3:20

  • maxima

  • Not too shy to talk

  • Posts: 152

  • Since: 2006/3/4 4


I have a horizontal button bar at the top of my pages and I have the NEWBB and XCGAL module within those links. I don't want those links re-appearing in the main menu but when I set [hasMain] to [0], unregistered users can't access those modules.

How can I disable them in main menu but still allow accesibility?



127
maxima
How do I change the contact module textarea size
  • 2006/5/13 6:57

  • maxima

  • Not too shy to talk

  • Posts: 152

  • Since: 2006/3/4 4


I have looked at all the files in the contact module and nothing is clear about adjusting the width of the textarea. Does anyone know how to do this?



128
maxima
Blank page when logged as admin
  • 2006/4/27 13:14

  • maxima

  • Not too shy to talk

  • Posts: 152

  • Since: 2006/3/4 4


I setup a test site of XOOPS 2.0.13.2 and initially all worked fine but now 2 days later when I login as administrator I can't access any page but the admin.php and all admin pages. just after login when XOOPS redirects to the homepage it is blank. I have to type in admin.php. Does anyone know why this is?

I thought it was my ISP so I tried from 2 other ISPs and the same thing occured.



129
maxima
Re: Kiovi Editor implementation???
  • 2006/4/24 16:28

  • maxima

  • Not too shy to talk

  • Posts: 152

  • Since: 2006/3/4 4


I have tried the following hack on file /modules/system/blocks/system_blocks.php but I get a blank page. Ofcourse the hack did specify for ver 2.2.2 but I figured with a little tweak it might work.

function b_system_custom_edit($options) {
//  start hack editor    
    
include_once(XOOPS_ROOT_PATH "/class/wysiwyg/formwysiwygtextarea.php");
//  end hack editor    
    
$ts =& MyTextSanitizer::getInstance();
    include_once 
XOOPS_ROOT_PATH."/class/xoopsformloader.php";
    
$form = new XoopsFormElementTray('''<br />''options');
//original:  $form->addElement(new XoopsFormDhtmlTextArea(_MB_SYSTEM_CONTENT, 'options[0]', htmlspecialchars($ts->stripSlashesGPC($options[0]), ENT_QUOTES), 15, 60));
//  start hack editor    
    
$theEditor = new XoopsFormWysiwygTextArea('','','''100%''400px''');
    
$theEditor->setName('options[0]');
    
$theEditor->setValue(htmlspecialchars($ts->stripSlashesGPC($options[0])));
    
$form->addElement($theEditor);
//  end hack editor    
    
$type_select = new XoopsFormSelect(_MB_SYSTEM_CONTENTTYPE'options[1]'$options[1]);
    
$type_select->addOption('H'_MB_SYSTEM_HTMLBLOCK);
    
$type_select->addOption('P'_MB_SYSTEM_PHPBLOCK);
    
$type_select->addOption('S'_MB_SYSTEM_SMILEYBLOCK);
    
$type_select->addOption('T'_MB_SYSTEM_NOSMILEYBLOCK);
    
$form->addElement($type_select);
    return 
$form->render();
}


Since it didn't work though does anyone have a solution?



130
maxima
Kiovi Editor implementation???
  • 2006/4/24 3:56

  • maxima

  • Not too shy to talk

  • Posts: 152

  • Since: 2006/3/4 4


I have spent 6 hours searching for a solution to get the Kiovi Editor to work as blocks editor for 2.2.4 but can't find an answer. Does anyone know how to do this? What is it's purpose in this latest version of XOOPS since I don't see a function to enable it.




TopTop
« 1 ... 10 11 12 (13) 14 »



Login

Who's Online

120 user(s) are online (65 user(s) are browsing Support Forums)


Members: 0


Guests: 120


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