content-management-system

Custom fields in Refinery CMS

风格不统一 提交于 2019-12-20 05:49:12
问题 How do you add custom fields in Refinery CMS? That is, I would like to extend the basic page model to include a bunch of other stuff, like screenshots, publisher name, category, and assorted other fields. How do you implement that? 回答1: Have a look at the (excellent) Getting Started with Refinery guide. In Section 6 the guide lays out how to add extra fields - in the example date, picture and blurb - using engines: http://refinerycms.com/guides/getting-started-with-refinery#extending-refinery

Subfolders and mod-rewrite

回眸只為那壹抹淺笑 提交于 2019-12-20 04:38:38
问题 I need to alter this current re-write rule to accommodate for an admin folder. Here is my current mod-rewrite code: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^([a-z]+?)/([a-z]+?)/(.*)$ index.php?model=$1&view=$2&params=$3 [L,NS] I have this folder structure: ROOT: http://www.domain.com/ ADMIN: http://www.domain.com/admin/ If the .htaccess file is in the "admin" folder it works correctly. I get: URL: http://domain.com/admin/faq/edit/13

Project structure recommendation for an opensource asp.net mvc project

只愿长相守 提交于 2019-12-19 09:06:53
问题 What do you think of the project structure for an opensource CMS application built on asp.net mvc application? The project nickname is "Gol". The basic requirements are outlined in the following posts. Ideas for OpenSource CMS in ASP.NET MVC Currently I am thinking of laying it down like this... Gol.Core.Session (contains session manager both real and fake) Gol.Core.Caching (contains caching including velocity, enterprise lib. provider) Gol.Core.Logging (contains logging components and

CQ 5.6.1 getWorkflowSession cause Uncaught Throwable java.lang.NullPointerException

 ̄綄美尐妖づ 提交于 2019-12-19 05:00:43
问题 at com.cuso.Mao.doGet(Mao.java:97) at org.apache.sling.api.servlets.SlingSafeMethodsServlet.mayService(SlingSafeMethodsServlet.java:268) at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:344) at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:375) at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:508) at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render

Joomla - Overriding getItem method

我只是一个虾纸丫 提交于 2019-12-19 04:09:14
问题 I want to override the method getItem() found in file \administrator\components\com_content\models\article.php line 257 public function getItem($pk = null) I need to modify the return value based on the value of variable $pk. How do I do this? I am hoping to find a way to not to modify the core. Also, if override is possible, can I make a plugin out of it? Am using Joomla 2.5.9 回答1: With some more searching, came across a beautiful solution. All I needed was to override the model (article.php

Are there any real benefits to using a RDBMS vs. flat files on a simple Web doc system (or basic CMS)?

佐手、 提交于 2019-12-19 04:05:59
问题 The Project I've been asked to work on an interesting project -- what amounts to a basic Web CMS -- that uses HTML/CSS/jQuery with PHP. However, one requirement is that there won't be a database to house the data (they want flat files for the documents/pages -- preferable in JSON format). In a very basic sense, it'll be used to generate HTML pages via a very "non-techie" interface. Each installation would only have around 20 pages, but a few may get up to 100. It has to be fairly easy to drop

Obtaining the current user's YouTube content owner id

我的梦境 提交于 2019-12-18 16:30:42
问题 Good afternoon I've created an app that is pulling data from YouTube Analytics API. My task is to get contentOwner monetary reports, and for that I need an OWNER_NAME which is an issue for me. I have test YouTube account that have monetary reports on it but its not connected to a youTube CMS. Is the connection to cms.youtube.com neccessay to pull contentOwner reports which are shown on youtube analytics? Does a user have to provide OWNER_NAME ( or ContentOwner_ID ? ) by himself, or can I pull

Sharepoint CMS vs UmbracoCMS

血红的双手。 提交于 2019-12-18 11:13:13
问题 I work for a large local government organisation who are about to embark on using SharePoint to replace our ageing intranet with an all-singing all-dancing collaborative site. The focus for the intranet will be replacing random files, content pages and documents that are spread across the organisation with a SharePoint installation which will magically bring order to all of this. The decision to use SharePoint for the intranet has already been made. The CMS we use on our public website also

CMS built on Zend Framework [closed]

假如想象 提交于 2019-12-18 10:41:31
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 8 years ago . Is there a CMS built on Zend Framework? As alternative, are there classes that allow to easier implement a CMS with Zend Framework? If

Edit in Place CMS Suggestions [closed]

半城伤御伤魂 提交于 2019-12-18 08:59:14
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . I need to find a [very] easy to use (for editors/authors) CMS. Preferably with edit-in-place editing similar to SiteCore. We don't need something as huge and powerful as SiteCore though. Users need the ability to add pages (using set templates that we in development have provided), they also need the ability to