251
alain01
Re: Admin interface for theme
  • 2014/5/27 1:22

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


Quote:

Bleekk wrote:
copy all language variables
from language/english/themebuilder.php
to language/english/admin.php

ok, solved with that but now there are many other errors :
dashboard : Quote:
Warning: Invalid argument supplied for foreach() in file /modules/system/admin/themebuilder/main.php line 130


Menu :Quote:
Notice: Undefined index: cat_id in file /modules/system/admin/themebuilder/main.php line 901


Slider : Quote:
( ! ) Notice: Undefined index: brand in K:\web\dossiers-www\www-xoops256\modules\system\admin\themebuilder\ajax.php on line 3
Call Stack
# Time Memory Function Location
1 0.0050 210696 {main}( ) ..\ajax.php:0

( ! ) Notice: Undefined index: brandfont in \modules\system\admin\themebuilder\ajax.php on line 22
Call Stack
# Time Memory Function Location
1 0.0050 210696 {main}( ) ..\ajax.php:0

( ! ) Notice: Undefined index: body_background_texture in\modules\system\admin\themebuilder\ajax.php on line 63
Call Stack
# Time Memory Function Location
1 0.0050 210696 {main}( ) ..\ajax.php:0

( ! ) Notice: Undefined index: body_background_bg in \modules\system\admin\themebuilder\ajax.php on line 75
Call Stack
# Time Memory Function Location
1 0.0050 210696 {main}( ) ..\ajax.php:0

( ! ) Notice: Undefined index: brandicon in \modules\system\admin\themebuilder\ajax.php on line 88
Call Stack
# Time Memory Function Location


Options : Quote:
Notice: Undefined variable: checked in file /modules/system/admin/themebuilder/main.php line 448


Theme Builder :Quote:
Notice: Undefined property: Olivee_Options_color::$args in file /modules/system/admin/themebuilder/fields/color/field_color.php line 22
Notice: Undefined property: Olivee_Options_color::$args in file /modules/system/admin/themebuilder/fields/color/field_color.php line 22
Notice: Undefined property: Olivee_Options_color::$args in file /modules/system/admin/themebuilder/fields/color/field_color.php line 22
Notice: Undefined property: Olivee_Options_color::$args in file /modules/system/admin/themebuilder/fields/color/field_color.php line 22
Notice: Undefined property: Olivee_Options_color::$args in file /modules/system/admin/themebuilder/fields/color/field_color.php line 22
Notice: Undefined property: Olivee_Options_color::$args in file /modules/system/admin/themebuilder/fields/color/field_color.php line 22
Notice: Undefined index: 1/ in file /modules/system/admin/themebuilder/fonctions.php line 1464



252
alain01
Re: Admin interface for theme
  • 2014/5/26 11:50

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


i Download again the project from GitHub.

- I copy "system" directory to /modules/system,
- I add in the /modules/system/constants.php file :
define("XOOPS_SYSTEM_THEME"18);

- in your language file (here I have English) \modules\system\language\english\modinfo.php

after line 39 add:
define('_MI_SYSTEM_ADMENU18',"Theme Builder");


- \modules\system\constants.php, before line 44 add following:
//Theme Builder
define("XOOPS_SYSTEM_THEME"18);


