Code Monkey home page Code Monkey logo

webed's Introduction

webed's People

Contributors

duyphan2502 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

webed's Issues

migrations

Issue running migration on postgres

getting the following error

SQLSTATE[42601]: Syntax error: 7 ERROR: syntax error at or near "MODIFY"
LINE 1: ALTER TABLE theme_options MODIFY value TEXT NULL

I recommend you remove the alter statements
DB::statement('ALTER TABLE theme_options MODIFY value TEXT NULL');
in file
set_theme_option_nullable

seems ok after that
will fork repo then resubmit

Thanks

About module alias

view files within everymodule,where does the package alias name come from,like below , where is "webed-core" come from?

@extends('webed-core::admin._master')

Requirements?

Hello, what is the minimum required version of php? Something I have not worked on PHP 5.6.27 - Internal Server Error :(

Help me please.

php artisan command return rutime error

[Symfony\Component\Debug\Exception\FatalThrowableError]
Type error: Argument 2 passed to Illuminate\Routing\UrlGenerator::__constru
ct() must be an instance of Illuminate\Http\Request, null given, called in
*\vendor\laravel\framework\src\Illuminate\Routing\Routi
ngServiceProvider.php on line 64

Frontend as module

Hi, a good feature would be to enable/disable frontend in settings, or make it as module/plugin?

You could use Webed as base for CRM, not only CMS?

Thanks

How to use it?

Hi bro,
I very interest this CMS. But i dont' know PHP. Can you have me install it on my computer?

cho mình hỏi xíu ạ

Mình là một newbie lần đầu install laravel 5.4 này. Bạn có thể hướng dẫn cho mình được không ạ. Mình cảm ơn bạn nhiều. Mình có thử install rồi mà ko được bạn à

Short code doesnt work?

I created a static block code and it generate a shortcode like this
[static_block alias="one"]

but when I add this to my test page , nothing shows up?

any idea

Gặp lỗi undefined

Mình gặp phải lỗi này khi đã thực hiện hết các bước
FatalThrowableError in AbstractController.php line 33:
Call to undefined function WebEd\Themes\Triangle\Http\Controllers\google_recaptcha()

Navigation menu

I created 2 new menus named 'main menu' and 'top menu'. My question is how i call it on 'header.blade.php' The default code shows {!! $cmsMenuHtml !!}.
How i change it according to my menu names?
Help, Thanks

ErrorException in UrlGenerator.php line 304

After installing the cms, enable theme, install theme make one page default page from setting configurations, I got the subjected exception.
exception

Why you don't provide a clean stable version and installation guide for the cms?

Menu section

I'm editing mainmenu and in my design i got a class for the ul section ul class="navigation clearfix"
like this..
<ul class="navigation clearfix">

</ul>

But i don't see an option for giving class for <ul>, I see css options for the <li>in the custom link section
Help, I'm a beginner

Extending menuHtml

Firstly, great project, almost exactly what i was looking for, A basic bootstrap laravel cms which i can extend, I hope it continues to progress.

I would suggest better documentation, I've been over the documentation and it is very brief and only outlines the basics of how to get the system working.

Not much in the way of troubleshooting or in-depth explanation of how routing is setup.

Never mind my original issue i have solved it so i'm updating this issue with another question, while i realize this is not the best channel for support related questions there isn't really any website or forums.

I'm trying to create a bootstrap megamenu in the triangle theme.

What i've come up with so far is i need to extend the menuHtml class

As seen below (modified)

  protected function getMenu($type, $relatedId)
    {
        $menuHtml = $this->cacheService
            ->setCacheKey(__FUNCTION__, func_get_args())
            ->retrieveFromCache(function () use ($type, $relatedId) {
                return webed_render_menu(get_setting('main_menu', 'main-menu'), [
                    'id' => '',
                    'class' => 'nav navbar-nav navbar-right',
                    'container_class' => 'collapse navbar-collapse',
                    'has_sub_class' => 'dropdown megamenu-dropdown',
                    'container_tag' => 'nav',
                    'container_id' => '',
                    'group_tag' => 'ul',
                    'child_tag' => 'li',
                    'submenu_class' => 'dropdown-menu mega-dropdown-menu row',
                    'item_class' => '',
                    'active_class' => 'item active',
                    'menu_active' => [
                        'type' => $type,
                        'related_id' => $relatedId,
                    ]
                ]);
            });

        view()->share([
            'cmsMenuHtml' => $menuHtml
        ]);
        return $menuHtml;
    }
}

From what i can tell, i need another css class level

one for main title
one for dropdown-header (Blank link which separates the sections of the megamenu)
one for item

Either i'm reading it wrong or the above block of code doesn't give enough css levels to make this work.

Could someone here provide some insight on how extend this function.

How to reset the admin password?

For some reason, access to the admin panel has stopped ...
Sign in to start your session
These credentials do not match our records!!!

