Posts: 41
Threads: 7
Joined: Aug 2009
great way to display object is with this eye candy:
http://www.nickstakenburg.com/projects/lightview/
I recommend you to use it in the future
Posts: 41
Threads: 6
Joined: Aug 2009
again. this can (and SHOULD) be done in theme. not necessary to bloat the system.
Posts: 1,848
Threads: 86
Joined: Aug 2009
I already use a small-footprint modal window called superbox to show a few things such as images in the 'Files' tab and the navigation & ticket system.
I think I am going to stick with that for a while b/c it's very lightweight and is simple to use for many different things within the admin panel.
-
Chris
Thanks for using GetSimple! - Download
Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Posts: 41
Threads: 3
Joined: Dec 2009
ccagle8 Wrote:I already use a small-footprint modal window called superbox to show a few things such as images in the 'Files' tab and the navigation & ticket system.
I think I am going to stick with that for a while b/c it's very lightweight and is simple to use for many different things within the admin panel.
____________
Hi Chris
yes, I'mm seeing at ADMIN->FILES , the attribute
Code:
href="../data/uploads/myimage.png" rel="superbox[gallery][imgList]">
shoud we hard-code it on code editor, when creating page's content ?
or is it there a interface way ?
thanks
Posts: 972
Threads: 27
Joined: Aug 2009
2009-12-12, 21:06:42
(This post was last modified: 2009-12-12, 21:08:32 by vsky.)
focoves Wrote:shoud we hard-code it on code editor, when creating page's content ?
or is it there a interface way ?
There is
no way at all to use it on your pages. This is because it is used by the admin backend and the Superbox code doesn’t load when you are browsing your site. As someone
said, this “should be done in [the] themeâ€Â.
You will have to add the
Lightbox/
Superbox/whatever files to your theme, make sure the Javascript is being called by your theme, and only then will you have to bother about adding the right parameters to your images. I believe most attributes are accessible from the page editor already when placing an image so that wouldn’t even be much of a problem.
Posts: 41
Threads: 3
Joined: Dec 2009
foy anybody that would like use a modalbox on GS
1- modify template
link to JS + CSS, needed for modalbox (Chris likes superbox, so )
Code:
<link rel="stylesheet" href="jquery.superbox.css" type="text/css" media="all" />
<script type="text/javascript" src="jquery-min.js"></script>
<script type="text/javascript" src="jquery.superbox-min.js"></script>
2- modify TinyMCE, in order to allow SIMPLE adition to link attributes like
rel="superbox"
tutorial here
http://www.bibblan.com/martin/tinymce-rel-with-lightbox
Important:
a) for turning of the ADVLINK of TinyMCE
ADMIN/TEMPLATE/JS/TINYMCE/PLUGINS/ And delete ADVLINK folder
b) for set 1) of tutorial, (modify TinyMCE adding the CLASS to LINK-WINDOW) YOU NEED TO add
Code:
theme_advanced_styles : 'Link to Image=lightbox',
in ADMIN/edit.php
hope this helps
Posts: 41
Threads: 3
Joined: Dec 2009
focoves Wrote:foy anybody that would like use a modalbox on GS
hope this helps
forgot (and forgive that post)
here the solution of Lightbox (superbox) integration
http://get-simple.info/forum/viewtopic.p...1448#p1448