1
demian
Custom Block Preview Button Not working - Xoops 2.4
  • 2009/11/5 9:00

  • demian

  • Quite a regular

  • Posts: 225

  • Since: 2008/4/29


custom block - XOOPS 2.4 final

when u want to create custom block then you click the preview button (beside submit button) ..the background turns to white (no styles) and no preview

the preview button above the content type optionworks fine

can anyone confirm this ?

2
ghia
Re: Custom Block Preview Button Not working - Xoops 2.4
  • 2009/11/5 10:39

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Yes. Following errors are present:
Quote:
Warning: Smarty error: unable to read resource: "/xo_metas.html" in file /class/smarty/Smarty.class.php line 1093
Warning: Smarty error: unable to read resource: "/xo_scripts.html" in file /class/smarty/Smarty.class.php line 1093
Warning: Smarty error: unable to read resource: "/xo_navbar.html" in file /class/smarty/Smarty.class.php line 1093
Warning: Smarty error: unable to read resource: "/xo_menu.html" in file /class/smarty/Smarty.class.php line 1093
Warning: Smarty error: unable to read resource: "/xo_toolbar.html" in file /class/smarty/Smarty.class.php line 1093
Warning: Smarty error: unable to read resource: "/xo_footer.html" in file /class/smarty/Smarty.class.php line 1093

This is a problem of the Oxygen admin theme, because it works with default.

3
demian
Re: Custom Block Preview Button Not working - Xoops 2.4
  • 2009/11/6 5:03

  • demian

  • Quite a regular

  • Posts: 225

  • Since: 2008/4/29


any quick fix ?

4
ghia
Re: Custom Block Preview Button Not working - Xoops 2.4
  • 2009/11/6 10:01

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Use temporary the default theme for this operation.

5
trabis
Re: Custom Block Preview Button Not working - Xoops 2.4
  • 2009/11/6 20:37

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Fixed on SVN, good catch, thanks.

6
ghia
Re: Custom Block Preview Button Not working - Xoops 2.4
  • 2009/11/7 9:41

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


The add custom block is not showed on some installations, because the admin panel is only partially showed and there is a claim that installing a module (VJ Mixes) may also affect the view of the oxygen panel.

Not excluding bad behaving modules (altough VJ mixes is a recent one of Wishcraft), but it seems the GUI needs some hardening.

I'm wondering if it is still a good idea to have it as default installed panel.

7
Mamba
Re: Custom Block Preview Button Not working - Xoops 2.4
  • 2009/11/7 10:14

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Quote:
The add custom block is not showed on some installations

It seems that after uploading the recent changes from Trabis, this is working now fine. Can you ask the users to download the recent changes from SVN Trunk and test it?

I am checking with Wishcraft on VJ Mixes.

8
Mamba
Re: Custom Block Preview Button Not working - Xoops 2.4
  • 2009/11/7 10:28

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Wishcraft said that VJ Mixes needs Tag module. Can the user from France install Tag, and then test again?

I tested locally here, and without Tag, the Main Index of VJ Mixes doesn't work. Once I copy Tag to the /modules directories (even w/o installing it), it works just fine.

9
trabis
Re: Custom Block Preview Button Not working - Xoops 2.4
  • 2009/11/7 10:36

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


A bug arises if a module creates a new $xoopsTpl overwriting the existing one (created with xoops_cp_header()). This was happening in system module blocksadmin/main.php causing issues with GUI that were using $xoopsTpl(exm, oxygen). That piece of code was deleted because it was not being used at all .

We could have created $xoopsAdminTpl to assure compatibility with modules that are using their own $xoopsTpl variable (such as mytabs and others), but we consider that keeping same name will avoid confusion and that $xoopsTpl created by modules is bad coding practice. Modules can now use core $xoopsTpl or create their own $moduleDirnameTpl if needed.

Login

Who's Online

180 user(s) are online (127 user(s) are browsing Support Forums)


Members: 0


Guests: 180


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits