The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 861 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lightbox for objects
#5
focoves Wrote:shoud we hard-code it on code editor, when creating page's content ?

or is it there a interface way ?
There is no way at all to use it on your pages. This is because it is used by the admin backend and the Superbox code doesn’t load when you are browsing your site. As someone said, this “should be done in [the] theme”.

You will have to add the Lightbox/Superbox/whatever files to your theme, make sure the Javascript is being called by your theme, and only then will you have to bother about adding the right parameters to your images. I believe most attributes are accessible from the page editor already when placing an image so that wouldn’t even be much of a problem.
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Reply


Messages In This Thread
Lightbox for objects - by kristjanmik - 2009-08-08, 12:33:43
Lightbox for objects - by someone - 2009-08-08, 16:36:49
Lightbox for objects - by ccagle8 - 2009-08-08, 23:49:44
Lightbox for objects - by focoves - 2009-12-12, 06:45:10
Lightbox for objects - by Zegnåt - 2009-12-12, 21:06:42
Lightbox for objects - by focoves - 2009-12-13, 03:52:47
Lightbox for objects - by focoves - 2009-12-13, 08:05:33



Users browsing this thread: 2 Guest(s)