1. sub pages of the Fotos page are not showing right, the css file is not being loaded. (Sub pages are reached by clicking on thumbnails.) Could this be because i am not using base href? When i do add it to the head, all i see is a blank page!
Quote from: tessed at Dec 02, 2013, 01:16 PM
1. sub pages of the Fotos page are not showing right, the css file is not being loaded. (Sub pages are reached by clicking on thumbnails.) Could this be because i am not using base href? When i do add it to the head, all i see is a blank page!
BaseHref is mandatory in MODx. How are you including it (site is not reachable at the moment...)
Both <base href="[(site_url)]"> and <base href="[(base_url)]"> show a blank page.
Only <base href="http://www.lessabots.nl/mdx/"> works.
<!--[if (gt IE 8)|(gt IEMobile 7)|!(IEMobile)]><!--><html class="no-js" lang="en"><!--<![endif]-->
Done, what's next?
[!MaxiGallery? &display=`childgalleries` &childgalleries_ids=`10,11,12` &childgalleries_order_by=`createdon`!]
[!MaxiGallery? &display=`embedded` &embedtype=`external` &pics_per_row=`4` &pics_per_page=`16` &max_thumb_size=`261` &max_pic_size=`500` &max_big_size=`0` &thumb_use_dropshadow=`0` &keep_bigimg=`1` &galleryPictureTpl=`lightbox_gallery` &disable_js_libs=`1`!]
<li><a href="[(base_url)][+maxigallery.path_to_gal+][+maxigallery.picture.filename+]" rel="lightbox[set[+maxigallery.picture.gal_id+]]"> </a></li>
Now the Lightbox part is still there. This is what i have been playing with all the time: (...)
In the Training image folder i have this:
[!MaxiGallery? &display=`embedded` &embedtype=`external` &pics_per_row=`4` &pics_per_page=`16` &max_thumb_size=`261` &max_pic_size=`500` &max_big_size=`0` &thumb_use_dropshadow=`0` &keep_bigimg=`1` &galleryPictureTpl=`lightbox_gallery` &disable_js_libs=`1`!]
The Lightbox_gallery chunk has this code:
<li><a href="[(base_url)][+maxigallery.path_to_gal+][+maxigallery.picture.filename+]" rel="lightbox[set[+maxigallery.picture.gal_id+]]"> </a></li>
<script type="text/javascript">
jQuery.noConflict();
</script>
<a href="[(base_url)][+maxigallery.path_to_gal+][+maxigallery.picture.filename+]" rel="lightbox[set[+maxigallery.picture.gal_id+]]">[+maxigallery.picnumber:is=`1`:then=` <img src="[(base_url)][+maxigallery.path_to_gal+]tn_[+maxigallery.picture.filename+]" class="thumbnail" alt=... title=...>`+]</a>