How can I upload a new updated MCRSS plugin to my app? - css

I want few changes on my APP, support told -Our platform allows for incredible customization by a developer with common languages like HTML, CSS, and Javascript.
Developing on the platform is done with the new SDK that can be found here on github. You can see more about developing the customization you need here: http://buildfire.com/developers/
As always
Downloaded MCRSS on my PC and made few changes Like on home page i dont want to show date below title -
i just added css property in list-item-date {display none:}
and we dont want Title and author name get trimmed , i just removed trim code.
Now New Updated MCRSS plugin ready at my PC.
How can i upload that on my APP.
Please tell me steps

It sounds like you're trying to customize the Media Center RSS plugin. You have two options:
Create a pull request on the repo.
Create an account on the developer portal, and upload your own custom version of the plugin.
For option one, you'll have to make your changes generic so that your pull request will be accepted. It might include making some of the options configurable from the control side. The main benefit is that moving forward the plugin will include your changes and any future bug fixes or enhancements will automatically be included.
The second option is easier to do if you're not as familiar with Git, and/or don't want to spend the time to make the options configurable. You just create an developer account and upload your custom plugin. (It will require you to rename the plugin to something unique.)
Hope that helps.

Related

Creating a plugin that adds functionality to a theme

Divi is a wordpress theme https://www.elegantthemes.com/gallery/divi/. It contains a video module https://www.elegantthemes.com/gallery/divi/documentation/video/ that allows you to add the URL of your video and then view it on your website. Currently it supports Youtube, Vimeo, etc. however does not support Wistia. Without going into detail Wistia is the only option I can use, and therefore my aim is to create a plugin that adds this functionality. However I'm going into the unknown and want further direction. My first objective would be to look into the theme code and find out how the theme is adding this functionality for Youtube, Vimeo, etc. Exactly how would I find the code? And then why wouldn't this functionality have been added to begin with? Would they have just left it out, or would it be another reason that might be preventing me from adding the functionality?
Every single include/embed/attachment etc. that loads from an external source, into Your app is done trough the usage of an API which Your source provides.
You won't be able to find much in their code since this is probably being done trough some custom shortcodes or hooks. In both situations, this requires custom modifications from their developers in order for the Westia API to work with the DIVI builder.
In Your particular case, Westia do provide an API but if DIVI didn't include that yet, I presume that this is because of the fact that Westia is a Niche video hosting provider, not a public one like Youtube / Vimeo. Therefore, I think that You should contact their support for more information on that issue.
You can try to embed your desired wisita video trough a custom object of some kind.
So in this case, You can go trough this thread right here by Elegant themes, and after you get acquainted with the methods to do so, head over to WISTIA's embedding options page and find out what fits your site best.

WordPress website white labeling?

We have many (hundreds) of clients that require basic, content-oriented websites. We are currently using simple WordPress deployments for these clients, but would like to make things more simple.
Is there a tool that exists that will let us white-label, or "re-use", a basic WordPress website and simply injecting some text and images into it to create a whole new website?
The process would look something like:
1. Have new client that needs website
2. Gather some client info (phone number, images, biography, etc.)
3. Inject this info into a previously created WordPress "template" site
(we would use the same template for all clients)
4. Pick a WordPress theme
5. And done. We now have a rebranded WordPress site for this client with minimal work
done.
Step 3 is where we need help? Is there something that already exists that can do this? If not, what is a good method to do this "injection"? We were thinking just creating a small app that would go through the template WordPress site and do a find-and-replace.
Perhaps it would be good to simply write a plugin which would allow you to gather exactly what info you need in a settings panel there, then inject the information into whatever theme you're using from there.
So it would be a relatively simple step as you create new sites to install the plugin, use it to add information, etc. (Perhaps if most of it is client information, it stores the information with admin user information).
Well if you want to be able to re-use your branding, you could do them in your theme's function.php, so its kind of "portable"
For example, when I re-brand a wp site, and customize their wp-login. Change logos and stuff.
and things like, hide menu of theme-editor, plugin-editor, etc
all goes together, and I put the codes in the functions.php

Do I have to Upgrade WordPress to "pro" if I want to edit the CSS?

I started using WordPress just a few hours ago because I need to develop a couple of blogs to a client. I understand that WordPress is the best solution if you want something fast but flexible. But, the first thing that I wanted to do was just change the font of the post and I didn't find how to do it (for all the posts, because I changed it on this one using the HTML editor). I've read something about editing the CSS, but it turns that I need to buy the Pro upgrade to be able to use the custom design.
Is this the same if I use WordPress in my server?
I need someone to guide me on this one. I need WordPress as customizable as it can be. But, I prefer not to pay! :) Unless that's the only way to do it.
If you use WordPress on your own server, you can do anything you like to it - it's open source. The "Pro" upgrade is just for WordPress blogs hosted on the commercial WordPress.com platform.
Do note that running your own installation means you're responsible for adding plugins, themes, keeping the code up-to-date, etc. That has a cost too, even if it's not money directly out of your pocket.
If you are using wordpress on your own server - you are free to do anything with it. The best way to customize your site then is using a child theme. It will contain your customization, overriding styles from previously loaded parent theme (and/or adding some scripts). You will be able to upgrade parent theme then without loosing your customization (until parent theme owners deprecate something you use, but it must not happen often). There are some plugins for simplifying working with it as well. There are also some easier customization ways, if you want just minor changes - such as Custom CSS in Jetpack plugin, which works in similar way, as far as I know.
If you're using a wordpress.com account, you have less freedom in modifying things, consider using paid custom CSS plugin maybe. Or maybe mentioned above jetpack will do.
Also, as mentioned in other answers - there are wordpress codex, wordpress.org forums, and wordpress stackexchange, they seem to be better place for such questions.
In your wordpress admin section of your site (usually www.yourdomain.com/wp-admin) on the left hand side nav bar, you will find a section called "appearance", if you expand this and click "editor" you can edit all of the files that your current theme uses. A quick warning, if you are doing this on a live server, the changes you make are live as soon as you save them!!
Hope this helps
I'm pretty sure you do not have to pay to customize CSS. Check your server installation... particularly in the folder $wordpress_install_home/wp-content/themes/default.
You should have access to all the CSS files in there.

