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.
Improve this question
We have a requirement for our partners to built a CMS in which some of pages on the site should be configurable by them using the admin panel. So we are planning to create a static website with pre-defined layout and pages and replace those content when partner users will make changes in admin panel.
Now the problem is that this application will be used by multiple partners and if one will edit the information through admin panel then it should not effect the other partners custom pages.
The solution which we are thinking is to replicate the same code on multiple domains for each set of partners and replace the content. Can somebody suggest how can we do in one domain and not replicating the code again and again.
We resolved it by creating the sub-domains for each partner and by creating a standard HTML page with fixed layout and saving the customizable information in database for each partner like text, image paths etc. Then depending upon the partner we get the dynamic content from database and replace on page using jquery. So no need to duplicate the code and no manual effort.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
I am trying to make a site where i can divide the site into different member categories like admin,moderators,helpers,users,etc with their own functionalities ... I have once used the Django framework, so my question is can i be able to do this task also using Django again, i mean, can Django fulfill this task's requirements easily so i may not need to roam to other languages or frameworks for this particular task?
P.S.: I know php(framework like laravel or others)can do this task but i was just trying to implement Django since i have used it once already. OR do you recommend frameworks like Rails(i have heard a lot about it specifically on field of web-development,can it do this task). OR Anyone please tell me which should i use ?
I am in a lot of dilemma in choosing among these three.
Regards,
Note: I have edited the whole description.
The Django authentication has groups.
Users can be assigned to groups and permissions can be added to groups (giving all the users of the group the set of permissions which is assigned to the group).
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 8 years ago.
Improve this question
My application is one page contract. I would like users to be able to sign the contract by clicking on a button. The contract is not a resource; it's plain HTML.
Every solution I have found so far relies on having a model that acts as votable. How can I implement a simple button that users may only click once, and display the number of users who have clicked it?
It's not possible to do this with static pages, at least not in a way that is clean and secure.
Think about it this way: every user is looking at a copy of the contract, which is being displayed to them on their browser (the client). If you want users to be able to cast votes that persist and be aware of votes cast by other users, then you need a server that keeps track of it centrally. That's why the solutions you have found so far rely on having a model, presumably backed with a table.
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 8 years ago.
Improve this question
I just want to know whether an Admin can create a new page like about_us or something similar to that from admin's page in Rails.
He should be able to create a new view, controller and model{not necessary}.
If this is possible please give me some link for it tutorials.
The Active Admin gem creates default UI for data administrators:
Active Admin is a Ruby on Rails plugin for generating administration
style interfaces. It abstracts common business application patterns to
make it simple for developers to implement beautiful and elegant
interfaces with very little effort.
It is not like Joomla admin pages, which allows the admin to change/add the pages users can see, unless their are data-driven in an application specifically written to enable that.
You can look for libraries which solve this problem, or integrate rails with a CMS application (like this: http://joomlarails.com/)
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 8 years ago.
Improve this question
In Ruby On Rails which CMS gem support the more powerful features and fully customizable functionality.
I need to create an application that have an admin that create,update and edit, delete the pages.
And wants to use customizable CSS and additional functions like i can add inside application.
For e.g Count likes of an artical on page and sharing the page on facebook.
Your help and suggestions are definably appropriate.
Thanks for Help.
From my own experience I can recommend Refinery CMS which will fulfill most of your requirements. You can fully customize the CSS and it allows you to add Rails Engines to it on the one hand, but it can also be added to an existing application as a gem. You will have to do some work to get your counts and your Facebook sharing though.
I also once heard a talk from the creator of Locomotive CMS which at first sight seems somewhat more flexible, but you will need to invest some more time to get you started. It allows transferring a running site from development to production through a companion app whereas you have to develop your content "online" with Refinery CMS.
I guess your choice will be a matter of taste. There is of course a host of other possibilities listed in the Ruby Toolbox
To give some perspective, we recently created our own CMS from sratch
It's very simple to do - there are several tutorials online which explain the process
Basically, you need:
Models - Post, User, Option
Controllers - posts, application, users, admin: [application, posts]
Views - application(index), posts, admin: [application(index), posts]
Here are some resources:
http://therailworld.com/posts/12-How-to-Create-a-Blog-from-Scratch-Using-Ruby-on-Rails
http://sixrevisions.com/web-development/how-to-create-a-blog-from-scratch-using-ruby-on-rails/
http://railscasts.com/episodes/310-getting-started-with-rails?view=comments
http://guides.rubyonrails.org/getting_started.html
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 8 years ago.
Improve this question
I am currently finishing up my first ASP.NET MVC application and would like to implement site searching. What are some options for allowing a visitor to search the site?
Lucene.NET
Answers to the following questions may help...
Is most/all content public, or login-protected? (i.e. can Google index it?) Or, would a "search appliance" be an alternative (though $$)?
If you want to use full-text search, how many different tables/columns need to be searched? What would your queries look like, if using LINQ? :)
Are common search terms represented in the page URLs? If doing custom searching, can you also search these, possibly with higher weight than in-page content?
You could use Microsoft Search Server 2008 Express. Its free and works of intranet apps.