Home » Forum
NoNumber!

Joomla!® Websites & Extensions
development  -  support  -  consultancy

I try to respond within 48 hours (excluding weekends).
If I haven't responded by then, feel free to post a reminder or bug me via email.

My last reply was: 2 Hours, 15 Minutes ago.

Welcome, Guest
Please Login or Register.    Lost Password?

Nothing happen
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Nothing happen
#5178
Nothing happen 2 Years, 3 Months ago  
Hi there,
I am trying to put a simple sled show in the background in this way:

<div id="bg-top">{source}<?php
echo "<script>var slide1foldername='';</script><script src='slide1.js' type='text/javascript'></script>"; ?>{/source}
</div>

What I am getting is only this:
var slide1foldername='';

Any idea what is wrong?
jordan11
Posts: 1
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#5187
Nothing happen 2 Years, 3 Months ago  
Firstly, your editor is probably stripping your tags. So use the double bracket syntax. More on that here:
http://www.nonumber.nl/sourcerer

Secondly, why are you using php to echo a script? Why not just do:
<div id="bg-top">{source}[[script type="text/javascript"]]var slide1foldername='';[[/script]][[script src='slide1.js' type="text/javascript"]][[/script]]{/source}</div>

Peter van Westen
Admin
Posts: 9147
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#5230
Nothing happen 2 Years, 3 Months ago  
It shows up blank when I put this code in? the code is sticking but nothing shows.. what am I doing wrong?

{source}
<link id="ext_css" rel="stylesheet" type="text/css" href="css/zstore.css"/>
</head>

<body>


<?php

// configure Zazzle Store Builder display
$_GET['showPagination'] = 'false';
$_GET['showSorting'] = 'false';
$_GET['showProductDescription'] = 'false';
$_GET['showByLine'] = 'false';
$_GET['showProductTitle'] = 'false';
$_GET['showProductPrice'] = 'false';
$_GET['showHowMany'] = '500';
$_GET['gridCellSize'] = 'medium';
$_GET['contributorHandle'] = "Pazzoom";

include "include/zstore.php";

?>{/source}
KrystalHamilton2
Posts: 1
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#5231
Nothing happen 2 Years, 3 Months ago  
You shouldn't put </head> and <body> in your articles!

Also search my forum on how to include files.
Peter van Westen
Admin
Posts: 9147
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
Go to topPage: 1
Moderators: Peter van Westen
MaxCDN | Content Delivery Network | Accelerate your site to the max
Open Source Training | Online Joomla! Training and Support
hosting joomla