content-management-system

Common CMS roles and access levels

痴心易碎 提交于 2019-12-09 04:03:47
问题 I am currently writing a CMS and remember someone (it might have been on here) criticise the existing CMS for not having a robust enough user permissions system. I've got a method planned out but it I feel it has fallen into the usual trap of being a bit too fine-grained which makes understanding and implementing it a horror for end users. I think having a range of default user roles with permissions would be the answer to this, so I suppose my question is this: What are the default roles you

Wordpress: WP_Query search criteria on 'post_name'

谁说胖子不能爱 提交于 2019-12-08 18:53:44
问题 I'm using WP_Query (pretty standard). It all works great. However, I have a particular modification to make, where, if the user enters the specific post name in the URL, the search will return only the post that matches that post_name value. See my code below with a comment about the particular line not working. <?php $getPeople = array( 'post_type' => 'person', 'posts_per_page' => -1, // I want this below to only return me the post with this specific value. // This doesn't error, but doesn't

Advantages & Disadvantages of DotNetNuke? [closed]

◇◆丶佛笑我妖孽 提交于 2019-12-08 16:07: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 5 years ago . If you have worked with DotNetNuke, what are advantages and disadvantages that you have come across? What are alternative Content Management Systems that you have used that you find are better or worst. I'm trying to get a feel of what Content Management System Frameworks

Update Batch in Codeigniter with multiple WHERE clause

▼魔方 西西 提交于 2019-12-08 15:56:28
问题 I checked the CI user guide to see how to handle update_batch() and it seems it accept onlt one index to match which row to be updated. But in my instance, i need to specify two index like lang and id_page which i use as index together. such lang=en|id_page=115 is unique so the key for the row. Means, my where index should be WHERE lang = $lang AND id_page = $id_page ... Is there any approach on batch update with multiple index? Thank you. 回答1: There is not at the moment. You could write a

What is a good barebones CMS or framework? [closed]

自作多情 提交于 2019-12-08 14:46:56
问题 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 7 years ago . I'm about to start a project for a customer who wants CMS-like functionality. They want users to be able to log in, modify a profile,

URLs stored in database for Django site

醉酒当歌 提交于 2019-12-08 14:15:58
问题 I've produced a few Django sites but up until now I have been mapping individual views and URLs in urls.py. Now I've tried to create a small custom CMS but I'm having trouble with the URLs. I have a database table (SQLite3) which contains code for the pages like a column for header, one for right menu, one for content.... so on, so on. I also have a column for the URL. How do I get Django to call the information in the database table from the URL stored in the column rather than having to

PHP - Writing Database Information To A PHP File?

孤街浪徒 提交于 2019-12-08 13:42:26
First off, I'm sorry if this shows no code which is not what Stack Overflow is about..But I have no clue where to go on this. I have a basic CMS I made, and I am trying to distribute it. I want to make it so that upon going to /cms/install for example, they set the database info, and different info to integrate into the CMS. Now my issue is, what would be the best method to allow the user to store that database info? A cookie seems to not be the right way..Could I store database info inside of a database? Not too sure where to go on this. More or less. What is the best way to temporarily store

How do I edit an external css file with PHP?

谁都会走 提交于 2019-12-08 11:58:02
问题 I have a page with an image. I want the client to be able to upload a new image into the database and then be able to switch out the image from within the CMS. Once they switch it in the CMS, I want PHP to edit the background image in the external css file. Is it possible to do that? I know how to have PHP switch out an image tag in the HTML markup, but I would like to be able to edit the external css file to keep my code cleaner. 回答1: If you're using Apache, you can also embed PHP code in

How to automate moving data from one google sheet to another

不问归期 提交于 2019-12-08 10:52:59
问题 I am trying to send values from Google sheets to Firebase so that the data table updates automatically. To do this I used Google Drive CMS which exported the data to Firebase perfectly. The problem is that I scrape data off of websites. For example, I get a list of data through the use of importXML: =IMPORTXML("https://www.congress.gov/search?q=%7B%22source%22%3A%22legislation%22%7D", "//li[@class='expanded']/span[@class='result-heading']/a[1]") CMS doesn't seem to get the values that this

Creating a new CMS, importing content from ASP - Umbraco or Sharepoint?

有些话、适合烂在心里 提交于 2019-12-08 09:37:01
问题 I'm working on a project to create a CMS, which will entail importing a lot of existing content, most of which is static, but in ASP (so they're not all just pure HTML, there are includes and sometimes other server-side code). We're considering using Umbraco or Sharepoint (2010) for managing the external content, which currently comprises a few thousand pages. I've read this and I think there are good cases to be made for both sides. However, while I've read about the features of adding and