Drupal - optimal WYSIWYG editor with image browsing support

Currently using CKEditor + IMCE.
http://drupal.org/project/ckeditor + http://ckeditor.com/
http://drupal.org/project/imce
Are there better alternatives for a Drupal rich-text editor with image upload support?
To set it up, I add the modules, enable them, add the CKEditor source, configure the Default CKEditor profile to not load unless I tell it to, disable security filters until it loads, and enable the Drupal - Full toolbar version. This gives me all the CKEditor features and flexibility, image and flash upload support via IMCE.
I have tried CKFinder, but I rarely use it on client projects (non-free usage licences). Other modules are a pain to configure and may sometimes break the interface or content (especially around full HTML or PHP inputs).
Update 1: Added a small bounty, looking for more answers.
After having trouble with the CKEditor module over and over again, I switched to http://www.drupal.org/project/wysiwyg , which encapsulates the JS of multiple WYSIWYG Editors in a generic way (by using input filters, which somehow feels like The Right Thing to me).
Add http://www.drupal.org/project/imce_wysiwyg - the WYSIWYG IMCE bridge module, and it works almost exactly as CKEditor.module and IMCE would. A plus: It works with other editors, too, just download and install the editor JS code per the instructions.
I suggest you http://drupal.org/project/whizzywig it is light, full featured and natively includes an image browser (have a look at the comparison table).
I did a comparison on our blog a while ago, looking at some solutions.
Currently I'm sticking with wyswiwyg + imce + tinymce + imce_wysiwyg.
BUT I don't think it's the perfect solution. However in Drupal 6, we don't really have a central image library, this will be a lot better in Drupal 7.
I would recommend checking this module out:
http://drupal.org/project/nrembrowser
It integrates with CKEeditor and might be the way to go.

Migating from CakePHP to Drupal, functionality question

(I've posted this on the drupal forum too btw)
I'm converting the company websites to use Drupal, or at least trying to check that its going to be the best way forward. I have a background in PHP development, and I'm currently using the CakePHP framwork. I've built this site (not my design) and I can see how to replicate most of the functionality using Drupal, most likely using the CCK module.
http://preview.tinyurl.com/yk6u8mt
As you can see from the homepage:
A user chooses a country.
The country is passed using an ajax call to a script that decides which phone is best based on 'in country' network coverage.
A div is shown recommending the visitor the best phone for that country.
I'm wondering how to go about this in Drupal, I'm definitely not after a step by step guide, I just want to know if this kind of thing is possible with Drupal, and what approach to use.
If someone can help that would be superb. Thanks.
Okay, so you've got a path you're defining in hook_menu, which is where your form is being presented - or else you've got it set up as a webform in a node, that could work too.
Either way, in your form you're going to be using AHAH - check out http://api.drupal.org/api/drupal/developer--topics--forms_api_reference.html/6#ahah and http://drupal.org/node/348475 .
Basically, you're going to define another path in hook_menu that's of type MENU_CALLBACK, and which will receive the country as input, and then will return the div that you'll display on the screen.
One core example of AHAH that may be useful to you is where you're entering a password and it lets you know if the password is secure enough - check that out.
Edit: There's also some good examples at http://drupal.org/project/examples.
I would look into using CCK and views. you can set up filters for the views. If filters don't work, you have the ability to include php code. I have also successfully added jquery code in the header of a view through which I was then able to have my view filtered by what is typed in a text box.
Coming from CakePHP using Drupal is a pain in the a** - even more for developers.
It's application structure might be designed to ease extensibility but this only means you have a system to enable your own plugins and themes.
While modules are basically the M+C-part the themes are the V-part of an MVC-application. The problem is that this seperation is not very strict in Drupal - in fact you have to break it sometimes in order to make things work (e.g. you have to include a theme_mymodule_myfunction() into your module as default output which you then can override with your theme using mytheme_mymodule_myfunction() ) And don't even bother looking for classes ( see http://drupal.org/node/547518 ).
Also there is no real link from a module to a theme. On many occations this is a good thing as you can switch modules and themes seperatly without creating a problem. For application builders coming from CakePHP (or any other framework) you often feel a lack of "wholesomeness" - you create parts for a base software and have to live with it's drawbacks.
IMHO I wouldn't recommend this step. Drupal is fine if you have to manage a website and might add a few modules to add neccessary value (image gallery etc.) but I definetly don't recommend it as a base for a customized web-app.

Resources