Website Template Upload to Github - github

I am exploring Github.
Yesterday I tried to upload basic site and successfully did it with the help of different sites, it works. But right now I am exploring for more.
Is it possible to add database so that they can add comments on my page?, anyways I am only a novice programmer so that my question I think is out of the blue. I've seen different forums and people there said it can't be done but I just want to know if it is possible.
I created this sample page so that it is not difficult to understand my question

GitHub Pages (which is what I assume you're referring to) does not provide a database or other backend services; it simply hosts static HTML and CSS files that you provide in a specially-named repository. If you want to add interactive features that require a database, you'll need to move to a full-fledged Web hosting service that provides more than just static pages. However, if all you want to do is create a blog (which I'm guessing might be the reason why you're interested in users adding comments), GitHub does allow you to use the Jekyll Framework, which can be used to generate a blog or other semi-dynamic, template-based website.

Related

What are the steps to validate Code available from GitHub (Flutter)

I would like to know what are the steps that you take to check whether code in GitHub is safe. I am learning flutter and would like to copy some projects from GitHub to dismantle them and learn about each component. The project under question is here: https://github.com/sanogotech/flutter_pet_finder
But as always, content on GitHub might not be safe, so how can I validate that this is safe? I know one aspect is to know each piece and the purpose of that piece. But for me that is a bit tricky at least now. What are your steps to validate a piece of code is safe?
If someone could provide an example on the given project https://github.com/sanogotech/flutter_pet_finder that would even be more than perfect!
I highly appreciate and apologies for asking such a simple question.
Like many other sites and servers, there are both secure and insecure, and there is no 100% guarantee on any service or site.
To see who is using the project?
How active is the project?
What errors or requests did it have?
You should check these and review as much as possible to copy and clone
This type can also be useful for you
if you trust the dev who are working on the tree, download and run it
How safe is it to host sensitive data on repository sites like github, bitbucket, etc.?
How secure would github hosting be for private repositories?

Managing subsites through a CMS

I’m working on a project (one I’ve inherited) with one main website for the purposes of gathering contact information from potential customers and a collection of sub sites which serve the same purpose. Each of these sites has a different design and each one is served from a separate directory under the document root directory. Each of these sub sites is also served from the same URL as the main site with a different directory specified in the URL for each one of these subsites, e.g. “http://www.example.com/subsite/”.
The problem as it is now is that our web designers have to make manual changes to the HTML in each of the files for these sub sites whenever a change is needed. Ideally, they would like to be able to manage these sites and make changes to them in a more rapid way and without having to make manual changes to something like 60+ sites each containing potentially 10-15 pages of HTML.
I’ve been doing research into various solutions and I’m not sure which would be the best to manage something like this. These sites are all built in PHP and I’ve been looking into CMS solutions such as Drupal, SilverStripe, and MODX but I’m not certain if they would meet our needs. I don’t have a lot of experience working with a CMS so I’m hoping someone with more experience can provide some insight. Any suggestions anyone can make regarding how best to handle something like this are greatly appreciated.
If I’ve left out any information that might be helpful/necessary in someone providing advice just let me know.
Any CMS will do what you need.
If I've understood well every subsite share the same domain, but only resides in a subdirectory.
For example with MODX you could define different templates with specific design for every subsite.
All subsites however could share some chunks (html code) or snippets (php code), so that a change in shared things applies to all subsites.
You can easily migrate the exisiting design to MODX:
http://codingpad.maryspad.com/2009/03/28/building-a-website-with-modx-for-newbies-part-1-introduction/
and find the additional pieces you need:
http://modx.com/extras/

CMS or PHP framework for small developer maintained sites - content management through git?

I am building, and will be maintaining a small site as a personal project.
I want be able to occasionally update a handful of pages, including
regular posts to a blog, and be easily able to change the design of
the site.
Ideally I'd like to be able to manage all the content including
posting blog articles through git, so I can write in pure text / HTML
as I'm used to, and avoid the need to make changes through an online
editor or admin area.
At the same time, I want to keep the coding of this as simple as
possible, such as writing an article as an html file and adding some
metadata to a separate xml file.
Wordpress, get-simple CMS, concrete5 and the many others I've looked at don't cut it.
What methods are considered best to build small sites that only a developer will maintain, and allow fast and efficient ways to control every aspect of content and metadata.
I'm more familiar with PHP but if there are big advantages to python based systems then that's cool too.
Better you have go with JOOMLA . This was best CMS and you can manage all the datas like Article, Blog Posts, etc..
This was also have user friendly administrator section. So any person including non-technical person can manage the website.
Joomla Demo Administrator
Joomla Demo Site
ADMIN USERNAME: admin
ADMIN PASSWORD: demo123
Choice is urs... All the best...

A simplistic blogging CMS for my needs?

I'm looking for a CMS which isn't too feature heavy and simply allows me to post, users to comment and to login. I'd like to embed it easily inside a HTML/CSS website I've already built too. Opinions?
If you want something simple without requiring with PHP/MySQL I'd look at TiddlyWiki: http://www.tiddlywiki.com/
I've only played with it briefly in the past but it's nice and simple to install. It's all contained in one file that you put on your server. It has a dedicated fan base and although it's called a wiki it's also good as a blogging platform or basic CMS.

Which CMS do I need? Needs to be easy to post a certain kind of post

I'm creating a site for a video store and it needs to be CMS. I'm doing this for free so I need to use a free CMS like Wordpress, Drupal or Joomla.
Do I need a new CMS, a plugin or some PHP of my own?
What I need:
User accounts
Categories
Custom post
Here's the site as it stands with WP: http://sundancevideo.ca. Right now an experimental site to try to work this out.
What I've done now, is created a "Draft" that includes a template table with images and text and so on. The user would then have to copy everything, past into a new post and replace necessary. This really isn't working well. As you may notice by the condition of the posts.
What I would prefer is if it was integrated into the WP UI. Like a field for "Description" and field for "Image" where they can upload the images as necessary. This would then generate post, with a table including all the information and images, for as many movies that were added in the UI.
I would suggest taking a look at PodsCMS as a great way to implement real CMS functionality in to WordPress. It allows you to create various content types, relate these content types, and more importantly live outside of the "WordPress bubble".
You'll find a fairly good codex and user guides (the ones authored by Johnathan Christopher are a great start). There is a solid API for this in the event that you need to integrate Pods in to an existing plugin or one you are creating. There are also developer and user contributed packages for Pods and there is even a YouTube video package you may want to check out.
PodsUI (soon to be merged with PodsCMS) allows you to create administration menus in WordPress very easily and allows you to pretty much make it look and feel how ever you want.
Flutter is a dead project and while it may be a little more user friendly than PodsCMS it lacks in in development, support, and over all usability.
Feel free to drop in the Pods Chat or # them on Twitter.
As for the user accounts you should read up on WordPress user roles/capabilties and also check through the WordPress PHPxref. A lot can be done in the way of using WordPress' current user system and you can even add other meta information for users if needed.
If you want a full CMS backend then you can't use Wordpress without extensive customising. You might want to check out pods cms for Wordpress which is an extension to attempt to turn Wordpress into a CMS. However, I have tried using it before and you will still be left with a confusing UI for your users. It will allow you to do the custom fields you want, however.
If you want full control over the UI, you will have to use either your own PHP or Drupal. Which one depends on how complex the project is and how much experience with Drupal you have had. If it is simple and your Drupal experience is limited, definitely go with your own PHP because Drupal is hard to learn. I think it would take you more time to learn Drupal than it will be to get a simple interface going with PHP.
I think this post will be helpful, depending on your experience, if you go with your own code.
i don't have particular suggestion for you custom need. Except beware for how much you give permission for your member. Please make sure they were a contributor and not author. In wp, the contributor role has no ability to publish. They have ability to post something just as a review. Thus, Administrator can review them and then published if it appropriated.
The problem with this situation is when you need them to upload things. The member with contributor role has no ability to upload video, image, or song. You have to custom this.
But if you only need their snippet or HTML link to the video (probably in youtube), then you don't have to change default wordpress role.
sorry if i mislead by your question. just trying to help as much as i can
I guess it depends on your shop's needs. I understand wanting to use wordpress, and you can do it, but at this point it almost makes people think... 'why?' If youre just going to use paypal and have a few products it might be a good idea but I think carts like zencart and oscommerce that are much better suited to store's needs. Though they are a little older. Magento and opencart are more modern, and all free. Though I've only ever used zen cart. None of these are terribly hard to set up. I guess You could always have you wordpress from page and use a link to your carts store menus.
MODx is brilliant for customisability - it was designed from the ground up to be extensive. It runs on PHP and MySQL.
You can create your own templates, add fields to those templates that appear in the UI when someone wants to create or edit a page based on that template. It has widgets for different data types, like images, dates etc that your users can use to add data to a page.
You also have full control over the HTML because you write the templates yourself. If the core code doesn't do what you need, you can write snippets in plain PHP to change the behaviour.
I've used it on a few projects over the past 3 years and I love it. I'd recommend MODx Evolution (v1.0.3) as that's stable. There's a brand-new rewritten version (Revolution 2.0.0) which is a release candidate at the moment, so you might want to have a play with that instead.
I reckon once you know MODx enough to create the site design, it'd be fairly easy to implement an off-the-shelf shopping cart into it (there may even be a MODx plugin that already does this.)