content-management-system

silverstripe dataobject searchable

[亡魂溺海] 提交于 2019-12-18 06:48:29
问题 I´m trying to have certain DataObjects (News) displayed in the default SearchResult Page. So the result should display normal Pages and News. Is there an easy way to accomplish that in Silverstripe 3? Or is it recommended to code it completely custom - I mean a custom controller/action which handles the search request and creates a result list, which I display then in a custom template? I found this, but obviously search is disabled right now: https://github.com/arambalakjian/DataObjects-as

PHP: Creating Extensible CMS System [closed]

依然范特西╮ 提交于 2019-12-18 02:49:39
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed last year . I have been given a new task from the client which is basically creating a CMS for actors/singers and the like that client will be selling out to them. It will basically be a package and would work out-of-box pretty much similar to WordPress, you just hand over to whoever buys

ASP.NET MVC - Dynamic Authorization

点点圈 提交于 2019-12-17 22:26:17
问题 I am building a simple CMS in which roles are set dynamically in the admin panel. The existing way of authorizing a controller method, adding [Authorize(Roles="admin")] for example, is therefore no longer sufficient. The role-action relationship must be stored in the database, so that end users can easily give/take permissions to/from others in the admin panel. How can I implement this? 回答1: If you want to take control of the authorization process, you should subclass AuthorizeAttribute and

Building a CMS in ASP.NET MVC

假装没事ソ 提交于 2019-12-17 17:27:00
问题 I'm curious to know if any basic CMS code has been written for ASP.NET MVC. The reason I ask is, I'm making a data-driven website for a client, and I've already spent a significant amount of time building it from the ground-up in MVC, but now the client wants content management facilities. Basically they want to be able to add/edit/remove articles and have revision control. It would be great if I could somehow 'bolt on' the content management without having to start again from scratch,

ASP.NET restarts when a folder is created, renamed or deleted

隐身守侯 提交于 2019-12-17 09:31:36
问题 UPDATE -- process to replicate issue: 1) Create a website project at c:\projects\restart-demo 2) Add default web.config and a dummy aspx page test.aspx 3) Map IIS to point to the root folder c:\projects\restart-demo 4) Monitor application restarts using perfmon, health monitoring, tracking in global.asax Application_End, etc. 5) Request page in browser http://localhost/test.aspx application start 6) Create new folder c:\projects\restart-demo\asdf application end 7) Request page in browser

Is is possible to integrate Joomla and Codeigniter? [closed]

本小妞迷上赌 提交于 2019-12-14 03:56:57
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 6 years ago . I have learned Codeigniter (which is a PHP framework) and now I want to use a CMS to build my website. Classes which I found in Codigniter were very useful, now I want to use them in my website developed with CMS (e.g., Joomla). Is there anyway to integrate CMS and PHP framework

Setting up a CMS for a Phonegap / Cordova iphone app

时光毁灭记忆、已成空白 提交于 2019-12-13 20:10:01
问题 When making a iphone app with Phonegap / Cordova is it possible to attach a web based CMS to it, to pull the data down from, so that a non technical user could update the app ? Usualy you'd just build them using html, css, jquery/js but i wandered if there was an easier way to update them ? 回答1: You could use a normal cms on a server like a webpage so normal joomla wordpress etc. Then you add the url to the phonegap whitelist and load it like the normal phonegap html url. 回答2: Rather than a

type php code into textarea, store in database, then execute

只愿长相守 提交于 2019-12-13 19:24:55
问题 Anybody have any idea how I might go about doing something like this. I've got a textarea setup to allow users to edit page content. the content is then stored in a database and is retrieved on the frontend by php within an html template. something like: <html> yada yada... <?php echo get_page_contents_by_id($_GET['id']); ?> yada yada... </html> its all run in a .php file, in case anyone wanted to call that out. What I'm wondering is, because I'm getting the content from the database via php,

How do I create nav menu for a cms?

倖福魔咒の 提交于 2019-12-13 17:29:24
问题 I'm creating a cms, I want to produce a set of unordered lists for a nav drop down menu. First, I select all of the menus and links from the database, then I want them to be outputed as unordered lists using php (including the 'main' list's 'child' list if there is one) How do I do it? Main list-> <li><a href="#">Products</a> <ul> Child list-> <li><a href="#">Foo</a></li> </ul> </li> 回答1: The result you get from database is stored as an array, you can do a foreach loop and iterate over the

Intranet website with Joomla?

◇◆丶佛笑我妖孽 提交于 2019-12-13 16:24:44
问题 my company wants to set up a small intranet portal on LAN. We are about 100 users at max. I am thinking about Joomla on a windows server environment with XAMPP. Just to be safe, is XAMPP efficient for serving about 50 to 100 users ? Does it have some connection limits ? Also how about using it as a webserver for a small intranet portal. Have your say guys. 回答1: XAMPP is "just" a collection of established applications for serving web pages. The underlaying apache can handle far more that the