1
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:

<?php


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
?>

<!--DUMMY HTML CONTENT-->
test
<?php
include(XOOPS_ROOT_PATH."/footer.php");
?>



2
noo-b
Re: Xoops on Freelancer.com
  • 2015/4/10 2:08

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


typo.. should be

https://www.freelancer.com/



3
noo-b
Merry Christmas and Happy New Year 2015
  • 2014/12/24 14:38

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


To all xoopser

Merry christmas..Happy holidays.. and happy new year 2015






4
noo-b
Re: Replacing Username with Real NAme
  • 2014/10/7 23:18

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


thank you zyspec..its working...



5
noo-b
Re: Replacing Username with Real NAme
  • 2014/10/7 5:11

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


Anyone can help..how do i change the username in who's online Block to display the realname instead of username...

TQ



6
noo-b
Re: Publisher 1.02 Beta 3 for XOOPS 2.5.7 ready for testing
  • 2014/10/2 0:38

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


Quote:

Mamba wrote:
Quote:
i've edited the groupperm.php file and now publisher permission is working..TQ

What changes have you made to the file? Since I am working right now on Publisher, I wanted to make sure that if something has to be corrected, I can include it...



i added the missing slash that you mentioned in your post #24
https://xoops.org/modules/newbb/viewtopic.php?post_id=358275#forumpost358275



7
noo-b
Re: Publisher 1.02 Beta 3 for XOOPS 2.5.7 ready for testing
  • 2014/7/25 1:33

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


Thanks mamba

the sf donwload - page not found

i've edited the groupperm.php file and now publisher permission is working..TQ



8
noo-b
Re: NivoSlider & mytabs not working together
  • 2014/7/23 10:38

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


thank you Mamba for the tips

finally i think i have figure this it out..it is a problem with the slide effects of the nivoslider

my current setting is random effects..i have changed it to only one single effect and right now mytabs and nivoslider is working perfectly together

still trying to figure out which slide effect that cause the problem with the tabs



9
noo-b
Re: NivoSlider & mytabs not working together
  • 2014/7/23 5:32

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


Sorry My bad i got confused with mastop slideshow i used last time before changing to nivoslider

Mastop is using mootools if im not mistaken and i have uninstalled it long time ago

Still mytabs and nivoslider not working properly together..t

Still trying to figure this out



10
noo-b
Re: smarty in php file
  • 2014/7/22 23:51

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


<?php
//  Author: Trabis
//  URL: http://www.xuups.com
//  E-Mail: lusopoemas@gmail.com
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'1); //set to 0 to hide right blocks
$xoopsTpl->assign'xoops_showcblock'1); //set to 0 to hide center blocks
?>

<!--DUMMY HTML CONTENT-->

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




TopTop
(1) 2 3 4 ... 37 »



Login

Who's Online

159 user(s) are online (115 user(s) are browsing Support Forums)


Members: 0


Guests: 159


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