content-management-system

How to assign role with PHP in Drupal?

不问归期 提交于 2019-12-20 14:44:40
问题 I need to assign a kind of "premium status" to members that purchase an amount equal or greater than 100 € via PHP. Conditional Actions are already set up (user = anonymous/authenticated AND total amount = equal/greater than 100 AND user =! premium) but I'm missing the PHP part to actually say "then grant him the premium membership". How can I achieve this? EDIT: is the below code correct? if ($account) { $uid = $account->uid; $role_name = 'authenticated user'; $rid = db_result(db_query(

Lightweight CMS in PHP [closed]

醉酒当歌 提交于 2019-12-20 14:19:55
问题 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 am building a site which will require some very limited content management for a client. There are only a few areas of the site

Detect div scroll jquery

浪尽此生 提交于 2019-12-20 12:07:35
问题 I want to detect div scroll. What this code does is detect the whole window scroll: $(document).ready(function() { var track_load = 0; //total loaded record group(s) var loading = false; //to prevents multipal ajax loads var total_groups = <?php echo $total_groups; ?>; //total record group(s) $('#results').load("autoload_process.php", {'group_no':track_load}, function() {track_load++;}); //load first group $(window).scroll(function() { //detect page scroll if($(window).scrollTop() + $(window)

Which is easier to extend, Alfresco or Nuxeo? [closed]

一个人想着一个人 提交于 2019-12-20 10:44:41
问题 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 4 years ago . I am considering doing a rewrite of an open source project from LAMP to J2EE and integrating it with an enterprise oriented CMS as the GUI. The two most viable OSS ECM J2EE CMS platforms that I have run across are Alfresco and Nuxeo. I need to get into some deep integration

ASP.Net CMS recommendation, Orchard, Sitefinity, Umbraco or N2? [closed]

僤鯓⒐⒋嵵緔 提交于 2019-12-20 10:26:53
问题 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 . Over the past 3 years I have been using (...shamefully) SharePoint 2007, DNN and Tridion to develop web portals. I am however looking

How to setup a CMS as a backend for iPhone app

我们两清 提交于 2019-12-20 09:24:05
问题 I would like my iPhone app to get dynamic content off the net. This content should be managed using a CMS. I would like to know in particular if I can setup Drupal or Joomla or other CMS as a backend for my iphone app to get the content. Any advice on how this can be achieved would be helpful. I am completely new to setting up/using CMS. 回答1: You can also take a look at StorageRoom, which is a CMS for Mobile Applications. Disclaimer: I created this myself to scratch my own itch. 回答2:

How to setup a CMS as a backend for iPhone app

有些话、适合烂在心里 提交于 2019-12-20 09:23:25
问题 I would like my iPhone app to get dynamic content off the net. This content should be managed using a CMS. I would like to know in particular if I can setup Drupal or Joomla or other CMS as a backend for my iphone app to get the content. Any advice on how this can be achieved would be helpful. I am completely new to setting up/using CMS. 回答1: You can also take a look at StorageRoom, which is a CMS for Mobile Applications. Disclaimer: I created this myself to scratch my own itch. 回答2:

Umbraco, is it just me or is it really hard to use? [closed]

感情迁移 提交于 2019-12-20 08:09:48
问题 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 . Looking for some feedback on those of you who have evaluated umbraco lately. I've been on a quest for the 'best' cms that balances ease of use/extendability/customization etc. to use as a base for a new vertical product I am in the planning stages on, so for the past month or

How to upgrade self-hosted wordpress and installed plugins of live site to latest available versions without facing any trouble?

烈酒焚心 提交于 2019-12-20 07:22:02
问题 I have to upgrade a running wordpress site's wordpress CMS and some installed plugins.and some plugins which i want to upgrade has been modified before to achieve something. http://easycaptures.com/fs/uploaded/288/9522279160.png How to upgrade Wordpress to latest without loosing anything, any post, comments? What precautions should i take? How should i take backup of all things? Should i take backup of database also? How to upgraded modified plugins without loosing functionality? 回答1: It

Store function name in database and then execute it

寵の児 提交于 2019-12-20 06:39:08
问题 I am making a kind of CMS system that works in sections of the webpage, and stores each one as a different entry into a table on a database with MySQL. When the user first sets up the page, the PHP script calls a function called addsection($name, $content) that adds the section to the database. However, to make this system more flexible, so it doesn't use static sections, I would like to be able to change the function to be addsection($name, function) , where you give a function for the