- \modules\system\xoops_version.php, add after line 94:
$modversion['templates'][] = array( 'file' => 'system_themebuilder.html''description' => '''type' => 'admin' );

and in the end of the file add:

// theme builder

$i++;
$modversion['config'][$i]['name'] = 'active_themebuilder';
$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_ACTIVE_THEME';
$modversion['config'][$i]['description'] = '';
$modversion['config'][$i]['formtype'] = 'yesno';
$modversion['config'][$i]['valuetype'] = 'int';
$modversion['config'][$i]['default'] = '1';
$i++;
$modversion['config'][$i]['name'] = 'themebuilder_pager';
$modversion['config'][$i]['title'] = '_MI_SYSTEM_PREFERENCE_THEME_PAGER';
$modversion['config'][$i]['description'] = '';
$modversion['config'][$i]['formtype'] = 'textbox';
$modversion['config'][$i]['valuetype'] = 'int';
$modversion['config'][$i]['default'] = 20;


- Go to /modules/system/themes/default/icons/ folder
and copy icon_options.png file and rename the copied file to THEME.png

- you have to add also in your language file in line 67, 68 \modules\system\language\english\admin.php
define("_AM_SYSTEM_THEME","Theme Builder");
define("_AM_SYSTEM_THEME_DESC","Theme Builder, <br /> create menus, sliders and build theme for xoops");


- You can create manually /modules/system/language/english/admin/themebuilder.php (just empty file)



But i still get errors :
Quote:
Notice: Use of undefined constant _AM_SYSTEM_THEMEBUILDER_Index - assumed '_AM_SYSTEM_THEMEBUILDER_Index' in file /modules/system/admin/themebuilder/main.php line 19
Notice: Use of undefined constant _AM_SYSTEM_THEMEBUILDER_DASHBOARD - assumed '_AM_SYSTEM_THEMEBUILDER_DASHBOARD' in file /modules/system/admin/themebuilder/main.php line 22
Notice: Use of undefined constant _AM_SYSTEM_THEMEBUILDER_Menu - assumed '_AM_SYSTEM_THEMEBUILDER_Menu' in file /modules/system/admin/themebuilder/main.php line 25
Notice: Use of undefined constant _AM_SYSTEM_THEMEBUILDER_Slider - assumed '_AM_SYSTEM_THEMEBUILDER_Slider' in file /modules/system/admin/themebuilder/main.php line 28
Notice: Use of undefined constant _AM_SYSTEM_THEMEBUILDER_Options - assumed '_AM_SYSTEM_THEMEBUILDER_Options' in file /modules/system/admin/themebuilder/main.php line 31
Notice: Use of undefined constant _AM_SYSTEM_THEMEBUILDER_ThemeBuilder - assumed '_AM_SYSTEM_THEMEBUILDER_ThemeBuilder' in file /modules/system/admin/themebuilder/main.php line 34
...



???

My XOOPS : XOOPS 2.5.6 / PHP 5.4.15 / MySQL 5.6.11 / "root directory : /XOOPS_256/" (not "/")




253
alain01
Re: Xoops 2.6 Service Manager
  • 2014/5/22 10:01

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


Quote:

redheadedrod wrote:
For those that do not understand the importance of this feature this new Service Manager allows a module to provide a service that can be used anywhere in the system.
...

As an example, XoopsPoll can be rewritten to serve a poll service that needs very little code to access. This then allows you to EASILY include poll's into a new forum, event module or anything you want to add it to.


Thanks, redheadedrod for this explanation.



254
alain01
Re: TinyMCE4XOOPS 2.0 available
  • 2014/5/12 12:24

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


Goffy, read your pm for my e-mail.
Send me your files (just your files) in the sames directory struture.



255
alain01
Re: TinyMCE4XOOPS 2.0 available
  • 2014/5/11 13:56

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


No, goffy, i dont see anything.



256
alain01
Re: TinyMCE4XOOPS 2.0 available
  • 2014/5/9 22:09

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


Goffy, could you comit this inhttps://github.com/alain01/TinyMCE4forXOOPS fork ?

I work on the tinymce v4.0.26 + responsivefile manager 9.4.1



257
alain01
Re: Admin interface for theme
  • 2014/4/30 1:06

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


ok, a new comit done, Mamba, olivee.
Can i try it or is it unstable version ?



258
alain01
Re: Admin interface for theme
  • 2014/4/25 11:58

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


[youtube=425,350]http://youtu.be/uNrjuAKakgo[/youtube]




not correct...

[youtube=425,350]uNrjuAKakgo[/youtube]




not correct...



259
alain01
Re: Admin interface for theme
  • 2014/4/25 9:20

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


Olivee, new vidéo ?

No change in https://github.com/olivee/themebuilderxoops since the last post.



260
alain01
Re: text lines
  • 2014/4/23 7:27

  • alain01

  • Just can't stay away

  • Posts: 528

  • Since: 2003/6/20


In the style.css file, add:
div.mytext {text-alignjustify;}


and in the html file :
<div class="mytext">Ipsam vero urbem Byzantiorum fuisse refertissimam atque ornatissimam signis quis ignorat</div>




TopTop
« 1 ... 23 24 25 (26) 27 28 29 ... 38 »



Login

Who's Online

248 user(s) are online (167 user(s) are browsing Support Forums)


Members: 0


Guests: 248


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