Giter Club home page Giter Club logo

anchor-cms's Introduction

No Longer Maintained

Unfortunately we have been able to maintain this project for sometime. We advise that you consider using alternative platforms and should no longer consider this project production ready.

Thanks for everyones support and contributions over the years.


Anchor Header Image

Anchor CMS

Anchor is a super-simple, lightweight blog system, made to let you just write. Check out the site or checkout the documentation here.

Requirements

  • PHP 5.6+
    • curl
    • mcrypt
    • gd
    • pdo_mysql or pdo_sqlite
  • MySQL 5.6+ (MySQL 5.7 recommended)

To determine your PHP version, create a new file with this PHP code: <?php echo PHP_VERSION; ?>// version.php or run php -v in the command line. This will print your version number to the screen.

Installation

  1. Ensure that you have the required components.
  2. Download Anchor either from here, by cloning this Github repo or by running:
composer create-project anchorcms/anchor-cms anchor
  1. Upload Anchor through FTP/SFTP or whatever upload method you prefer to the public-facing directory of your site.
  2. Ensure that the permissions for the content and anchor/config folders are set to 0775 and that all files belong to the web user or is a part of the same group as the web user.
  3. Create a database for Anchor to install to. You may name it anything you like. The method for database creation varies depending on your webhost but may require using PHPMyAdmin or Sequel Pro. If you are unsure of how to create this, ask your host.
  4. Navigate your browser to your Anchor installation URL, if you have placed Anchor in a sub directory make sure you append the folder name to the URL: http://MYDOMAINNAME.com/anchor
  5. Follow the installer instructions.
  6. For security purposes, delete the install directory when you are done.

Problems?

If you can't install Anchor, check the forums; there's probably someone there who's had the same problem as you, and the community is always happy to help. Additionally, check out the documentation.

Contributing

If you'd like to help out and contribute to this project, please take a look at the contributing guidelines. All information you need to get started should be included in there. If you have any questions then create an issue, make a forum post or message us directly.

Feature Requests:

If you would like to add submit a feature request then please go to our Feathub page.

Feature Requests

anchor-cms's People

Contributors

andreyco avatar bake avatar bibliofile avatar craigchilds94 avatar daturkel avatar daviddarnes avatar eamdog avatar emoe avatar evansharp avatar garrettrayj avatar gerrit0 avatar giacomocerquone avatar hariadi avatar idiot avatar james2doyle avatar johanneskonst avatar larrybolt avatar maltekiefer avatar maschmann avatar matthew1471 avatar mlupine avatar moje-s avatar neverbot avatar radiergummi avatar spenserj avatar srccd avatar taufik-nurrohman avatar thebrenny avatar tijme avatar tk421 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

anchor-cms's Issues

Choose Page Type

I recently deleted the posts page which screwed everything over. It continually shows a 404 on the index of my blog and the admin posts page shows a 500 error.

I think there needs to be a way to select the index page in metadata and choose a page type (ie. blog) when creating the page.

htaccess seems to be overwritten during installation?

I ran into this issue because Hostgator requires a line in .htaccess to enable PHP 5.3. When I filled in my details and submitted the setup form it warned me that Anchor needs PHP 5.3. When I checked the htaccess it was completely empty. By pasting in the original line for PHP 5.3 and the Anchor Rewrite rules I got it to work again.

Just realised this also meant that I skipped creating an admin user...

Localise Anchor

Ar hyn o bryd, os nad ydych yn siarad Saesneg, gallai fod yn anhygyrch Anchor.

(At the moment, if you do not speak English, Anchor might be inaccessible.)

Installation > Admin

I think there needs to be a link added on the page giving the user a way to get off the installation page.

Developer API

Not sure how difficult this would be to implement, but it would be awesome to have the option (perhaps via an API?) of adding/editing content from the front end, or maybe even from another site or tool.

Definitely not crucial, but if this was made easy I bet there'd be some incredibly creative uses of it.

Theme Detection

I noticed that currently theme's are detected by any file in the themes folder and therefore if there's a zip file or really anything else in there, they would be counted as themes in the admin area as well. So, I'm recommending a better theme detection.

Comments

Most blogs want comment functionality.

Site names cannot contain '

When you set the site name to something containing ' (single quote), it doesn't escape it and breaks the config file.

Initial user is not created.

After filling in the config files, a user isn't able to log in to their admin panel, as the tables don't exist.

