Page 1 of 1

How to Use a Jumi

Posted: Mon Mar 24, 2008 11:08 pm
by nbright
Greetings all, I'm fairly new to Joomla; just building up my first site. I'm trying to use Jumi to include some PHP for a database lookup, but having some difficulty. I think that I do not have the configuration quite right for this to be doing what I'd like it to do.

What I'm after is a button on my menu that will load a content item, and that content item would contain the PHP code through Jumi.

I'm using Joomla 1.0.13 stable, and Jumi v1.10, on Apache 2.2.3 with PHP 5.1.6 on CentOS 5.

After installing the Jumi module, setting the file pathname of the Jumi module to "includes/jumies/test.php", writing my PHP code and uploading to includes/jumies/test.php, then creating a content item containing {jumi [includes/jumies/test.php]} when I view the content item, only the text "{jumi [includes/jumies/test.php]}" is displayed, and I don't see any errors in the apache error log. In the process of trying to figure out what might be the issue, I discovered that if I open the Site Module and select a "Menu Item Link" then when I click that menu item, the correct output of my php page shows up in the menu column (i.e. below the navigation buttons).

What am I doing incorrectly and/or what do I need to do to make the system behave such that when I click the navigation button the output of my PHP page is in the main content column?

Re: How to Use a Jumi

Posted: Fri Apr 04, 2008 3:30 pm
by hhtmp88
You should use Jumi Plugin if you want to include codes in a content page!

Use Jumi Modules if you want it to be operated separately like other Joomla modules!

Hope this help!

Rgds,

Re: How to Use a Jumi

Posted: Fri May 30, 2008 9:00 pm
by Jensrsa
Thanks httmp88!

I've been struggling with this as well

Re: How to Use a Jumi

Posted: Mon Dec 01, 2008 10:14 pm
by jjheath
I am having a similar issue. i have installed and activated the Jumi Plugin, and have the following code in my article : {jumi [templates/iwc/events_alumni.php] }

but, nothing happens, that exact code shows up on my article page, and does nothing. I just don't get it.

Re: How to Use a Jumi

Posted: Tue Dec 02, 2008 8:43 pm
by MarHaj
jjheath wrote:I am having a similar issue. i have installed and activated the Jumi Plugin, and have the following code in my article : {jumi [templates/iwc/events_alumni.php] }
but, nothing happens, that exact code shows up on my article page, and does nothing. I just don't get it.
I just review:
- the plugin is installed,
- the plugin is enabled (sure?),
- the jumi syntax is written into the article (not category or section description?).
And the code is visible.
There can be two known reasons there:
a) plugins with curly brackets {...} are know that do not work in some rocket theme templates.
b) verify the plugin syntax {jumi [templates/iwc/events_alumni.php] } in no wysiwyg editor. Remove all unvisible characters from the syntax, if there are any.
Sometimes it helps, if you have more 3rd party plugins installed, if you move jumi plugin up in the list of installed plugins (plugin manager).

Re: How to Use a Jumi

Posted: Wed Dec 03, 2008 5:05 pm
by hhtmp88
Dear all,

Pls. take a look at all these examples:
http://edo.webmaster.am/jumi/

and Jumi's site:
http://jumi.vedeme.cz/


Rgds,

Re: How to Use a Jumi

Posted: Wed Feb 25, 2009 3:22 pm
by Lenscap
Hi Guys,

I have been going loopy loo over this plugin business and have literally just got it working.
I too was seeing the jumi code and on my site it looks like this {jumi [banners.php]}
After double checking everything my last change was in the plugin edit page.

Go to your plugin list and find your Jumi plugin.

On your plugin edit screen from the top left, you will see labels in the order as below :