Login and password I did not change
During the installation I set such:
admin
password
Why does not it work now :(

When installed on a hosting server, it generates such errors

php artisan vendor:publish --tag=webed-public-assets --force

Can't locate path: </........./ptznew.ru/vendor/sgsoft-studio/modules-management/src/Providers/../../resources/themes>
Copied Directory [/vendor/sgsoft-studio/assets-management/resources/public] To [/public]
Copied Directory [/vendor/sgsoft-studio/elfinder/resources/public] To [/public]
Copied Directory [/vendor/sgsoft-studio/menu/resources/public] To [/public]
Copied Directory [/vendor/sgsoft-studio/users/resources/public] To [/public]
Copied Directory [/vendor/sgsoft-studio/custom-fields/resources/public] To [/public]
Can't locate path: </......../ptznew.ru/vendor/sgsoft-studio/static-blocks/src/Providers/../../resources/public>
Copied Directory [/vendor/sgsoft-studio/base/resources/root] To []
Copied Directory [/vendor/sgsoft-studio/base/resources/public] To [/public]
Copied Directory [/themes/triangle/resources/public] To [/public]
Publishing complete.

Undefined variable: testimonials

I just flow your instuction. But Its showing dlowing error

Undefined variable: testimonials (View: C:\xampp\htdocs\webed\themes\triangle\resources\views\front_partials\footer.blade.php) (View: C:\xampp\htdocs\webed\themes\triangle\resources\views\front_partials\footer.blade.php) (View: C:\xampp\htdocs\webed\themes\triangle\resources\views\front_partials\footer.blade.php)

in 1af65b77165779398483e62c0322c83f81f25bd3.php (line 9)

Templates issue

Right after installation, the themes won't work for me. I haven't really tried to do anything other than the basic install. Just thought that I should point this out. I'm attaching an image to show how my pages look like.
When it comes to the admin interface though, amazing job. Works great. Thank you.
webdev page

how to install theme

This project looks great ! Wanted to test it, but I have some problems to activate a theme, as it seems to be blank theme after installation.
My font page and backend page are white. I have downloaded Sedna theme, but cannot activate it, when I go to the plugins page, the list is empty. no idea about how to do. Documentation is not very explicit, I have difficulties to understand if we need to unzip theme, or just copy it....
2017-03-29 14_16_23-plugins _ webed

Unnecessary white space

Another thing i have noticed is there is unnecessary white space in some areas

<ul role="menu" id="" class="nav navbar-nav navbar-right">
                                            <li class="menu-item                                             active ">
                    <a href="http://beta.xxxxxxxxxxx.net/home" title="Home">
                                                Home
                    </a>
                                    </li>
                                            <li class="menu-item                                             menu-item-has-children dropdown">
                    <a href="" title="test 1">
                                                test 1
                    </a>

I solved this by changing the following lines

<li class="menu-item {{ array_get($options, 'item_class') }} 
{{ in_array((int)$node->id, $childActivatedNodes) ? 'current-parent-menu-item' : '' }} 
{{ $isMenuItemActive ? 'active' : '' }} {{ $node->children && $node->children->count() > 0 ? 'menu-item-has-children ' . array_get($options, 'has_sub_class') : '' }}">

to

<li class="menu-item {{ array_get($options, 'item_class') }} {{ in_array((int)$node->id, $childActivatedNodes) ? 'current-parent-menu-item' : '' }} {{ $isMenuItemActive ? 'active' : '' }} {{ $node->children && $node->children->count() > 0 ? 'menu-item-has-children ' . array_get($options, 'has_sub_class') : '' }}">

Unless there is a reason not to, i would try to keep the variables within html tags on one line

I also see this white space here, but i looked at the footer code and it shouldn't be creating white space, and its all written inline

<blockquote>
                                This is a test testimonial
</blockquote>

Error when run "php artisan cms:install"

After run command i get an error.
[Symfony\Component\Console\Exception\CommandNotFoundException]
There are no commands defined in the "cms" namespace.

When run : php artisan, i can find "cms" command.

I check in vendor/sgsoft-studio/base/src/Console/Commands/InstallCmsCommand.php and vendor/sgsoft-studio/base/src/Console/Commands/InstallCmsCommand/ConsoleServiceProvider.php

It's right but not work, please check.

Class 'WebEd\Base\Core\Providers\ModuleProvider' not found

After run command : "composer create-project --prefer-dist sgsoft-studio/webed webed.dev"
I get an errror, Class 'WebEd\Base\Core\Providers\ModuleProvider' not found on config/app.php.

After that i just check, vendor/sgsoft-studio/base/src/Providers/ModuleProvider.php,
it's not in namespace:"WebEd\Base\Core\Providers". And i use WebEd\Base\Providers\ModuleProvider::class in app.php config but it's not work.

Please check again.

Super admin password

After installing the triangle theme my admin username and password is changed to default '[email protected]' and i dont know the password to login again.
Help, What i do?

Table Plugin doesnt exsit issue

I followed these instructions to install the CMS intop of an exsisting Laravel 5.4 project I have:

"sgsoft-studio/base": "3.1.*"

Then please register the WebEd provider to config/app.php

WebEd\Base\Providers\ModuleProvider::class.

Then create the folder plugins, themes in root folder of your application.

when I go to / , I am getting an error :
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'plugins' doesn't exist

Không cài đặt được

InvalidArgumentException in FileViewFinder.php line 112:
No hint path defined for [webed-theme].

composer dump-autoload nó không load được dữ liệu. Mình đã thử nhiều lần từ xampp đến open server đều không được

Changing users table with prefix?

I am getting an error with installation since the users table exists with initial laravel installation

my question , how do I change ALL tables that Webed cms is using to start with a prefix like cms_*

can you please help

Thanks

How to use webed in existing app?

Looks like a great CMS and exactly what i'm looking for!
However when trying to integrate this cms in my existing (fairly large) app, i'm running into a few problems.

When publishing (resource) assets, following errors occur:
Can't locate path: </Users/barry/Sites/webedtestproject/vendor/sgsoft-studio/shortcode/src/Providers/../../resources/root>
(many times)

I'm also encountering the problem that i already have a users-table.
Is it possible to have 2 user-tables (users for my 'main' app and we_users for the webed-cms) and how to implement this in Auth.php?
(when i change the web login model in config/auth.php to WebEd\Base\Users\Models\User::class, the webed cms-part is working, except for the missing texts/labels, but my main app isn't working anymore because it's searching users in the wrong table)

I also tried to derive my 'normal' User model from WebEd\Base\Users\Models\User, but that's giving the same problems.

Any help is appreciated!

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.