Auto-Accept/Allow comments

From the mouth of uncleho : "I want to be able to have someone comment and it show up right away. Can you add that?"

This would be a neat feature, also thought of another option, make it so that only users of the site can comment etc..

Cannot Login after Install

Hi! I thought I would throw Anchor on my local dev webserver for a quick peek, but after installing the CMS the username / password it gives me to login, do not work.

I am running Ubuntu 11.10 x64 with the typical PHP 5.3 stack from the repos.

The install works perfectly, and the front of the website can be viewed, but when I try to login with the details given, for example :

The username is admin, and the password is GZknEMOC.

I get 'Incorrect details'.

Have attempted the install 4 times with the same result. I am using version 0.5.

I hate leaving without a positive note, so let me say the parts I could use look / feel fantastic :)

Thanks!

Add multiple ways to post

Although a textarea is good for adding posts, it's hard to design, code, and script posts on the fly this way. Maybe there could be three methods of post input:

  1. Textareas (with WYSIWG, and syntax highlighting, maybe?)
  2. File uploads
  3. URL input (this would be a path to a folder that would contain an index.php, style.css and script.js file). I personally prefer this method, because it means that even after a post is published, you can keep tweaking things, and it's the quickest way to build a post.

Anchor CMS Demo

Please provide a demo website, even on a free web hosting. People should be able to test the software before installing.

Simple templating?

How do you guys feel about implementing something like Mustache? I'd be happy to give it a shot myself too, but I'm not too experienced in PHP!

Markdown Support

Title says it all. How about some Markdown support for post content in the admin area?

Edit: Realized that I could technically just build it into a custom theme, but I suppose it would be nice to have internal support

Theme Options

Have a basic way of passing data to a theme. I'm thinking it should wrap/extend the Config class, and look a bit like this:

set_theme_options(array(
    'use_header' => true,
    'header_src' => 'http://t0.gstatic.com/images?q=tbn:ANd9GcToU0McaPXbYcQIYcfkUvjrlkRo-isYlO8gIDGHpAFnDqMCDVs-BUiZG4AhFA'
));

Which would then be called like this:

theme_option('use_header'); //  returns "true"

Reference: http://twitter.com/chrisveto/status/169579692859465730

twitter field on Metadata page

any character before the username.. for example mine is: _iamandy

the field automatically removes any character that isn't a letter.

Redirect after installation

I've noticed now, that after installing Anchor, and after the Success message, needs a redirect to the home page, or the admin area at least.

Don't you think ?

Import/Export posts

The ability to import and export posts (perhaps just XML) would be very useful.

Single post pages throw a 404 (broken URL structure)

This one's my fault. Since the default theme uses a relative time function on posts, I had to change the references from date('C') to time(), to get the UNIX timestamp for more accurate timings. Unfortunately, this broke the URL structure.

I guess the fix here would be to implement the posts/(:any) route for a single post (which doesn't work on its own, unfortunately).

Post variables

I guess you could call this the equivalent of Wordpress' shortcodes, but it'd be really cool to input {{sitename}} in the post box and have Anchor transform that into Visual Idiot's Site.

Subpages

Subpages are super-handy for, say, the about page, where you could have about > about person a, etc.

Create a new post/page/user link is broken

Create a new post link uses the html link "/admin/posts/add" but all other links use: so this should be:

admin/posts/add" to make sure if you install in a directory other than the base root this link works.

Note that these are the links in the H1 tag before the content section and notifications. (/system/admin/theme/(posts/pages/users)/index.php)

Edit - tried to add the actual HTML but not sure how to add code? First github issue!

Edit2 - Also noticed a few other links like the return to posts that have this issue.

Theme variants

We could do something where a theme has a variants folder with a bunch of CSS files in; we grab those names and list them as sub-themes, which could then be stored as theme.variant.

Cannot edit users

Go into the user admin panel and attempt to edit a user. You can click the link, but it still shows the index.

Post custom fields

On my blog, I have two custom fields that are used in the footer: fonts and attribution. Would be cool to add these as a custom_fields column (could just be stored as a URL-query string, eg: fonts="test font"&attribution="visualidiot").

Post Types

Just a neat little feature that would allow posts to be displayed differently (styled) and filtered based on their type.

Just like tumblr does it.

  1. Normal
  2. Image
  3. Video
  4. Quote
  5. Audio

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.