5211
goffy
Re: Add page
  • 2016/1/20 18:06

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


hi

which theme are you using?



5212
Skype-Fr
Re: Add page
  • 2016/1/20 15:57

  • Skype-Fr

  • Just popping in

  • Posts: 28

  • Since: 2006/4/27





5213
Skype-Fr
Re: Add page
  • 2016/1/20 15:48

  • Skype-Fr

  • Just popping in

  • Posts: 28

  • Since: 2006/4/27


Hi noo-b,

Thank about you code but there is the same problem : right column is always visible.

Maybe, my theme is too old.




5214
noo-b
Re: Add page
  • 2016/1/20 14:59

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


try

Quote:



include("mainfile.php");
include(XOOPS_ROOT_PATH."/header.php");

$meta_keywords = "dummy, page, keywords";
$meta_description = "dummy page description";
$pagetitle = "dummy page title";

if(isset($xoTheme) && is_object($xoTheme)) {
$xoTheme->addMeta( 'meta', 'keywords', $meta_keywords);
$xoTheme->addMeta( 'meta', 'description', $meta_description);
} else { // Compatibility for old Xoops versions
$xoopsTpl->assign('xoops_meta_keywords', $meta_keywords);
$xoopsTpl->assign('xoops_meta_description', $meta_description);
}

$xoopsTpl->assign('xoops_pagetitle', $pagetitle);

//this will only work if your theme is using this smarty variables
$xoopsTpl->assign( 'xoops_showlblock', 1); //set to 0 to hide left blocks
$xoopsTpl->assign( 'xoops_showrblock', 0); //set to 0 to hide right blocks
$xoopsTpl->assign( 'xoops_showcblock', 1); //set to 0 to hide center blocks
?>


test
include(XOOPS_ROOT_PATH."/footer.php");
?>



5215
Skype-Fr
Re: Add page
  • 2016/1/20 14:48

  • Skype-Fr

  • Just popping in

  • Posts: 28

  • Since: 2006/4/27


it is a copy error into this post.

My code is :

include("mainfile.php");
include(
"header.php");
$xoopsOption['show_rblock'] = 0//0 for no right block
$xoopsOption['show_lblock'] = ;
?>
My HTML

include("footer.php");
?>


with the same probleme : Right column is always visible !!



5216
goffy
Re: Add page
  • 2016/1/20 14:15

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


hi

doesn't mean "show_lblock" => show left block?



5217
Peekay
Re: imagemanager image sort order
  • 2016/1/20 12:54

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


The lack of any sort order in the TinyMCE image-manager plugin has bugged me for years, but I have just lived with it.... until now!

Quote:
class\xoopseditor\tinymce\tinymce\jscripts\tiny_mce\plugins\xoopsimagemanager\xoopsimagebrowser.php


Added the above fix at around line 470.

It is a little late (6 years) but many thanks elpaksu



5218
Skype-Fr
Add page
  • 2016/1/20 12:07

  • Skype-Fr

  • Just popping in

  • Posts: 28

  • Since: 2006/4/27


Hi all,

For Xoops 2.5x, ..

I can't use correctly this additional page :

[size=x-small]
include("mainfile.php");
include(
"header.php");
$xoopsOption['show_lblock'] = 0//0 for no right block
?>
My HTML

include("footer.php");
?>
[/size]

Right column is always visible !!
I don't want to see the right column. How I do it ?

Very happy new year

Gilles



5219
xd9527
Re: hack youtube for html5 & bootstrap3 RWD
  • 2016/1/20 7:43

  • xd9527

  • Just popping in

  • Posts: 8

  • Since: 2016/1/13


thank Mamba :)

//compatible old all topic youtube code //

if your site have many old topic used youtube code
but you don't want edit many topic?

ok , find this code
$src "http://www.youtube.com/embed/" $matches[2];


change to this code
$src "http://www.youtube.com/embed/" $matches[2];
if (empty(
$width) || empty($height))
{
$width 16;$height 9;}
 if ((
$width) > 16 ||($width) > 9
{if ((
$width $height) > 1.5)
{
$width 16;$height 9;}
else {
$width 4;$height 3;} }


logic
1. if empty , auto add 16:9
2. if larger size (425 or other), auto change to 16:9 or 4:3

done!



5220
Mamba
Re: Block background
  • 2016/1/19 9:49

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


Could you please submit a request on GitHub?

That would be very helpful, so we don't lose this idea...
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs




TopTop
« 1 ... 519 520 521 (522) 523 524 525 ... 29425 »



Login

Who's Online

736 user(s) are online (327 user(s) are browsing Support Forums)


Members: 0


Guests: 736


more...

Donat-O-Meter

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

Latest GitHub Commits