Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 31.343.890 Times

Mongodb Peekaboo; Ajax CCK field loader 6.x-1.0

  Date Added: May 22, 2013  |  Visits: 323

Mongodb Peekaboo; Ajax CCK field loader

Report Broken Link
Printer Friendly Version

Product Homepage
Download (18 downloads)

Provides a CCK field that can be used in nodes, node templates, and views to output the contents of another CCK field, from the same node, via Ajax.Click the image on the right to see an animated demonstration.BackgroundThis module was made when I had built a massive site structure using the book module, although similar hierarchies are possible with other modules such as node reference. I used a viewfield to embed a view of the child nodes into each node. Each view also showed the output of the child node's viewfields. I discovered I could produce a massive tree of nodes, however it was very slow to load. I needed a solution that allows the user to load a minimal version of the node, with the ability to produce and display the viewfield at the user's discretion, thereby preventing memory or time limits exceeding upon page load, especially once more nodes were added. I tried a few things, and soon the peekaboo cck field was born, one field to point to another.Example setupPrior to using this module you have created some other CCK field on your content type. 1. Create a CCK field using the Peekaboo Select widget (See CCK module help). 2. Optionally, configure the default value of the CCK field to point to a target CCK field, and use the 'content permissions' module to disable the ability for node authors in certain roles to change this field. 3. Choose the wording for the link, and whether to hide the link upon use. If the link is not hidden it will be usable as a 'toggle' for the content. 4. For optimal performance, hide and exclude the target field from being loaded in the node on the 'display fields' section when configuring your content type. 5. Choose the formatter in the 'display fields' section appropriate for your peekaboo field: * Default - Gives the link and the empty container for the Ajax. * Plain (no link) - Gives only the empty container for the Ajax. You would have to theme/template your own link. The resulting HTML output must contain the three classes as shown in the example below, as well as have the same ID as the div container except with -link appended to the end. text You can also add the class "peekaboo-link-removable" to remove the link after it is used. tip: look at the source of the function peekaboo_link_anchor() for a complete way of generating the html output. * Link only - Gives only the link, you could use it in conjunction with the plain formatter in views, or provide the div container yourself, which involves using the 3 classes: peekaboo-container, peekaboo-collapsed, and peekaboo-unprocessed, as well as the same ID as the link, except without the -link part at the end. You would also need to add the CSS and javascript files. tip: look at the source of the function peekaboo_container() for a complete way of generating the html output and ensuring the proper javascript and CSS files are added. 6. Optionally use CSS to turn the link into an image, for example: a.peekaboo-link { /* Give the link a bounding box */ display: block; width: 100px; /* width of bg image */ height: 100px; /* height of bg image */ /* Add the image - use your imagination */ background: transparent url(images/my_image.png) no-repeat 0 0; /* Hide the text in most browsers */ text-indent: -10000px; overflow: hidden; /* Hide the text in IE */ line-height: 0; /* If your image simulates a button, use this cursor style */ cursor: default; } 7. Optionally use a different image for a.peekaboo-collapsed and a.peekaboo-expanded selectors, e.g. an arrow that points to the right, and an arrow that points down. 8. Optionally override the styles in the .css file included with the module, such as the throbber image.ThemingYou will find the following three functions defined in the module file: * theme_peekaboo_formatter_default($element) * theme_peekaboo_formatter_plain($element) * theme_peekaboo_formatter_link($element)You can add more output to these functions, but be careful if changing the existing output. To reduce problems the default output is generated by helper functions.

Requirements: No special requirements
Platforms: PHP
Keyword: Ability Arrow Container Content Cursor Default Display Field Fields Formatter Functions Generating Image Module Nodes Optionally Output Section
Users rating: 0/10

License: Freeware Size: 10 KB
Networking  -  Content Switcher 1.8.5
Content Switcher allows you to easily insert into posts, pages and widgets of your website random numbers, and random or variable contents. You can use it, for example, to display COOKIE, ENV, GET, POST, SERVER or SESSION variables. Content...
51.2 KB  
Modules  -  CCK List 7.x-1.0-alpha4
This module adds a CCK list field type that lets you add a list display to any content type without having to manually enter HTML. To be most pacific, it adds a textarea field. For every row enter it will be a list point. The output is generated...
10 KB  
Modules  -  nrelate Related Content 0.50.0
The easiest way to display related content from your sitenrelate is not just another related posts plugin. Our patent-pending technology continously analyzes your website content and displays other related posts from your website. This ultimately...
624.64 KB  
Modules  -  Ubercart Sub-Product 6.x-1.0-rc1
AboutThis module allows you to create a 'super' or 'parent' product node-type and then display a list of 'child' products in a table with a single add to cart button to add multiple products to the cart in one go.Features * Integrates with...
20.48 KB  
Modules  -  Field formatter settings 7.x-1.0-beta1
The Field API in Drupal core lacks the ability for other modules to easily alter field formatter settings forms and the formatter summaries. This module is a small API provider for other modules since it's too late to get the hooks into core (see...
102.4 KB  
Modules  -  node privacy byrole 6.x-1.6
Manage which roles can view, edit, and/or delete nodes by content type (default) or on a per-node basis (overriding defaults on each node).Also supports changing permissions using Actions.This module is similar in function to Content Access with...
10 KB  
Modules  -  Formatter Reference 7.x-1.x-de
Provides a "Formatter Reference" field type for being able to display other fields differently on a per-entity basis. For example, suppose instead of picking an image size (like "large") as the format for the Image field on the Article node type,...
10 KB  
Libraries  -  PHPS 0.6
PHPS application provides the ability to seperate content from functionality, mostly having to do with HTML. Pages are written in pseudo-HTML, as you would normally, and then converted into an intermediate representation of PHP objects which you...
23.55 KB  
Utilities  -  msr 20060206
msr is a tool to display or modify x86 model-specific registers (MSRs). The syntax for arguments is: (none) : display all MSRs number : display MSR with number subname : display any MSRs whose names contain subname number.field : display...
26.62 KB  
Modules  -  Node Convert 6.x-1.2 / 5.x-1.4 1.0
Also it gives the ability of transfering all the custom cck field values of the current node type, to the destination cck fields, or discard them.The bulk conversion of multiple nodes of the same type is also supported.InstallationUnpack in your...
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 MB  
Modules  -  TinyMCE Node Picker 6.x-2.1
This module will de discontinued and replaced with Node Picker as soon as a stable release is available.TinyMCE Node Picker provides a button in TinyMCE that displays a list of links to content. Choosing a link inserts it into the editor.The...
20.48 KB  
Modules  -  Fapilicious 5.x-1.x-de
Fapilicious is a collection of FormAPI goodies.I hope to make it a repository of reusable FormAPI trickery and short cuts. Currently it has small collection of powerful FormAPI element validators.Please submit your favorite tricks as patches so we...
10 KB  
Modules  -  Donation Goals 6.x-1.x-de
The Donation Goals module lets you create nodes of the type "Donation Goal." These goals allow you to set an amount of money you'll need for whatever you're saving up for. Visitors of the site can then donate money through PayPal. Once the target...
20.48 KB  
Modules  -  Plica Twitter 1.0.1
Plica TwitterInstallation : * Download, unzip, and install plugin dir in /wp-content/plugins * Activate * All right now
10 KB  
Modules  -  Page Array 5.x-1.x-de
The pagearray module is a small (single function) helper module that can be used whenever there is a need to load the output of any Drupal path in data form. Based on the code in index.php, Page Array bypasses the theme('page') call, instead...
10 KB