61
novlang1984
Re: Extgallery 1.09 : how to use html for album description ?

ok, I've get something ;)

Two files to modify :

1. modules/extgallery/admin/public-category.php

After
Quote:
include '../../../class/xoopsformloader.php';
include 'function.php';

Paste :
include XOOPS_ROOT_PATH.'/modules/extgallery/include/functions.php';


After
Quote:
$form->addElement(new XoopsFormText(_AM_EXTGALLERY_WEIGHT, 'cat_weight', '4', '4', $cat->getVar('cat_weight')),false);

Paste :
$editor gal_getWysiwygForm(_AM_EXTGALLERY_DESC,'cat_desc'$cat->getVar('cat_desc','e'), '100%''400px''cat_desc_hidden');
if(
$editor) {
    
$form->addElement($editorfalse);
}


After (again)
Quote:
$form->addElement(new XoopsFormText(_AM_EXTGALLERY_WEIGHT, 'cat_weight', '4', '4', $cat->getVar('cat_weight')),false);

Paste :
$editor gal_getWysiwygForm(_AM_EXTGALLERY_DESC,'cat_desc'''1560'cat_desc_hidden');
if(
$editor) {
    
$form->addElement($editorfalse);
}



2. modules/extgallery/class/catHandler.php

After
Quote:
$this->externalKey['photo_id'] = array('className'=>'publicphoto', 'getMethodeName'=>'getPhoto', 'keyName'=>'photo', 'core'=>false);

Paste :
$this->initVar('dohtml'XOBJ_DTYPE_INT1false);



62
novlang1984
Extgallery 1.09 : how to use html for album description ?

I would like to use CKEditor to describe albums made with extgallery 1.09.

To do that, I have to do a little hack (class/xoopsform/formdhtmltextarea.php)
//var $htmlEditor = array();
    
var $htmlEditor = array( 'XoopsFormCkeditor''/class/xoopseditor/ckeditor/ckeditor.php' );


Now I can see CKEditor in administration part but... on front side, html tags are displayed :'(
<p>my album description</p>

I try to find a way to transform textarea code. I believe this is the good line (modules/extgallery/admin/public-category.php)
$form->addElement(new XoopsFormDhtmlTextArea(_AM_EXTGALLERY_DESC'cat_desc'$cat->getVar('cat_desc','e')), false);


Is there an easy way to solve my issue ?
Thanks in advance :)



63
novlang1984
Re: Block Management for xoops 2.5.0

you could use BlocksAdmin module.

To make it work properly with new system, there are some define to add into modules\system\language\english\admin\blocksadmin.php



64
novlang1984
Re: Teamwork on xnews and solve problems

I only tested RSSFit and Sitemap plugins, with a cloned version.
But first I've cloned xNews and then edited manually the two plugins.



65
novlang1984
Re: Teamwork on xnews and solve problems

Two problems:
- plugin for pdf detection does not work and breaks article layout (see into article.php)
- there is a matter with highlight keywords feature, a blank page if I well remember

One request : could you add these 3 plugins into an /extra folder ?



66
novlang1984
Re: Xoops Engine promotion

Nice logos here :http://www.vectoropenstock.com/254-Colorful-vector
(please delete this post if it is not allowed / useful)



67
novlang1984
Re: Extgallery 1.09 RC - Permissions Problem

Xoops 2.5 ? extgallery 1.09 ? Have you checked general permissions (are you THE administrator) ?



68
novlang1984
Re: Xnews : How to hide "on date" under title ?

Delete variables from your template, nw_news_item.html if I well remember



69
novlang1984
Re: Looking for a contact form where i could choose the recipient ("To")




70
novlang1984
Re: Rss plugin for xNews ?

I use RSS 1.22 with Xoops 2.5, and you ?




TopTop
« 1 ... 4 5 6 (7) 8 9 10 »



Login

Who's Online

227 user(s) are online (158 user(s) are browsing Support Forums)


Members: 0


Guests: 227


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