[Show/Hide Left Column]
[Show/Hide Right Column]

Print

Infinite_carousel

errorPlugin disabled
Plugin jq cannot be executed.
$jq(function(){
$jq('#carousel').infiniteCarousel();
});

This uses the Infinite Carousel script for JQuery. See http://www.catchmyfame.com/2009/08/27/jquery-infinite-carousel-plugin-1-2-released/ (cache). When Tiki 5 was released, this script was included as part of the Tiki package. Until then, it had to be downloaded and installed separately.

To make the carousel, there are several steps:

Tiki 5

  1. In Tiki 5, Infinite Carousel is included as part of the Tiki package, so there is no need to install the script.
  2. No modification of code is needed.
  3. Enable JQuery UI and JQuery Infinite Carousel settings at Admin Home > Look & Feel > UI Effects
  4. The necessary CSS still needs to go in the L&F custom html head content, OR it can go in Admin Home > Look & Feel > Miscellaneous > Custom CSS. Example:
    • #carousel ul {
      	list-style: none;
      	width: 7600px;
      	margin: 0;
      	padding: 0;
      	position: relative;
      }
      #carousel li {
      	display:inline;
      	float:left;
      	background-image: none;
      	padding-left: 0;
      }
  5. The initialization script can go in a JQ plugin in the wiki page, before the image divs or at Admin Home > Look & Feel > Miscellaneous > Custom JS. Example:
    • {JQ()}$jq(function(){
      	$jq('#carousel').infiniteCarousel();
      });{JQ}
  6. The image syntax is added to the page as in Tiki 4 version, as described below.

Tiki 4

  1. In Tiki 4, get the script jquery.infinitecarousel.js from the above address.
  2. modify it by changing all instances of "$" in the file to "$jq". This is because JQuery in Tiki is running in compatibility mode.
  3. Upload it to your server.
  4. To initialize the script for use on particular pages, put something like the following in the Look and Feel head custom code. There is an if/then statement that indicates what page the carousel is used on, a link to jquery.infinitecarousel.js, the initialization of the script, and some CSS needed for the carousel div and li items.

{* Infinite carousel start *}
{if $page eq 'Infinite_carousel' or $page eq 'HomePage' or $page eq 'Tiki 3 Themes'}
<script type="text/javascript" src="lib/jquery/infiniteCarousel/jquery.infinitecarousel.js"></script>
{literal}
<script type="text/javascript">
$jq(function(){
	$jq('#carousel').infiniteCarousel();
});
</script>
<style type="text/css">
#carousel ul {
	list-style: none;
	width: 7600px;
	margin: 0;
	padding: 0;
	position: relative;
}
#carousel li {
	display:inline;
	float:left;
	background-image: none;
	padding-left: 0;
}
</style>
{/literal}
{/if}

Then the wiki page needs something like the following. Note that there is a div with the id "carousel", and an unordered list containing the image and a paragraph for the caption.

{DIV(id=>carousel)}
* {IMG(src="http://themes.tiki.org/tiki-download_file.php?fileId=85&display",alt="CandiiClouds",height="265px",width="380px")}{IMG}{TAG(tag=>p)}__Candii Clouds__ [http://themes.tiki.org/tiki-directory_redirect.php?siteId=66|download]{TAG}
* {IMG(src="http://themes.tiki.org/tiki-download_file.php?fileId=86&display",alt="Club Card",height="265px",width="380px")}{IMG}{TAG(tag=>p)}__Club Card__ [http://themes.tiki.org/tiki-directory_redirect.php?siteId=80|download]{TAG}
* {IMG(src="http://themes.tiki.org/tiki-download_file.php?fileId=87&display",alt="absE",height="265px",width="380px")}{IMG}{TAG(tag=>p)}__absE__ [http://themes.tiki.org/tiki-directory_redirect.php?siteId=63|download]{TAG}{DIV}

The procedures described above are for Tiki 4 and Tiki 5. For Tiki 3, there is no Look and Feel "html head" custom code textarea, so templates/header.tpl would have to be edited to add the script.


Theme: Fivealive

Shoutbox

chibaguy, 01:00 GMT, Thu 02 of Sep., 2010: By the way, object-level theme control isn't working with regard to tpl files, so use user pref or switch-theme module for best view of themes (esp. those with custom tpl files).
chibaguy, 00:55 GMT, Thu 02 of Sep., 2010: Sorry, orionrobots, I didn't update Planetfall for Tiki 5 yet, and this site still has the T4 version. Still, I think there isn't much to update. Did you try Planetfall at this site using the switch-theme module?
orionrobots, 18:49 GMT, Wed 01 of Sep., 2010: Hmm - looks like planetfall is not quite right on Themes.tw.o - I am having a hard time with it on a TW5 upgrade on the Orionrobots test site too.
chibaguy, 01:13 GMT, Thu 05 of Aug., 2010: tochinet, sounds like the wrong (or too many) template files are being used. Can you post in the forum and give more details? (Also Tikipedia hasn't been updated for a while, so indicate what Tiki version, etc.)
tochinet, 06:55 GMT, Wed 04 of Aug., 2010: Can someone look at the Tikipedia theme ? On my Firefox, the logo appears twice, there are two lines of links a bit hidden the logo, etc. Maybe it is something simple, I don't know.

Show php error messages
 
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/tikilib.php
Line: 4894
Type: Undefined offset: 2
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 185
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 185
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 185
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 185
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 185
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 185
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 185
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 185
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 185
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 185
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 229
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 229
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 229
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 229
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 229
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 229
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 229
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 229
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 229
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 229
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/blogs/bloglib.php
Line: 227
Type: Undefined variable: blog_data