mura

ColdFusion - Date and Time formatting is rounding up 5 minutes

心已入冬 提交于 2019-12-24 08:47:00
问题 I have the following date string: 2017-05-02 08:00:00.0 When I apply datetimeformat() like: #datetimeformat(item.getValue('releasedate'), 'h:mm a')# It is rounding up by 5 minutes and outputting: 8:05 AM. In the code above, 'releasedate' is the string that is being passed in. How do I fix this? 回答1: Nobody is rounding anything. You are outputting the month here instead of the minutes, and the month happens to be May, so that is 05 with leading zero. https://cfdocs.org/datetimeformat: mm :

How to delete a page in Mura

我怕爱的太早我们不能终老 提交于 2019-12-13 04:31:11
问题 I tried the copy all option in the Mura CMS 5.4 admin in order to create another menu item in the top level navigation. It created multiple copies of the same pages. I would like to delete some of those pages but it is not allowing me to. The red cross seems to be grayed out. When I went to version history to see if I could delete all of the versions there but it would not allow me. Now the status also shows it is published. How do I delete those pages? I have admin permissions for this site.

Mura Setup not shows Mura Admin page

若如初见. 提交于 2019-12-12 02:17:22
问题 Mura setup is done as per documentation. From Mura setup page not able to get Mura admin page Setup gives some page where i can not go for other menu Mura Setup image the default button goes to Lucee welcome page settings.ini has mode=production, indexfileinurls=0,siteidinurls=0 and recaptchalanguage=en The system is Windows 7, Apache2.4.18, MySQL5.7, Lucee Tomcat8 and Lucee 4.5.2.018. Why I did not get Mura Admin Page? 回答1: After installation , http://domain.com/admin gives the admin login.

Full Calendar - How to distinguish past events and future events

大城市里の小女人 提交于 2019-12-11 12:36:22
问题 I am having a hard time trying to remove past and future events that are not reflected by the current month. Currently this is what I have the following code below: <cffunction name="FullCalendar"> <cfscript> var calendarid = $.getbean('content').loadby(title='Regal Events').getcontentid(); </cfscript> <cfsavecontent variable="local.str"> <cfoutput> <h3>Upcoming Events</h3> <div id="UpcomingCal" class="calendarResize"> </div> <script> mura.loader() .loadcss("#$.siteConfig('requirementspath')#