magento add wysywyg editor in frontend page - php

i create a module in my magento, where users can write comments and i want to add a wysiwyg editor with the most common options, but i don't know where to start, maybe the most simple example
thanks

I believe there's a build in wysiwyg editor within magento. Here is the forum post that shows how to activate it:
magento wysiwyg

Related

How can I change WooCommerce checkout page order summery section style?

I am new to WordPress. I need to change the checkout page style. Please help me to give suggestions.
Please use this wordpress plugin in order to customize your checkout page style/CSS: https://wordpress.org/plugins/postpage-specific-custom-css/ . You can use description and installation tabs to learn how to download the plugin to your wordpress.
You'll notice the blue download button on the right-side of the screen when you're ready to start the installation process.
You can also use the screenshots with the description tab to view how to use the plugin.
The plugin would be easier to use than altering the CSS style within the appearance section of your wordpress dashboard.

Wordpress Styling

I am new to using Wordpress as a developer as opposed to just using the dashbord but am struggling to understand a few things and would really appreciate some help.
For a site that does not require a blog - do you just create custom/specific page templates for each page that your site requires?
If so - presumably you code the content directly. But then how does the client edit their website's about page or any other page for example - because doing it through the dashboard isn't going to use the necessary CSS hooks without using classes, id's and HTML?
As a beginner to Wordpress - I can't see that posts are used on sites that don't have a blog, but am I correct or is using posts the way a client can edit content on their site, but just have posts styled to look like normal content?
Or am I wrong in thinking a company (I am starting as an intern at a web dev company that use WordPress) provides the tools or at least configures WordPress to enable the client to change content?
Any help getting me to understand the basic concept and way a developer would create a custom WordPress site would be much appreciated. Thanks in advance.
You can use page.php. In WordPress everyone create at least one custom template type to get wider design for custom pages.
You can refer here for more info.
Use Advanced Custom Fields with page templates. Say you are making an About page, call that template about and select that template in the backend editor. Once you save the page, the acf fields will show up and you can populate the content.
ACF: https://www.advancedcustomfields.com/
Page Templates: https://developer.wordpress.org/themes/template-files-section/page-template-files/page-templates/

Can I use the WordPress visual editor in a plugin?

I am writing the settings menu for a plugin I am developing and I would like to use the custom input that WordPress uses on the dashboard for page and post content.
The idea is to let the user easily add HTML files to the plugin.
Thanks for any help.
Have you tried with wp_editor?
wp_editor();
http://codex.wordpress.org/Function_Reference/wp_editor

Need help for PSD To WordPress using Thesis framework

I'm experienced developer and know very well how to convert PSD To HTML/WP. I have been using Woo Canvas framework to convert PSD to WP. But Now, I need help how to properly convert PSD to WordPress using Thesis framework.
Thesis framework is bit different since it uses "Skins", "Boxes" and etc to customize a site. I want few things to confirm from people how know Thesis framework.
Here is the png version of PSD file
http://screencast.com/t/JujlDjZm1Jwr
You can see, it has top header menu, header image, slider, menu, posts and sidebars.
Now my questions are:
How to properly perform customization without disturbing core framework files?
Should I be working on Skins, child theme and boxes?
Would I need to add some custom template integration?
I think, Thesis framework doesn't provide slider feature so I guess, I would need to add custom markup to add the home page slider?
How to create separate sidebar and that should be customizable?
I can see there are several options that I can set but it is not fulfilling the whole requirement.
I can go directly adding divs for each section and registering wp_nav but I first wanted to hear from some Thesis framework experts. I would be very thankful for any of your help! Thanks
Based on the date of this post I am assuming you are using Thesis 2.1x. This version of thesis does not require you to do any programming to accomplish any of the tasks that you asked about above. You can use the Custom CSS Tab on the Thesis Admin Page to add your custom CSS. You can also use the CSS editor to add CSS and create variables (Thesis is SASS ready).
To add a slider just use an HTML Container and add your slider to either a widget or Feature Box.
You can add Javascript to specific templates by clicking the gear icon next to the Template Button in the HTML editor.
If you really want to use your own code you can add skin specific php to your wp-content/thesis/custom.php file (same as wp functions.php) and you can use master.php to add code to every site on your network (wp-content/thesis/master.php). And of course you can enqueue and register scripts that you create in either of these files, as well.
I usually create a custom folder and keep all my function/js/class files in there and then just include of require them using the THESIS_USER_SKIN_URL constant. This constant enables Thesis to find your file within a specific skin.
The Thesis Forums are probably the best place to find Thesis answers. They have a great community.

How can I make part of a Joomla template editable via the CMS interface?

Title says most of it.
I have inherited a Joomla site and the client wants part of the main template (a feature-type box) to be editable via the Joomla backend.
I guess really it is a content item that never gets displayed as its own page, but as a part of all pages.
Is that possible?
Thanks.
EDIT: By editable, I mean as a piece of content, not as editing the template HTML. I hardly expect non-tech users to get things right in a WYSIWYG text editor, much less change HTML code that could screw up the whole site.
The Custom HTML Module allows you to create, edit, and display your own free-form HTML on a Joomla site using a WYSIWYG editor.
In your administration control panel you can find the "Module Manager" under "Extensions" in the drop down navigation menu. There you can create this module, choose a position in your template to display it, and then select what sections of your site the module should be displayed on.
You want the content items module.
Content Items Module
This way a user can add content as normal using the standard content pages, but you as the developer can set the module up to show that content as a module only. You have a LOT of choices with the above module too, you can set individual, category, intro, main all that kind of thing. Dont link to the page or category and it wont be shown on the main site, just in the module :)
The joomla extension directory is full of great things.
Good luck
You can use a special component for Joomla to edit templates, any part of template, any Tag. See dewem template editor component
Joomla templates are always editable via the backend. Just got to Extensions->Template Manager->Select the template you're using to edit it->and then up in the toolbar there will options for editing the html or the css as well as many design (look) options over on the right. That is in Joomla 1.5.

Categories