Fork me on GitHub
Get XOOPS XOOPSXOOPS FAQFAQ ForumsForums NewsNews ThemesThemes ModulesModules
New Posts New Topics All Posts All Forums Index General Modules Themes Development International XOOPS.org

Search

Nominate XOOPS!

Learn XOOPS Core

Donat-O-Meter

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

Donations
Anonymous ($15)Jul-20

Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

- 2 2.5 2.6 4 6 2013 Abuse adslight Android AntiHarvesting AntiSpam API Apple Battlefield Blocks Bootstrap Captcha cell chronolabs Clicks content CĂN demo download Dresses facebook Fat floor for free Gateway Google Guide herre Home Honeypot HP html5 Human HỘ iPhone jQuery Language List log Loss mobile module modules Monster new newbb news NHÀ online PARK Payment phone PHP Prevention profile project Protector publisher Rapid RESIDENCE responsive review Rights rmcommon Room security Sentry site Smartphone Smarty Smoking Solution Spam stem Studio support tag tags tdmcreate The Theme themes User userlog web weight Wishcraft xoops Xortify XPayment ZendFramework

New Users

Registering user

# 137617

nasro

Welcome to XOOPS!

Forum Index


Board index » All Posts

Bottom   Previous Topic   Next Topic

(1) 2 3 4 ... 29741 »


#1 Posted on: Today 8:48 Re: Publisher 1.02 Beta 3 for XOOPS 2.5.7 ready for testing
Quote:
anyone having problem with the permission ?
i try to set permission but i received blank page with no debug error

Who were you setting the permissions for? I'll look into it...

Top


Please support XOOPS & DONATE
Use 2.5.7 | Debugging | Requests | Bugs
Mamba
Moderator
Moderator
Joined:
2004/4/23 13:58
From Ohio, USA
Group:
Webmaster
Registered Users
Designer Group
Posts: 8016
(Show More) (Show Less)
Topic | Forum


#2 Posted on: Today 8:44 Re: smarty in php file
If the Smarty variable is assigned, you should be able to use it.

I am not a Smarty guru, so I used Google and searched for "using smarty variable in php", and I got few links that I think, should help you:

http://www.saurus.info/exchanging-var ... etween-templates-and-php/

http://stackoverflow.com/questions/88 ... -variable-within-php-tags
http://www.sitepoint.com/forums/showt ... TY-variable-into-php-code

http://dustyreagan.com/how-to-referen ... ariables-inside-php-tags/

So based on the above, this is the right way to do it:

http://www.smarty.net/docsv2/en/api.get.template.vars.tpl

For example, in the fbcomment module, it is used like this:

$sitename=$xoopsTpl -> get_template_vars'xoops_sitename' );


I hope, it helps!

Top


Please support XOOPS & DONATE
Use 2.5.7 | Debugging | Requests | Bugs
Mamba
Moderator
Moderator
Joined:
2004/4/23 13:58
From Ohio, USA
Group:
Webmaster
Registered Users
Designer Group
Posts: 8016
(Show More) (Show Less)
Topic | Forum


#3 Posted on: Today 7:29 Re: smarty in php file
I think it is not possible to use smarty code in my case.

then I want to use php directly.

who can give me the php code for output as the left column.

in other words, have the php code that corresponds to

<{if $xoops_showlblock}>
<{foreach 
item=block from=$xoBlocks.canvas_left}>
<{if 
$block.title}>
<
div class="blockTitle"><{$block.title}></div>
<{/if}>
<
div class="blockContent"><{$block.content}></div>
<{/foreach}>
<{/if}>


Top

olivee
Just popping in
Just popping in
Joined:
1/28 7:09
From Suisse
Group:
Registered Users
Posts: 19
(Show More) (Show Less)
Topic | Forum


#4 Posted on: Today 4:43 Re: NivoSlider & mytabs not working together
xoops should support only one JS framework and this should be jquery.
I do not know how good you are in html/jquery but I would change mytabs to work with jquery

Top

Bleekk
Theme Designer
Theme Designer
Joined:
2002/12/14 9:13
From Vienna
Group:
Registered Users
Designer Group
Posts: 445
(Show More) (Show Less)
Topic | Forum


#5 Posted on: Today 3:03 NivoSlider & mytabs not working together
Hi

