views_slideshow without using Drupal CMS - php

I'd like to use exactly the same slideshow script like http://drupal.org/project/views_slideshow but without using Drupal itself. Do you think it is possible? Perhaps the script is based on other OpenSource project I don't know?

There are a couple of Javascript Slideshow plugins. Drupal's Views Slideshow module uses jQuery Cycle plugin. http://jquery.malsup.com/cycle/

There are plenty of script that allow you to do some slideshow.
There are a lot of page that list lots of them.
Isn't here something that is what you are looking for ?

Related

Integrate PHP plugin from Joomla in an Android Application

I have a website running with Joomla!, and I'm using PhocaGallery, which is a component used for managing a photo gallery.
In my articles, I simply put a tag, for example :
{phocagallery view=category|categoryid=2|limitcount=2}
This tag displays simply 2 images from the category which has 2 as ID.
I'm developing my own application for this website, and when I load an article on it, I have simply the tag displayed, without images, that's normal.
I have the long PHP code for this plugin.
I would like to know how :
1. Detect the tag when the article is loadind in application
2. Call PHP script in the application to browse good images
3. Display images
The problem I think, is that the PHP code may call to folders on the website, and I think the application can't...
Do you think it's possible ?
detect the tag: use a regular expression to parse the parameters you need
inkoking the plugin is pretty straightforward, just make sure you're making all the necessary resources available i.e. most likely you will want to load the whole joomla framework. Since you're just querying a single table you might be better off doing it on your own with mysql, it will save you a lot of time both developing and at runtime
just output the

Creating a Template based PHP BLOG

I just created a BLOG Script. I'm using foreach to loop and display the posts. But now I want to create a template engine like Wordpress. How can I do that? I'm new to PHP. I don't have any idea to do this.
I tried using file_get_content. For example:
file_get_contents("template_dir/template_name/index.php");
But there is a problem with CSS and images. That's my first problem. Anyone please help me to create this.
To bring in files you use include() or require()
However, I don't see why so many people insist on trying to reinvent the wheel. If you are building a blog install Wordpress and code your own Wordpress theme. Wordpress has been in development for years and is now not only one of the best blogging engines, but a very powerful cms capable of powering any type of site.

How to resize the open-source to-do list system "MyTinyToDo"?

I am trying to include the open-source to-do list system called MyTinyToDo on my website. When I resized it to be fit to the website layout, the position of the windows for some functions such as (Tags or arrow besides Tasks) of the system were changed and they messed the style.
By using the Firebug, I could be able to figure the reason of that problem. The reason is: this system uses JQuery to determine the position of those windows. I tried to find the statements that are responsible for this task inside the JQuery files but I failed to find them.
So what should I do?
Why dont you include mytinytodo into an <iframe> ?
I gess it would prevent jQuery from bothering your layout.
How you included the mytinytodo.net in your site.you have also included jquery in your website.Then may be jquery libraries may get clashed. Check out

How do I properly use code in joomla articles?

I am very new to web development and CMSs. I want to make a Joomla site that features articles with a lot of graphs at the top of the page and written content below them. The charts will probably be done with fusioncharts and some controls directly below them to dynamically influence the data displayed in the charts preferably without reloading the page.
My question is what is the most appropriate way to do this in joomla? Can I get the sourcer add in and simple create articles using inline javascript calls to place the charts and controls directly in the article? Is this how people usually embed non text based content in joomla? Is it possible to access the database with code directly embedded in the article to generate the chart?
I dont really want to learn too much of the joomla API right now, I'm more interested in using the CMS features to create the pages and then just coding everything else in javascript/php directly in the page but I'm not sure if that is appropriate or if it would introduce security concerns to my site.
Why not try the FusionCharts extension for Joomla -
This will be much easier than coding this yourself, the work has already been done.
I believe the best thing to do is just use a good WSIWYG and then use the source code feature.
TinyMCE does the work just fine.
Are you looking for plugins or components to add and do this or do you just want to log into administrator and start doing this right away?

Can a WordPress blog pull content from Django pages?

Say you have a WordPress theme you like, but want to make use of a bunch of Django code that's already written. Is there a good and easy, and performant way, of sucking in HTML that is output from Django and displaying it inline in a WordPress posting, or page without using browser frames? Any good examples of this?
You can do this by outputting the content in Django as usuall and then making a Wordpress plugin with code for downloading it from Django's URL
readfile("http://yourdomain/your/django/view")
But it's a really bad idea. If you just want to use the wordpress theme port it to Django. This strange PHP/Python hybrid will be a nightmare to maintain, especially if at any point you decide to add more features or make it more dynamic.
if the djanjo-code generates a rss-feed, you could use a plugin like wp-o-matic to import posts from your django website into wordpress.

Categories