I have created a Widget, which inserts a form, with a WYSIWYG editor.
But the WYSIWYG editor in the Catalog Section, doesn't provide the Widget button on its editor.
I tried pasting the widget code {{widget type="module/widget_name"}}, into the description area, but it didn't work.
I have written a short tut, on how to enable the mentioned feature:
Magento : Enable Widget/Block Codes in Catalog Product
Related
I need to change text on our Magento homepage, but I can't do it. When I go to CMS -> pages -> homepage -> content, the thing I want to change isn't there. This is our website: http://bsw-bv.com/. Could anybody tell me how I can change the text in the blue boxes beneath the slider?
You can try editing the text in the 'CMS -> Static Blocks' menu of the admin panel of your Magento store. You can try editing 'Homepage Image Carousel' entry from the list appears under this menu.
In case you are not able to edit the text in above menu then we can only say that the text you want to change is not a part of default Magento installation, but it is a part of your theme, we can only suggest you search for that particular text in your theme's PHTML files. Search for 'Professional Cleaning Solutions' in your case.
I want to design a custom menu just like the admin configuration menu in magento as you can see in the image below.
I have a custom phtml file and I want the same menu in that file. how can I do this using built-in magento functionality.
Here is great manual from Alan Storm, how to create custom tabs in admin panel
http://alanstorm.com/custom_magento_system_configuration
I want to design/test a new product page layout/template in magento. What would be the best way of doing this? Copy/paste the product view.phtml and rename it or is there a better way?
You need to change the layout or just the template
If layout you have to update the handle
If template create a new theme and add view.phtml in the theme in catalog/product/ folder respectively
Assign the theme to be default theme.
Do some investigation to get some more idea about theme and layout
It is fairly simple as there is already a built-in widget in Magento which display your newly products.
So create a new CMS page then go to content tab, click on insert widget, find "catalog new product list widget" under widget list and insert into page.
I'm using Magento WordPress Integration I'm wondering how to add fishpig "blog" link to main navigation in magento ? Currently it's only adding a link to my top header navigation.
Thanks
The above answer correctly shows how to add a link to your toplinks, however this is included in the extension by default. If you want to do this, you can enable/disable this from the extension's configuration area.
If you are referring to the Topmenu (the Category menu), it is now possible to create a custom Menu in the WordPress Admin and have this automatically added to your Magento Topmenu.
To do this, create a menu in WordPress. If you only want a single link to your blog, create a menu with this just this link in. Next, login to the Magento Admin and go to the configuration area for WordPress Integration. Under the fieldset labelled 'Menu', you can enable menu integration and select your newly created menu.
This will only work if your theme uses the Magento Topmenu block, which is the default menu block for Magento 1.7. Some custom themes use a custom menu extension for this menu and it is highly unlikely that this custom extension will call the necessary event.
As always, ensure you are using the latest version of WordPress Integration as this feature is quite new and has only recently been added.
When entering code in CMS static block(possible page as well) and in this code there is empty DIV tags such us:
<div class="dropoff_button"></div>
The DIV tags will be gone next time you open the block to edit. it will look as this
without the div tags
...and saving again it modifies your code.
I think it something to do with the 'show/hide editor'. By default it goes into the WYSIWYG editor, so when updating static block i don't see any other solution than
1."hide the editor' by clicking 'show/hide editor'
2.delete the old code from the editor
3. get code that doesn't miss the DIVs
4. Merge new code with code in 3 in some other editing software than magento
5. paste result in the magento editor,
6. Save
Is this bug? What is your solution? Can i turn of WYSIWYG editor?
This may not be consider as an answer but it solved our problem. It turns out that the editor WYSIWYG can be disabled by completely or by default at Admin->System->Configuration. Under 'General Tab' there is 'Content Management' section and there you can set different modes for this editor.
In our case we set to "Disable by Default" so that any time we open static block it does not clean the code only if we choose by clicking "Show/Hide Editor"
The editor, whether in WYSIWYG or not, tries to clean up your code. You may notice that it also replaces all your newlines and indentation as well. This means that you cannot just freely enter HTML into the CMS editor w/o it interfering.
I have not found a simple way to trigger the CMS not to clean your code on the way into the database.
Hope that helps. Thanks,
Joe
You can allow specific tags into tinymce.
You just need to edit the settings var in /js/mage/adminhtml/wysiwyg/tiny_mce/setup.js and add the following line:
extended_valid_elements : 'iframe[src|style|width|height|scrolling|marginwidth|marginheight|frameborder|allowTransparency],style,script',
You can see more info about it at this other thread:
Magento - How to allow certain tags (iframe, embed) in Magento's CMS editor?
It works for me on Magento 1.6.