xoops forums

Forum Index


Board index » All Posts (noo-b)




noo-b

Just can't stay away
Posted on: 2016/1/20 14:59
noo-b
noo-b (Show more)
Just can't stay away
Posts: 456
Since: 2007/10/23
#1

Re: Add page

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");
?>


noo-b

Just can't stay away
Posted on: 2015/4/10 2:08
noo-b
noo-b (Show more)
Just can't stay away
Posts: 456
Since: 2007/10/23
#2

Re: Xoops on Freelancer.com

typo.. should be

https://www.freelancer.com/


noo-b

Just can't stay away
Posted on: 2014/12/24 14:38
noo-b
noo-b (Show more)
Just can't stay away
Posts: 456
Since: 2007/10/23
#3

Merry Christmas and Happy New Year 2015

To all xoopser

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





noo-b

Just can't stay away
Posted on: 2014/10/7 23:18
noo-b
noo-b (Show more)
Just can't stay away
Posts: 456
Since: 2007/10/23
#4

Re: Replacing Username with Real NAme

thank you zyspec..its working...


noo-b

Just can't stay away
Posted on: 2014/10/7 5:11
noo-b
noo-b (Show more)
Just can't stay away
Posts: 456
Since: 2007/10/23
#5

Re: Replacing Username with Real NAme

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

TQ


noo-b

Just can't stay away
Posted on: 2014/10/2 0:38
noo-b
noo-b (Show more)
Just can't stay away
Posts: 456
Since: 2007/10/23
#6

Re: Publisher 1.02 Beta 3 for XOOPS 2.5.7 ready for testing

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/viewto ... id=358275#forumpost358275


noo-b

Just can't stay away
Posted on: 2014/7/25 1:33
noo-b
noo-b (Show more)
Just can't stay away
Posts: 456
Since: 2007/10/23
#7

Re: Publisher 1.02 Beta 3 for XOOPS 2.5.7 ready for testing

Thanks mamba

the sf donwload - page not found

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


noo-b

Just can't stay away
Posted on: 2014/7/23 10:38
noo-b
noo-b (Show more)
Just can't stay away
Posts: 456
Since: 2007/10/23
#8

Re: NivoSlider & mytabs not working together

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


noo-b

Just can't stay away
Posted on: 2014/7/23 5:32
noo-b
noo-b (Show more)
Just can't stay away
Posts: 456
Since: 2007/10/23
#9

Re: NivoSlider & mytabs not working together

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


noo-b

Just can't stay away
Posted on: 2014/7/22 23:51
noo-b
noo-b (Show more)
Just can't stay away
Posts: 456
Since: 2007/10/23
#10

Re: smarty in php file

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