Using Joomla With Dhtml Tutorial

Welcome. Please Login, Register, Or Activate! 
type your username and password to login
Date: November 25, 2009, 02:13 PM
432405 members and 299363 Topics
Latest Member: vinmol
Nairaland [Nigerian Forum] Home Help Search Who is currently online? Login Register
Nairaland Forum  |  Technology  |  Webmasters (Moderators: OmniPotens, yawa-ti-de)  |  Using Joomla With Dhtml Tutorial
Pages: (1) Go Down Send this topic Notify of replies
Author Topic: Using Joomla With Dhtml Tutorial  (Read 144 views)
*dhtml
Using Joomla With Dhtml Tutorial
« on: August 12, 2009, 07:45 AM »

Now, that is my question, as in, i am doing a research on the best way to go about this.
I am ehm very much a newbie in joomla for now, and i will be the one asking questions.
By the way, anyone is free to ask questions, and anyone is free to reply.
*dhtml
Re: Using Joomla With Dhtml Tutorial
« #1 on: August 12, 2009, 08:03 AM »

Since i am a developer, i love creating things. Until now, all i have done in joomla has been to download stuffs, and use them for test samples.
Though i hav been able to build a custom module, i want to learn more on how to create plugins and stuffs. . . .that is the dhtml aspect of
joomla. . .or so i immagine. . .at least according to http://docs.joomla.org/Developers
yawa-ti-de (f)
Re: Using Joomla With Dhtml Tutorial
« #2 on: August 12, 2009, 10:56 AM »

If I understand what you mean, just:

1) open the index.php of the template in question
2) add the necessary calls to the jquery.js and any other related files
3) add the file names to the template.xml file
4) Start coding, within the index.php, not within the admin panel.

From experience, if you don't see your changes right away, you might have to reinstall Joomla! with the updated template.xml file.  In other words, sometimes, merely adding your new files to the template.xml and saving it doesn't always guarantee that it will work.

Good luck!
quadrillio (m)
Re: Using Joomla With Dhtml Tutorial
« #3 on: August 12, 2009, 12:40 PM »

what really prompted me to start designing my own module was when I searched and couldn't find d one that does exactly what I want

am still workin on it, and it still in it's early stage

will give it to d house when am tru, but so far it's been very interesting and challenging.
*dhtml
Re: Using Joomla With Dhtml Tutorial
« #4 on: August 12, 2009, 04:43 PM »

I am still very green here, but i am trying sha. Exactly qadrillo, it is sometimes hard to get
precisely what you need, if you can build it, then why not? afteral joomla is making use
architectures that i am very familiar with like jquey, xhtml, php5 oop. . .i want to test things
first before starting to write my own modules, which i need ASAP!
*dhtml
Re: Using Joomla With Dhtml Tutorial
« #5 on: August 12, 2009, 05:17 PM »

Hurray, i just created my first component, now i am feeling like obama. Next, i want to create a custom component, no matter how simple
before i move on to creating plugins. I even read a very good tutorial yesterday for creating custom css based layouts, but i have not tried
that yet. So many things to learn and do, yet, so little time. I figure out that if i learn how to create these components and stuffs, it will
reduce manual overrides which i have been avoiding till i become a joomla pro. But i can manipulate css layouts sha.
*dhtml
Re: Using Joomla With Dhtml Tutorial
« #6 on: August 13, 2009, 04:55 AM »

Well, after several days of work, i can now build my own customized components, plugins, modules. Can access joom dbase.
Next, i need to learn properly now, how to build my own customized template, the one i did before was ojoro-to-the-answer.
*dhtml
Re: Using Joomla With Dhtml Tutorial
« #7 on: August 13, 2009, 09:22 AM »

@yawatide, that initial project i told you about, i have been able to execute it properly with joomla. I just modified the
module's template database to check if the user is registered. . . using the code snippet below:

Quote
<?php
//check for validity
         $user =& JFactory::getUser();
        if ($user->guest) {
        } else {
      //find out if this person has paid
      $uid=$user->id;
      
$db =& JFactory::getDBO();
$query = "
  ";
$db->setQuery($query);
$status = $db->loadResult();

//make link redirect to enter scratch card
if(. . . . . .) {
}

};

?>

So with that, i could tell if a user is logged in or in guest mode, if in logged in mode, i just check the database to see if
the person has paid. . . . . . . .then i was able to modify one of the modules on the home page to display my own
dhtml written payment page inside a template of another module if the user has not paid, which will handle the payments
i have in mind. . . . .
So now, i have been able to write joomla components, modules, templates, plugins at least on a basic level, and i can access
some basic joomla objects like user data, database, JSession . . . with more ease. . . maybe i should start. . . .

But seriously, i find joomla very nice. I even used that my vQuery stuff inside this project, with animation effects on some other
stuffs. . .if i can master this joomla well, it will reduce my dhtml coding, and make my work cleaner, faster and more efficient
yawa-ti-de (f)
Re: Using Joomla With Dhtml Tutorial
« #8 on: August 13, 2009, 10:59 AM »