I have integrate NivoSlider in XOOPS site using custom block

its working fine

but now i have installed the mytabs modules, i put some publisher blocks in the tabs

and i noticed mytabs (mootools) and nivoslider (jquery) is not working properly together when activated in the same page

when the nivoslider slides change from one slide-to slide user sometimes unable to click the title link of the recent publisher article block inside the tab and have to refresh the page to make it clickable..sometimes it will be ok..sometime it will be not

i search on the internet and got to know Mootools and jQuery both use $. so we can’t use both unless we save off the jQuery $ using $.noConflict.

i have this nivoslider code where i put in custom block

<script type="text/javascript">
    $(
window).load(function() {
        $(
'#slider').nivoSlider();
    });
    
</script>


i tried to change it to like this but it is not working.. slideshow is not showing
<script type="text/javascript">
 
jQuery.noConflict();
jQuery(window).load(function() {
   
jQuery('#slider').nivoSlider();
});
</script>


anyone have a clue how to make this work together ?

-------------------------
My tabs version 2.2 (Final)
Publisher 1.02 Beta 3 (2014/6/21)
NivoSlider 3.2
XOOPS Version XOOPS 2.5.7
PHP Version 5.4.30
mySQL Version 5.5.37-cll
Server API cgi-fcgi
OS Linux

Top

noo-b
Just can't stay away
Just can't stay away
Joined:
2007/10/23 5:06
Group:
Registered Users
Posts: 444
(Show More) (Show Less)
Topic | Forum


#6 Posted on: Today 1:54 Re: Publisher 1.02 Beta 3 for XOOPS 2.5.7 ready for testing
anyone having problem with the permission ?

i try to set permission but i received blank page with no debug error


Publisher 1.02 Beta 3 (2014/6/21)
XOOPS Version XOOPS 2.5.7
PHP Version 5.4.30
mySQL Version 5.5.37-cll
Server API cgi-fcgi
OS Linux

Top

noo-b
Just can't stay away
Just can't stay away
Joined:
2007/10/23 5:06
Group:
Registered Users
Posts: 444
(Show More) (Show Less)
Topic | Forum


#7 Posted on: Yesterday 18:57 Re: searching for xoops 2.5.7 frensh !
i ask in frxoops.org , they tell me that it should be available in few theys , so we have just to wait ..

Top

4asrir
Just popping in
Just popping in
Joined:
2009/4/18 15:11
Group:
Registered Users
Posts: 37
(Show More) (Show Less)
Topic | Forum


#8 Posted on: Yesterday 12:27 Re: searching for xoops 2.5.7 frensh !
They are working on it, and my understanding is that it should be available soon...

Top


Please support XOOPS & DONATE
Use 2.5.7 | Debugging | Requests | Bugs
Mamba
Moderator
Moderator
Joined:
2004/4/23 13:58
From Ohio, USA
Group:
Webmaster
Registered Users
Designer Group
Posts: 8016
(Show More) (Show Less)
Topic | Forum


#9 Posted on: Yesterday 9:47 searching for xoops 2.5.7 frensh !
hello

i search in xoops french site for xoops 2.5.7 final in french , but i don't find any link to download it .

can any one give me a link to download the full frensh version of xoops 2.5.7 final !

thank you

Top

4asrir
Just popping in
Just popping in
Joined:
2009/4/18 15:11
Group:
Registered Users
Posts: 37
(Show More) (Show Less)
Topic | Forum


#10 Posted on: Yesterday 9:03 smarty in php file
I need your help

I want to add a php file to xoops so I have done this
create page.php in the root of xoops.

add this code in page.php

<?php 

 
if (file_exists("mainfile.php")) {   
include(
"mainfile.php");  
}

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

echo 
'<{$xoops_banner}>';
 
include(
XOOPS_ROOT_PATH."/footer.php"); 
?>


the problem is that <{$xoops_banner}> des not execute. so how can I do to execute default smarty code like <{$xoops_slogan}> <{$xoops_sitename}>

Top

olivee
Just popping in
Just popping in
Joined:
1/28 7:09
From Suisse
Group:
Registered Users
Posts: 19
(Show More) (Show Less)
Topic | Forum



Top
(1) 2 3 4 ... 29741 »



[Advanced Search]