How to integrate .json info-graphic files into Joomla 2.5? - Joomla! Forum - community, help and support


as webmaster joomla 2.5.20 site using beez2 template, have been given series of files integrate site info graphics. files made of several folders such css, data, php , index page of can view info graphic. data file has .json file in it. wondering how integrate these files website eg: place folders/code in joomla / server. should placing of code module or article , uploading css files template code area?

the note below developer of code:
"as language i’m using interaction of graphic d3, javascript library. need pair of <div> tags in html , visualization embedded."

any on getting these 3 separate info-graphics embedded site great.
thanks
jo

as long there's no conflict existing folders, there's no reason why can't place code library in folder expects in. if /includes/(something) check joomla's existing /includes/ folder collision. it's fine add files here, sure keep project notes in case has rebuilt :)

next want libraries loaded. this, create alternate layout: http://docs.joomla.org/layout_overrides_in_joomla

in alternate layout, add addscript call library page. assign alternate layout relevant menu items. both beez20 , beez5 (in main index.php file) have examples of addscript usage.

finally need front-end code. can either put article's body, or module... whatever makes sense use case. might need become aware of settings text filters , how make tinymce allow scripts. (see paragraph 5 of latter link; i'm describing 3.x part same in 2.5.)





Comments

Popular posts from this blog

Joomla 3.3 Installation Error message - Joomla! Forum - community, help and support

Multilanguage infinite redirect loop error. - Joomla! Forum - community, help and support

Thread: Wine can't find the cd