Seems like you have over-complicated things but alas, you are doing it to learn so no yawa.  At least you have beaten me in something, something I don't intend to do  Grin

Good job.  Just keep your phone handy in case I call.  Good job!
*dhtml
Re: Using Joomla With Dhtml Tutorial
« #9 on: August 13, 2009, 11:51 AM »

At least, i got the job done. Today happened to be the dead line for that stunt i pulled there.
Now i want to practice creating CSS based joomla layout development, here i go. . . . . .
quadrillio (m)
Re: Using Joomla With Dhtml Tutorial
« #10 on: August 13, 2009, 12:54 PM »

@DHTML

don't call yourself a green horn, na until u build your own joomla b4 u go gree say u sabi.

Nice one sha, at least I have someone to call if my module dey prove stubborn.
*dhtml
Re: Using Joomla With Dhtml Tutorial
« #11 on: August 13, 2009, 03:37 PM »

There are still loads of gaps in my joomla skills. I am trying to avoid overriding all the way. Lemme learn to do
things normally first (that sucks a little). I am still struggling to build my own templates properly, i can modify
already existing ones, but it is kinda difficult sometimes to even do that. After that, i want to learn how to build
my own customized menubar, in case i decide to do it myself. I am still green until i can do things properly.
*dhtml
Re: Using Joomla With Dhtml Tutorial
« #12 on: August 14, 2009, 05:42 AM »

I can now build my own customized template, 80% exactly the way i want it. After learning lots of joomla jargons like jdoc, JDocument, JRequest,
JSession and so many other stuffs. Next most important thing now, is for me to do more work in creating my components the way i like it
and also to create a good menubar as well. I usually start frontend development from Fireworks, then convert it into css templates. And i want to
get the full design exactly the way I/my frontend developer did the initial template into joomla.
*dhtml
Re: Using Joomla With Dhtml Tutorial
« #13 on: August 15, 2009, 09:05 PM »

Now, i find template building the easiest task in joomla. Once i design the template with css based layouts, then i split it up into modules and a
component. First, i divide the various parts into header, footer, menu (i can build my custom menubar now the way i like).
Then i create the template, upload it into joomla and use the appropriate <jdoc:include type="modules" name="top" /> to load the various
module positions, and then <jdoc:include type="component" /> to load the component requested. Then, i set the newly created modules
to their equivalent position in the original css template. And then i get 100% of precisely what i designed originally with pure html and css.
Plus the added functionality of joomla being able to change module positions and other stuffs like this.

By now, i can now use the core objects of the joomla framework fluently, like JSession, JDatabase and others. So i can determine if i am on
the home page, to know if i wish to show breadcrumbs or not. I can tell programmatically if a user is logged in or not. . . . . . .

And most importantly, i can make use of my full web developer skills, both coding and logic to extend the functionalities of joomla in case i
cannot get precisely what i want. By now, to modify the codes of existing templates is now very very simple.

Next, i want to practise more with plugin development. And then revamp my biz site mwebng.net with joomla to add more functionality and feedback
systems. And of course, i will design my other new site dhtmlexreme.com with joomla + dhtml = i am curious to see the results

Meanwhile, i will appreciate questions in joomla, let's see how good i am yet. So far, i have been the one rating myself
*dhtml
Re: Using Joomla With Dhtml Tutorial
« #14 on: August 19, 2009, 05:45 PM »

and the result of joomla + dhtml test =  www.dhtmlextreme.com
yawa-ti-de (f)
Re: Using Joomla With Dhtml Tutorial
« #15 on: August 19, 2009, 06:01 PM »

Pretty good. if you hadn't said so, I wouldn't have known it was joomla.  I like it when you look at a site that uses CMS and you can't tell it is one unless you are told  Cheesy
*dhtml
Re: Using Joomla With Dhtml Tutorial
« #16 on: August 19, 2009, 07:35 PM »

The other gurus i called for review said the same thing too. And funny, i wrote total of less than 20 lines of codes. but i did alot of tweaking.
And that my template too has some plugin and module functions embedded in it, giving some un-joomla behaviours. Thanks.
 Реальный заработок  How To Install A Script  Let Us Discuss On Some Legal Ways To Make Money On The Internet  Page 2
Pages: (1) Go Up Send Topic to Friend by E-mail Reply 


Sections: Autos/Cars (2) Jobs/Vacancies (2) (3) Career Talk Education General(2) Politics Romance Computers Phones Travel
Sports Fashion Health Religion Celebrities TV/Movies (2) Music/Radio (2) Books Webmasters Programming

Links: Page1 Page2 Page3 Page4 Page5 Page6 Page7 Page8 Page9 Page10

Nairaland is owned by Oluwaseun Osewa. See also: Nairalist Classified Ads
Nairaland Forum | Powered by SMF 1.0.12.
© 2001-2005, Lewis Media. All Rights Reserved.