Joomla Random Image - php

I have been searching a plugin/module for Joomla where:
Loads random image on page refresh
Have each image have their own URL
Has to work with Joomfish (multilingual)
Let me know if you have found any alternative component or module for this type of usability.
The reason why I wanna keep it as a module is I want the client to actually update it by themselves.

That should be pretty straight forward to implement on your own. If you want your clients tu update it by themselves you would need to create a component where they will be able to manipulate all the options. The core functionality would go to a module. Top this up with some configuration files for joomfish and you're done. Here are some references:
Component development
Module development
Joomfish integration

Related

Completely move from Joomla to Wordpress using same domain and server

I'm trying to move my site from Joomla to Wordpress. I'm not a developer and I'm not that well versed with Joomla. I've already recreated the entire site in Wordpress and I don't care too much about SEO. I've had a look at the migration plugin in WP but it's not doing what I need it to do.
Currently, my Joomla site address is: http://myfakesite.com/index.php?lang=en. My WP site resides at http://myfakesite.com/wp/
I've already tried the redirection option from within Joomla but it's not working.
I intend to completely remove Joomla from my server and its database too. How should I proceed?
Use WP all import free plugin by Soflyy.
Its very good way for transfer data with true format,
For first you must export all Joomla data in XML file,
I think its easy. You can find plugin from this link

Integrating custom PHP script into drupal website

I'm trying to integrate a web conferencing tool, called Big Blue Button into my drupal website. I have downloaded a php script that will allow integration between my site and the Big Blue Button API.
In the readme, it says 'stick the entire directory into somewhere that can host php'. So the directory includes, for example, 'index.php', 'assets', 'css' and a few other files. So were do I put this and how can I access this Big Blue Button from a new page on my website? In my drupal folder, I have lots of different folders such as 'modules', 'profiles', 'sites' etc.
Can anyone help me to get this working?
Thanks
I would advise you to do it the Drupal way, i.e., create a custom module. If you're developing with Drupal, you may as well learn to do this.
You will find a lot of free Drupal tutorials here:
http://codekarate.com/daily-dose-of-drupal
Creating a single page is fairly easy. You will need to look at hook_menu. Download the examples module and look at the Menu examples go create a simple page.
Create a subfolder in your custom module to hold the Big Blue Button files and try calling your php script from your menu callback function.
If you've never done this sort of thing, it may seem daunting at first, but have a try & you will find out it's not that difficult.
I would first try putting the entire folder on the same level as the Drupal folder, not within.
you need to create a page w/in Drupal and then link to the index.php of the tool.
That's the kind of thing I have done before, though not with this specific tool... in other words, I just used an iframe to pull it in. That or I've just opened it up in another window.
Integrating actually 'within' Drupal would take more and be creating a custom module which, judging from your question is probably more than you want or can do at this moment.
Try pulling it into an iframe... or possibly loading that index.php into a div via jquery using load().....there may be a newer method but have a look.

how to add joomla site header in my custom php file without using ready made plugin or module?

I have been develope one site in joomla framework. Now my trouble is that client want one custom page in this site. so, please guide me how to i setup theme interface in this custom page?
Although this is not my favorite solution, instead of including Joomla in your script, you can put your script inside an article with an extension that can read your code, like DirectPHP and others.
You can make something like error.php which is really a mini application that renders a single page. You can see in the core how elements of the emplae are used and you can evn pull in modules and so on.

Drupal Features Path To Module

I'm trying to do versioning with GIT and I'm trying to figure out the features module. The Drupal configuration has all its modules stored in the site that it belongs so.
Ex with Google Maps:
sites/theme/modules/googlemaps
But I've been saving the features in the default all directory. Ex:
sites/all/modules/googlemaps
Should the googlemaps feature and module be stored in the same path? I ask because I noticed certain things don't seem to be refelected when pushed and pulled.And is there a good tutorial on how to use features with git?
Drupal best practices encourage storing all non core modules in "sites/all/modules"
Only if you have a multi-site install and want to add a specific piece of code to one of the sites should you store something in "sites/sitename.com/modules".
As far as features go the modules directory doesn't care how you nest the modules as long as they are under the "sites/all/modules" directory. So you want to create 4 seperate directories to store your modules in:
"sites/all/modules/contrib" - this stores all downloaded community modules
"sites/all/modules/custom" - this stores your custom modules
"sites/all/modules/features" - this stores all of your generated features
"sites/all/modules/patched" - if for some reason you need to patch a contrib module drop it in here with the patch and some notes so you will know how to update the module later.
So to answer your question directly. You should store features inside the "sites/all/modules" directory.
Edit:
This question inspired me to write a blog post on my company blog to expound on the strategy above a little further. Check it out at clikfocus.com

How to go about allowing plugins for a custom framework?

First off, this isn't really a programming question but more of a programming concept question. Basically, I've built a bespoke PHP framework to speed up deployment on my end and I want some kind of plugin system in place that will allow me to add specific features to the base of the framework (like the SQL class or maybe a Twitter package) that will allow me to throw them into a folder and not have to actually edit the base for every new project.
Any ideas of the best way of going about this?
Here is a nicely written post by #ircmaxell on how to do that and what are the options:
Handling Plugins In PHP
Also check out:
Best way to allow plugins for a PHP application
what im doing in my cms:
for each plugin i make a folder latin-named of this plugin's name.
i create a /translations folder in there too. Check here.
have a single php file that has 2 basic functions, the plugin_install and plugin_uninstall (you know, things to happen on install/unistall like tables creation/drop)
create a special page of your system that reads these plugins, installed and not and give an on/off switch so users can install/unistall them.
load these single files mentioned above by a single call to include_once on top of your index page (or administration page) so to include whatever functionality they offer.
enabled plugins will be loaded (include_once) from your main page, and also their functionality, so each plugin can call each other's as well.

Categories