Name:
Enabled:
Type:
Plugin File: ( make sure the word entered in this field is jumi )
(there is no need to enter the .php extension as you will see it's already labelled on the right of the field.)

When I first set up the Jumi Plugin, I automatically entered the name of my banners.php file in this Plugin File field (which was the wrong thing to do) and wonder if you guys have done the same thing as me hence the raw code showing but no ads ?

Try it and see what happens, it worked for me and I am now adding fbanners and google ads to my content via Jumi and it's GREAT !!

Re: How to Use a Jumi

Posted: Thu Mar 05, 2009 11:38 pm
by gungar
I need to popup an iFrame (wrapper, module, or some other solution) to display a page generated by a PHP script when the user clicks on a link (which will also pass in some parameters). I don't want the user to have to navigate away from the page to view this content. What is the best way to attack this?

I did this with an article, but get the whole site in the frame (i.e. double navigation), not just the content from the article (in hindsight... I should have seen that coming). Can I use a jumi module? Not sure how to link to it. Is there a better solution?

Help is much appreciated!

Re: How to Use a Jumi

Posted: Wed Apr 21, 2010 6:54 pm
by creynolds
Ok, so i think a few of you have the right concept. Here's a quick once over that may help some-

Create a custom code snippet of css, php, js, or whatever in the jumi manager. (components > jumi. then, add + to create a new snippet) Put your piece of code in here and name it. (this is the code you will want to use later somewhere on your site) save it. note the article's number. you just created an object, controller- whatever you want to call it.

navigate to the article you are looking to insert the snippet of php/js/whatever you just wrote into. use the following syntax.

{jumi [*4]}

in my example, the 4 represents the "ID" of the snippet i created in the jumi manager. save and view the article.

hope this helps

Re: How to Use a Jumi plugin??

Posted: Sun May 23, 2010 6:19 am
by globalcomercio
Hello everybody, I have been trying to use this jumi plugin but for some reason is not working, can someone help? Thanks!.

I have a php file with php code under a folder in the host, and inside the article I have used this syntax:
{jumi [/domain.com/htdocs/plugins/testjumi.php] }

also using the same path: /domain.com/htdocs/plugins/testjumi.php inside the plugin at default absolute jumi path.

and got this error:

The file /domain.com/htdocs/plugins/testjumi.php//domain.com/htdocs/plugins/testjumi.php does not exist or is not readable!
now I'm trying to reinstall the plugin and see if that help.

Re: How to Use a Jumi

Posted: Mon May 24, 2010 8:09 pm
by siddha05
Need help on Jumi. I have installed Jumi and used the module for pasting code for a livehelp link on my site. So, if I would like to have another such module to be displayed on the site, then what needs to be done? The module can only be used once right? Do I have to install another custom code component (or module) to make this work? Please let me know. Thanks for your help!

Re: How to Use a Jumi

Posted: Fri Jun 04, 2010 10:24 am
by nikografi
Hi,

I'm using Jumi Plugin, I was able to make the contact form appear on my article, however it won't work. This is the code I placed on the article content {jumi [codes/contact-form.php]}. I want to know how will I make the send_contact.php to get processed too? How will I declare it?

I need your help please...

Thank you.

Re: How to Use a Jumi

Posted: Fri Jun 04, 2010 7:29 pm
by globalcomercio
In my case i have tried with sourcerer and jumi but both show nothing on the front end screen, even after trying with different script.
any suggestion.? Thank you.

Re: How to Use a Jumi

Posted: Fri Jun 04, 2010 11:46 pm
by siddha05
Well...I preferred Sourcerer over Jumi. It found the former to be a great/easy to use plugin to add custom html/javascript/php on your site content (i.e articles). What problem are you specifically facing?
Also a way to add html as a module on your site is to use "custom html". It is part of the Joomla core.

Re: How to Use a Jumi with AJAX

Posted: Wed Jan 19, 2011 10:15 am
by pshekher
How to use ajax in Jumi

Re: How to Use a Jumi

Posted: Wed May 29, 2013 10:40 am
by rsaxena82
Hi,

I am trying to call a php function from a html form. Both html form and php function are in same jumi application. I get a page not found error. Please help.

<?
defined('_JEXEC') OR defined('_VALID_MOS') OR die( "Direct Access Is Not Allowed" );

$user =& JFactory::getUser();
$field = $user->email;

function searchCandidate(){

$db_host = 'xxxx';
$db_user = 'xxxx';
$db_pwd = 'xxxx';

$database = 'sks1307206242158';
$table = 'sks_tb_job_candidate';

if (!mysql_connect($db_host, $db_user, $db_pwd))
die("Can't connect to database");

if (!mysql_select_db($database))
die("Can't select database");

// sending query
$sql = 'SELECT * FROM sks_tb_job_candidate';

if ($result=mysql_query($sql)) {
echo "<table border='1'>";
echo "<tr>";
echo "<td>Name</td>";
echo "<td>Age</td>";
echo "<td>Gender</td>";
echo "<td>Marital Status</td>";
echo "<td>Address</td>";
echo "<td>Landmark</td>";
echo "<td>Mobile</td>";
echo "<td>Landline</td>";
echo "<td>E Mail</td>";
echo "<td>Emp Type</td>";
echo "<td>Qualification Level</td>";
echo "<td>Qualification Detail</td>";
echo "<td>Experience</td>";
echo "<td>Expertise</td>";
echo "<td>Level</td>";
echo "<td>Function</td>";
echo "<td>City</td>";
echo "<td>Achievement</td>";
echo "<td>Salary</td>";
echo "<td>CV</td>";
echo "<td>Submit Date</td>";
echo "</tr>";
while ($row=mysql_fetch_row($result)) {
echo "<tr>";
echo "<td>".$row[0]."</td>";
echo "<td>".$row[1]."</td>";
echo "<td>".$row[2]."</td>";
echo "<td>".$row[3]."</td>";
echo "<td>".$row[4]."</td>";
echo "<td>".$row[5]."</td>";
echo "<td>".$row[6]."</td>";
echo "<td>".$row[7]."</td>";
echo "<td>".$row[8]."</td>";
echo "<td>".$row[9]."</td>";
echo "<td>".$row[10]."</td>";
echo "<td>".$row[11]."</td>";
echo "<td>".$row[12]."</td>";
echo "<td>".$row[13]."</td>";
echo "<td>".$row[14]."</td>";
echo "<td>".$row[15]."</td>";
echo "<td>".$row[16]."</td>";
echo "<td>".$row[17]."</td>";
echo "<td>".$row[18]."</td>";

echo "<td><a href='download'>".urlencode($row[19])."</a></td>";

echo "<td>".$row[20]."</td>";
echo "</tr>";
}
echo "</table>";
mysql_close();
} else {
echo "<!-- SQL Error ".mysql_error()." -->";
}
}

?>

<form name="searchForm" action="searchCandidate()" method="post">
Search Category:
<select>
<option value='name'>Name</option>
<option value='age'>Age</option>
<option value='gender'>Gender</option>
<option value='maritalstatus'>Marital Status</option>
</select>
&nbsp;&nbsp;&nbsp;&nbsp;
Enter Search Text:
<input type='text'</input>
&nbsp;&nbsp;
<input type='submit' value=' Search '>
</form>

<?
//mysql_free_result($result);
?>

Re: How to Use a Jumi

Posted: Wed May 29, 2013 10:41 am
by rsaxena82
Hi,

I have files inserted into mysql database as long blob. When i select from database and display them I get just the name of the file in search result on screen. How can I show that as a downloadable link on html page?

Rahul

Re: How to use Jumi on joomla 1.5

Posted: Sun Nov 24, 2013 8:03 pm
by themc
Hi, I have been reading everything and I am still lost...lol

ok, i am trying to use Jumi to add background images to my 1.5.23 site. I am looking for step by step instructions but can't find anything. my site has lots of blue around the edges. I want to change this blue to show images. And can it show a different image for each top link?

my site. www.TurnMusicN2Money.com