Okay, so I can loop all the subgalleries I want now, just called the gallery module with the parent dir and attached a custom template.
But what I actually need are the directory names of each subgallery. Are they available in the templates? Or should I make a UDT to collect them?
thx!
Search found 85 matches
- Sun Dec 12, 2010 10:34 am
- Forum: Modules/Add-Ons
- Topic: getting each gallery dir threw a foreach - Gallery Module
- Replies: 4
- Views: 1781
- Sun Dec 12, 2010 10:14 am
- Forum: CMS Show Off
- Topic: Hotel site
- Replies: 2
- Views: 2121
Re: Hotel site
Yes, I use this tag: global $gCms; $manager =& $gCms->GetHierarchyManager(); $thisPage = $gCms->variables['page_name']; $currentNode = &$manager->sureGetNodeByAlias($thisPage); $contentops =& $gCms->GetContentOperations(); $nodes = $currentNode->getChildren(); if ($currentNode->hasChildr...
- Fri Dec 10, 2010 1:27 pm
- Forum: Modules/Add-Ons
- Topic: getting each gallery dir threw a foreach - Gallery Module
- Replies: 4
- Views: 1781
Re: getting each gallery dir threw a foreach - Gallery Module
Thanks for your reply. That won't work for me in this situation. Because I want to load all the images from all subcategories at once and only show the first image of a subcategory. This way I dont need to POST to another page which is kind of critical for this site. You could have a look here: http...
- Fri Dec 10, 2010 12:49 pm
- Forum: Modules/Add-Ons
- Topic: getting each gallery dir threw a foreach - Gallery Module
- Replies: 4
- Views: 1781
getting each gallery dir threw a foreach - Gallery Module
G'day, I would like to retrieve each gallery category from the gallery module. currently im doing this in a HTML block: <div id="preloadimages"> {Gallery dir='parentdir/subdir1'} {Gallery dir='parentdir/subdir2'} </div> But im looking for a dynamic solution threw a foreach, which should lo...
- Fri Dec 10, 2010 12:37 pm
- Forum: CMS Show Off
- Topic: Hotel site
- Replies: 2
- Views: 2121
- Tue Aug 17, 2010 2:54 pm
- Forum: CMSMS Core
- Topic: [SOLVED] Global content blocks not working on subpages
- Replies: 2
- Views: 2864
Re: Global content blocks not working on subpages
vilkis is tha man! Not only for helping out and kickstarting me in the right direction but also for spending time on this. The thing was with the original UDT, that the "content" wasnt being compiled by smarty. See below for the edited UDT (with smarty compiling): global $gCms; $manager =&...
- Tue Aug 17, 2010 10:46 am
- Forum: CMSMS Core
- Topic: How to show all pages below a specific parent?
- Replies: 5
- Views: 2255
Re: How to show all pages below a specific parent?
Using this UDT creates an issue where I can't get smarty tags to work on subpages.
A tag ouputs as text and not initializing smarty.
update: See the solution here: http://forum.cmsmadesimple.org/index.ph ... 612.0.html
A tag ouputs as text and not initializing smarty.
update: See the solution here: http://forum.cmsmadesimple.org/index.ph ... 612.0.html
- Tue Aug 17, 2010 10:27 am
- Forum: CMSMS Core
- Topic: [SOLVED] Global content blocks not working on subpages
- Replies: 2
- Views: 2864
[SOLVED] Global content blocks not working on subpages
G'day fellow developers, Im working on a site that uses smoothscroll to scroll to the next page, instead of clicking a link and reloading the page. The content of all the pages is allready there, you only need to scroll to it. example of such a site: http://www.pelicanhotel.com/ I created a UDT to d...
- Thu Jul 29, 2010 9:12 am
- Forum: CMSMS Core
- Topic: How to show all pages below a specific parent?
- Replies: 5
- Views: 2255
Re: How to show all pages below a specific parent?
global $gCms; $manager =& $gCms->GetHierarchyManager(); $thisPage = $gCms->variables['page_name']; $currentNode = &$manager->sureGetNodeByAlias($thisPage); $contentops =& $gCms->GetContentOperations(); $nodes = $currentNode->getChildren(); if ($currentNode->hasChildren()) { foreach ($no...
- Tue Jun 08, 2010 8:44 am
- Forum: Modules/Add-Ons
- Topic: [solved] FLVPlayer with last version of JW (3.9)
- Replies: 30
- Views: 19026
Re: [solved] FLVPlayer with last version of JW (3.9)
Not sure, but I know it works on a pretty basic dedicated server.
Ill ask my host.
update @dcleckley: No you don't need FFMPEG installed on your server.
Ill ask my host.
update @dcleckley: No you don't need FFMPEG installed on your server.
- Thu Jun 03, 2010 12:57 pm
- Forum: Modules/Add-Ons
- Topic: [solved] FLVPlayer with last version of JW (3.9)
- Replies: 30
- Views: 19026
Re: [solved] FLVPlayer with last version of JW (3.9)
Got it working, so for those who haven't: (7 steps below are from this topic: http://forum.cmsmadesimple.org/index.php/topic,25288.0.html. I changed it a bit tho.) 1. Installed FLVPlayer Module and CGExtentions 2. Add a "Member" called "test" 3. Added a Genres called "Featur...
- Thu May 06, 2010 7:53 pm
- Forum: Dutch - Nederlands
- Topic: Site gehacked, maar hoe?
- Replies: 3
- Views: 1236
Re: Site gehacked, maar hoe?
Can you elaborate on "secure .htaccess"?
En is het zeker weten mijn host zijn fout? Want dan mail ik ze gelijk.
Als dat niet zeker is, dan sta ik voor joker als ik hun aanwijs als schuldige...
En is het zeker weten mijn host zijn fout? Want dan mail ik ze gelijk.
Als dat niet zeker is, dan sta ik voor joker als ik hun aanwijs als schuldige...
- Thu May 06, 2010 7:46 pm
- Forum: Dutch - Nederlands
- Topic: Site gehacked, maar hoe?
- Replies: 3
- Views: 1236
Site gehacked, maar hoe?
Goedendag, Nou ja, voor mij niet echt dus. Mijn site is gehacked. Er is aan de index.php en alle .js bestanden JavaScript code toegevoegd. Kaspersky gaf dit aan onder de naam HEUR:Trojan.Downloader.Script.Generic. Nu heb ik dus gelijk heel de installatie van CMSMS verwijderd, inclusief database. Erg...
- Fri Apr 02, 2010 1:06 pm
- Forum: Modules/Add-Ons
- Topic: Gallery: Order, and comments
- Replies: 14
- Views: 11683
Re: Gallery: Order, and comments
Ah right...passing it threw with the title attribute 
Thx!

Thx!
- Fri Apr 02, 2010 11:26 am
- Forum: Modules/Add-Ons
- Topic: Gallery: Order, and comments
- Replies: 14
- Views: 11683
Re: Gallery: Order, and comments
You better not want to edit the javascript files. Take a look at what options Fancybox has built in nowadays on http://fancybox.net/ Note the setting for different title positions: 'outside', 'inside' and 'over'. It should not be to difficult to look at the sourcecode of the given examples and buil...