imagecache not displaying preset images - drupal

i tried to configure my imagecache..installed n enabled the module..now i created a cck for images..and set its test mode display as thumbnail preset linked to the node..
now when i am trying to add content to it, its not displaying the content on the node page.

I solved problem,;) when I activated the "ImageAPI GD2" package under the ImageCache module activation form (admin site building).

There are a few things you can check:
Go to /admin/content/node-type/YOURNODETYPE/display and make sure the image field is visible both in teaser and full view.
Make sure proper permissions are set for the files/imagecache folder (the files folder is usually located in site_root/sites/default/)
Check if the image shows up when you are on the node edit page

To use image cache you need to check three things.
check right php extension(GD) is installed
check your folder permission(generally sites/all/files)
ckeck permission for the field is given for drupal

Related

Drupal 8 Custom CSS not updateing

I have a drupal 8 installation with adaptive theme installed.
I have used this to generate my own theme (peterstheme)
This allows for custom css.
I have an issue in that I can now not update my custom css.
When in Drupal I go to
Home -> Administration -> Appearance -> Appearance settings
to the custom CSS tab I can see the contents of the custom-css.css file
Here it says
Styles entered here are saved to themes/exceed/styles/css/generated/custom-css.css.
When I save any changes it does not save them and definitely not to that file.
When I go to the drupal/themes/exceed/styles/css/generated/custom-css.css
and edit it directly the changes do not reflect in the drupal custom css.
I have flushed all the caches in drupal, cleared browser caches etc.
I have Configuration -> Performance. Set page cache to no-caching.
I have made sure that the permissions on the custom-css.css have (User ,Group,World read and write) or (666)
I cannot find any other custom-css.css file.
I must be missing something.
I do not want to rebuild a whole new theme how can I update this?
Thanks in advance.
Peter
You need to add the css file path in ThemeName.libraries.yml file under css section.

Wordpress WooCommerce admin-custom-order-fields

I install admin-custom-order-fields after enabling, I add 3 fields from admin area.
But they are not showing on frontend checkout page.
I read the documentation, and set the attributes as it suggest.but no luck.
Can you please guide me to the right path.
I'm using http://cardinal.swiftideas.com/documentation/changelog/?TB_iframe=true&width=1024&height=800 if this make any change.
You can start by disableing very other plugins and clear any caches you have.
Second you can check the debug.log file from wp-content.
Tell me if you still have this proablem.

wordpress doesn't remember uploaded images

I'm having problems with the on page image uploader. Uploading images works fine. But when i'm on a page and I want to add an image there, I don't see the images that are already uploaded to the library. As a result, images get uploaded multiple times and now I have multiple copies of the same image in my media library.
Is anyone here familiar with this problem? I would really appreciate the help!
screenshots of the overall settings of my custom fields:
Check this screen-shot and change setting according to image.
You can find this setting here:-- wp-admin --> Custom Fields --> Edit Your Field Groups --> Select Field --> Find Library
Hope this will help you...
Solved it!
There was an error in a plugin I was using: Polylang plugin
In the settings there was an error saying that not every page and/or post had a language setup. Selected option to set standard language for every page and post and everything was fine!

Change home page to an object in a subfolder

How can I change the homepage for a plone site?
The closest thing I can find, is default_page under /portal_properties/site_properties in the ZMI. But it lists index.html and index.htm, which I find very confusing since there aren't any html files in a plone install.
On siteroot add a contenttype 'Link', enter a title of your choice and set the destination to '/yourSiteId/yourSubfolder', make sure it is published, set the Link as default-view of your site.
In the subfolder set the content-item as defaultview.
The "display" dropdown menu includes "select default item" which can be used to choose the object you wish to display as the default view of any folder in a Plone site, including the home folder.
You might want to check out Collage. You can define a layout and then pick content items from any sub-folder and have it rendered within your collage layout. You can then select your collage as the default view of your plone site (by selecting it as the default view).
The user interface for collage is a bit daunting but you should be able to get it after some trial and error.

Customize link for add content

When I have a custom node type and I want to create a page, can the link be something other than what Drupal automatically assigns?
i.e. Currently to add a node-type it is: www.example.com/node/add/node-type
but can it be customized to just www.example.com/node-type ?
You can use the path module, which is a part of Drupal core, to create a path alias. This will change the appearance of the url in the browser, but internally it will stay the same. You can find the settings at admin/build/path

Resources