Search found 172 matches
- Thu Oct 12, 2017 11:42 pm
- Forum: CMSMS Core
- Topic: Images field in CMSMS?
- Replies: 3
- Views: 1709
Re: Images field in CMSMS?
Thanks for the reply @velden. This seems like such a basic content management need that it's disappointing not to see it supported in CMSMS. Wanting to add and sort images for a page outside of the context of a WYSIWYG editor is a very common scenario in all but the most basic of templates. Using a ...
- Wed Oct 04, 2017 9:56 pm
- Forum: CMSMS Core
- Topic: Images field in CMSMS?
- Replies: 3
- Views: 1709
Images field in CMSMS?
Hi everyone, It's been a while since I last worked with CMSMS - not since before 2.0 was released. One challenge I remember was the scenario where you want to upload multiple images to a dedicated field within a page. For a single image I could use GBFilePicker, but for multiple images there was no ...
- Wed Sep 09, 2015 10:28 pm
- Forum: CMSMS Core
- Topic: [solved] Get name of template assigned to page
- Replies: 2
- Views: 1137
- Wed Sep 09, 2015 1:37 am
- Forum: CMSMS Core
- Topic: [solved] Get name of template assigned to page
- Replies: 2
- Views: 1137
[solved] Get name of template assigned to page
Is there a method for returning the name of the template that is assigned to a given page ID/alias?
Thanks.
Thanks.
- Tue Jul 07, 2015 9:38 am
- Forum: Modules/Add-Ons
- Topic: Gallery: create new gallery from UDT
- Replies: 0
- Views: 849
Gallery: create new gallery from UDT
I'd like to learn a good way to create a new gallery in the Gallery module from a UDT. Auto-generating galleries for pages/news items/listit2 items is something I find myself needing to do regularly (and I wish Gallery had closer integration with pages/news/etc but that's a topic for another day). I...
- Sat Apr 25, 2015 11:54 pm
- Forum: CMSMS Core
- Topic: Get hierarchy level of current page?
- Replies: 1
- Views: 1630
Get hierarchy level of current page?
Hi folks,
Can anyone tell me how to get the hierarchy level of the current page? In other words: how many parents the current page has.
Thanks.
Edit:
I came up with this but it's a bit of a cludge. Is there a better way?
Can anyone tell me how to get the hierarchy level of the current page? In other words: how many parents the current page has.
Thanks.
Edit:
Code: Select all
{$position|substr_count:'.'}
- Tue Mar 24, 2015 12:36 am
- Forum: Modules/Add-Ons
- Topic: CGCalendar: possible to display all events?
- Replies: 2
- Views: 1339
Re: CGCalendar: possible to display all events?
Thanks for the reply. 2 calls on one page? Yes, I think that will be the only way. Thinking that it would be good to merge the event arrays from the two module calls so a single foreach loop can be used, I came up with the following... In the CGCalendar template for the first module call (pastlist):...
- Thu Mar 19, 2015 2:18 am
- Forum: Modules/Add-Ons
- Topic: CGCalendar: possible to display all events?
- Replies: 2
- Views: 1339
CGCalendar: possible to display all events?
Looking at the parameters for CGCalendar, I can't see a way to display a list of all events. There are options for listing past events, upcoming events, or events for a given year, but no option to simply display all events.
Any suggestions?
Any suggestions?
- Thu Jan 08, 2015 2:03 am
- Forum: General Discussion
- Topic: Forum topics locked too quickly
- Replies: 7
- Views: 5783
Re: Forum topics locked too quickly
Sure, lots of topics fit the format of "___ is broken in my site, help me". Maybe these topics have a specific solution that's unique to that user's situation, and maybe when that specific issue is solved the topic should be locked. My objection is that under the new regime it seems all to...
- Fri Dec 12, 2014 10:22 pm
- Forum: The Lounge
- Topic: [solved] UDT: are PHP namespaces allowed?
- Replies: 4
- Views: 2906
Re: UDT: are PHP namespaces allowed?
Thanks for the replies. You can register a class with optional namespace for the use in the template I saw this in the Smarty documentation too, but I don't think it applies in my situation - I don't need to use the namespace in my template, only inside the UDT. maybe it will have to be a plugin ins...
- Fri Dec 12, 2014 3:48 am
- Forum: The Lounge
- Topic: [solved] UDT: are PHP namespaces allowed?
- Replies: 4
- Views: 2906
[solved] UDT: are PHP namespaces allowed?
I'm trying to get the Gregwar/Image PHP class working on my CMSMS site. I can use the class okay directly in a PHP file, but when I try and use the same code in a UDT I get an error in my log: PHP Fatal error: Call to undefined function cms_user_tag_gw_image() My testing code is... require_once('ven...
- Thu Dec 11, 2014 5:24 am
- Forum: General Discussion
- Topic: Forum topics locked too quickly
- Replies: 7
- Views: 5783
Re: Forum topics locked too quickly
Tried to contribute something to another topic that was about 7 weeks old - locked again. Mods: can the period that topics are open please be extended? When I'm looking for a solution to a problem I search the forum, and I'm sure many people do the same. So the forum serves the CMSMS community as a ...
- Wed Nov 26, 2014 3:41 am
- Forum: Modules/Add-Ons
- Topic: [solved] ListIt2 - get options for field definition
- Replies: 2
- Views: 1338
Re: ListIt2 - get options for field definition
That is brilliant!
Thanks.
Thanks.
- Sun Nov 23, 2014 9:23 pm
- Forum: Modules/Add-Ons
- Topic: [solved] ListIt2 - get options for field definition
- Replies: 2
- Views: 1338
[solved] ListIt2 - get options for field definition
I'd like to be able to get the array of options that exist for a specific field definition (e.g. the list of options that are defined for a dropdown control). I can do that fine if going via a ListIt2 item - I can load an item with ListIt2Loader or in a foreach loop and do: $item->fielddefs.myfield-...
- Tue Nov 18, 2014 7:44 am
- Forum: General Discussion
- Topic: Forum topics locked too quickly
- Replies: 7
- Views: 5783
Forum topics locked too quickly
I just tried to reply to a thread in the Feature Ideas forum and get the message: This topic is 1 month and 1 week old. The forum administrator has chosen for old topics to be locked when a reply is attempted. Please begin a new topic or use the search feature to find a similar but newer topic. I ca...