61
fatman
Re: how do you customise a block?
  • 2004/4/4 1:28

  • fatman

  • Friend of XOOPS

  • Posts: 176

  • Since: 2003/12/13


If you are unfamiliar with CSS then just use basic HTML to provide any colour or formatting you see fit.

If you are uncomfortable typing the html by hand you can copy/paste from a wysiwyg.

I hope that helps you.



62
fatman
Re: Xaraya = Xoops history is over ?
  • 2004/4/2 21:44

  • fatman

  • Friend of XOOPS

  • Posts: 176

  • Since: 2003/12/13


What I think is worth noting is that the php cms community in general is showing strong signs of maturing past the days the phpnuke. Both XOOPS and Xaraya are good examples of this.

It's good to keep up to date with the php cms community as a whole.

Ultimately at the end of the day a professional will first decide if he/she wants to use an open souce cms as a base or just write any core elements themselves. They will look at whats out there and adopt the cms package which conforms most to their own programming conventions. Like Mithrandir said, some will choose XOOPS some wont. Some may even choose a combination. It's all good.



63
fatman
Re: a need to learn smarty >>how?
  • 2004/4/2 18:17

  • fatman

  • Friend of XOOPS

  • Posts: 176

  • Since: 2003/12/13


The smarty crash course specifically is a good place to start.

http://smarty.php.net/crashcourse.php




64
fatman
Re: a need to learn smarty >>how?
  • 2004/4/2 18:17

  • fatman

  • Friend of XOOPS

  • Posts: 176

  • Since: 2003/12/13


The smarty crash course specifically is a good place to start.

http://smarty.php.net/crashcourse.php




65
fatman
Re: Two Arrays in a Block?
  • 2004/3/31 18:09

  • fatman

  • Friend of XOOPS

  • Posts: 176

  • Since: 2003/12/13


1 block with 1 multi-dimensional array?

function myBlockFunction()
{

$block['array_a'] = array('a','b','c','d');
$block['array_b'] = array('1','2','3','4');

return 
$block;
}

// in template
<p>
<{foreach 
item=array_a from=$block.array_a }>
 <{ 
$array_a }>
<{/foreach}>
</
p>
<
p>
<{foreach 
item=array_b from=$block.array_b }>
 <{ 
$array_b }>
<{/foreach}>
</
p>


Hope that helps.



66
fatman
Re: Different startpage for anonymous and members
  • 2004/3/31 18:06

  • fatman

  • Friend of XOOPS

  • Posts: 176

  • Since: 2003/12/13


You probably need to go to the System ADmin -> Group section of your XOOPS control panel.

Here you can check which blocks are available to individual groups. You should see your Custom Block appear in the list of blocks. Select each User Group to see who has visibility access to your block.

Hope that helps.



67
fatman
Re: Executing javascript in PHP
  • 2004/3/31 8:09

  • fatman

  • Friend of XOOPS

  • Posts: 176

  • Since: 2003/12/13


check to make sure your loading a new view of the page and the site isnt loading a cached template. This can be set in the System -> General Preferences section of admin.

If you look at your page source after the page loads and it doesn't show your Javascript link then you are most likely loading a cached view.

else if your javascript is in your souce the failure could be in the actual javascript file.

HTH



68
fatman
Re: Executing javascript in PHP
  • 2004/3/31 5:11

  • fatman

  • Friend of XOOPS

  • Posts: 176

  • Since: 2003/12/13


actually if you wanted to you should use

<SCRIPT LANGUAGE="JavaScript" SRC="<{$xoops_url}>/kickassamd_tracking/track.js"></SCRIPT>

assuming your .js file is uploaded to the kickassamd_tracking folder



69
fatman
Re: Executing javascript in PHP
  • 2004/3/31 5:04

  • fatman

  • Friend of XOOPS

  • Posts: 176

  • Since: 2003/12/13


If it needs to go in every page then stick it in your main theme file. This should be:

/themes/[themename]/theme.html

You can copy past it exactly how you have it. Just about anywhere in the page will work. Probably sticking it in the footer of the page would be best.




70
fatman
Re: Java Classes and Xoops Integration
  • 2004/3/27 5:50

  • fatman

  • Friend of XOOPS

  • Posts: 176

  • Since: 2003/12/13


SOAP could be used.

You should be able to find some sort of a SOAP class for your j2ee application that will can make select functions from the java app available via XML calls. (SOAP is just the format of the XML message)

On the PHP side, you could use the nuSOAP class for PHP. This will let you write PHP functions or class files that send and recieve SOAP messages. It very easy to make a remote SOAP call as long as you know the URL of the server where the java app is running.

Unfortunately here you're going to have to know Java and PHP. I used SOAP to communicate with a JAVA app in the xoogle module but google had already done all the java work :P




TopTop
« 1 ... 4 5 6 (7) 8 9 10 ... 16 »



Login

Who's Online

230 user(s) are online (164 user(s) are browsing Support Forums)


Members: 0


Guests: 230


more...

Donat-O-Meter

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

Latest GitHub Commits