FrozenNode/Laravel-Administrator ckeditor full? - php

Is it somehow possible to change the standard ckeditor in frozennodes laravel bundle Administrator with the full featured one? I downloaded the full ckeditor und replaced the old ckeditor-directory with the extraced files of the full version but nothing happens. Any tipps here?
Thanks in advance.
Edit: in the first picture you see the current one and beneath that the expected one, see also here http://ckeditor.com/demo#full. I updated all files but nothing happens..

Okay found it out on my own!
Download the full featured one, copy it to the public directory of your laravel application in a folder named ckeditor.
After that search for the file viewComposers.php in the frozennode vendor folder and in that the phrase "ckeditor". You will see that there is a js declaration of the needed ckeditor.js file.
Just change the value to asset('ckeditor/ckeditor.js').
And there you go :-).

Related

Is it possible to change icon in moodle?

I am using Moodle 3.2 version. I have applied Boost theme. I need to change some icons for my requirement. For example in header message, notifications icons displayed, need to change that icon.
Is it possible? Please suggest your solution.
Open the folder containing the installation of your Moodle you will find a folder inside it called “pix”. This folder contains all the core Moodle images and icons.
Search this folder for an icon or image you are looking to replace. Make a record both of the file name (and extension) and the folder it is in. For example, if you were to want to replace the apple icon it is found at
/pix/i/apple.gif
Refer it http://www.ripperdesignandmultimedia.com/2011/08/05/moodle-2-1-changing-the-default-moodle-icons-in-your-custom-theme/

Pattern Lab: "Your styleguide won't render because i can't find your styleguide files...."

I was trying to generate the Pattern Lab site after their new upgrade, however, after I downloaded all the dependencies, it kept complaining that my style guide won't render because the styleguide files cannot be found at patternlab-php-master\vendor/pattern-lab/styleguidekit-mustache-default, and it suggested me to fix this in ./config/config.yml by editing styleguideKitPath... I checked the ./config/config.yml file and the path appears to match the folder where the styleguide files are stored. I couldn't figure out what's wrong, and also, what are the style files? Because when I looked into the styleguidekit-mustache-default, I have what is shown in the picture below, but I don't know if they are all that's needed or not. If someone is experienced in the new version of Pattern Labs or knows how to solve this problem please let me know. Thank you!
styleguidekit-mustache-default content
I just had the same issue which was resolved by updating the following in the config.yml file /config/config.yml:
the 'styleguideKit' variable to "pattern-lab/styleguidekit-mustache-default" i.e. the path to the styleguide kit from within the "vendor" folder in your project root.
the 'styleguideKitPath' variable to "vendor/pattern-lab/styleguidekit-mustache-default" i.e. the path to the styleguide kit from within the project root.
My config.yml file had the full path when I first opened it and half of the slashes
Hope this helps.

Magnific Pop up for Wordpress

I have been trying to figure this out for the past couple of hours, but how do I integrate the plugin into a wordpress site?
Because the plugin itself does not have a specific directory to be placed, I am confused as to where the files need to be put in order for it to work. My explanation is pretty vague, as I haven't been able to upload any of the 3 files mentioned into wordpress as of yet.
so there are 3 files:
jquery.magnific-popup.js/ jquery.magnific-popup.min.js/ magnific-popup.css
The end product i need is essentially just a set of gallery items, not restricted by width or height, so I am able to have a website similar to this one here as reference: http://www.three-d-conceptwerke.com/
Each Gallery item opens a pop up that displays several images within each gallery, in which case each item is treated as a project containing several images.
That aside, without knowing how to integrate the files into wordpress, I am unable to work on it. Any clues?
It doesn't matter where you place them - just call the scripts and stylesheets in your header or add them into your functions.php.
E.g. if I uploaded them into a directory called external-plugins, I would just call them as
<link href="http://www.example.com/external-plugins/magnific-popup.css"> <script src="jquery.magnific-popup.min.js"></script>
And add your arguments below. Should work fine in your header.php
Edit: That link you posted pretty much explains everything you need to do - if you can't follow it, maybe you should hire somebody else to do it for you!
The instructions are pretty clear from the link you provided...
Create the directory magnific-popup in your theme’s directory. Download the MP CSS and JS files from GitHub and put both in the magnific-popup directory
You need either use an FTP client like Filezilla or use a File Manager from your hosting control panel to log into your site's file directory. Once you are there, navigate to your WordPress theme's directory wp-content/themes/your-theme/ and create a new directory named magnific-popup. Then upload your 3 files into that directory and follow the rest of the instructions to finish setting up your popup.
If you've found this helpful please mark this as the acceptable answer to your question.

magento 1.9 signup form

I have been cracking my head about this for two days on. I inherited some magento 1.9 Multi vendor website and just need to bolden some text on the customer create account field. I have searched every where in my template directory Customer/form/register.phtml and Persitent/form/register.phtml yet I am not successfully able to identify the line that prints
'wants to become a vendor?'
Here is a link to the form please.
http://store.min-trade.com/index.php/customer/account/create/
Could someone point me in the right direction. I pretty much understand the project structure of Magento I do believe. Please help!
Are you sure you are looking in the correct template folder?
You are using the rwd/default template, so have a look here;
app/design/frontend/rwd/default/template/persistent/customer/form/register.phtml
If there isn't a file called register.phtml in that location, then Magento will fall back to the base folder, so try;
app/design/frontend/base/default/template/persistent/customer/form/register.phtml
If you still cannot find the text, it could be a custom login form using another template. Login to your server with ssh/putty and run this command;
grep -nr 'Wants to become a Vendor?' /path/to/magento/*
Just make sure you set the correct path.
You can easily check by enabling path hints from magento admin.
If you dont know how to enable file path hint then refer this link enter link description here
second thing that if you have installed any vendor extension then register form will be displayed from that module.
You can also install this path hint module for check file.

TinyMCE Filemanager and Imagemanager

We have both the Tinymce Filemanager and Imagemanager.
I need to intergrate the two of them together.
On the webpage of the Imagemaneger it says it is compatible with the Filemanager.
( http://www.tinymce.com/enterprise/mcimagemanager.php ).
However I can not find anywhere how this works. I don't want the Imagemanager and Filemanager to be seperated. It would be ideal to have both of them seemlesly working together.
Does anyone know where to find a demo and how to intergrate this?
Thanks in advance,
-V
I found it, after a while.
I don't remember where I found the solution but it was one hell of a search.
In the filemanager config.php file you have to edit the lines 152/153/154/155
The $mcFileManagerConfig["imagemanager.urlprefix"] is most important, you have to set the url to where the imagemanager plugin is located.
The same goes for the imagemanager config.php on line 128 edit the $mcImageManagerConfig['filemanager.urlprefix'] to the imagemanager path.

Categories