WPExplorer Adapt Theme: only 5 Portfolio images will show - image-gallery

I'm using the Adapt WP explorer theme and I'm having trouble getting images to show in the portfolio. All the images will display on the Portfolio page (http://kefarpublishing.com/testwebsite/kefar-korner-2/), but when you click on the first one, the slider arrows show, but no image. Only the last five images are displayed. I have tried the following:
resetting permalinks
creating a gallery on the Portfolio page
deleting images from media, uploading into gallery
Also, the only way to get the categories to show is by creating a category titled "All," and then it shows all the ones I created, plus an extra All category (so I have two alls and the rest, or no categories at all).
Any help would be greatly appreciated. Thank you!

First of all disable any other plugins and see if your category menu works then. Then activate them one by one to see which one is conflicting. When you find it, just find an alternative plugin for what you need.
It sounds like you're inserting a gallery into your posts which isn't necessary. To display images in the slider, create a portfolio item, then click on set featured image, upload the images you want to appear on the slider (choosing them from the media library won't work, you have to upload to the post) and then update.

Related

Orchard CMS create theme view for my content type

I am using orchard cms with the bootstrap theme.
I have created a content type: House
it contains FIELDS
image (media picker field)
Property Type (taxonomy field)
Location (taxonomy field)
It has PARTS
common
body
publish later
Title
Autoroute
I want queries of houses and be able to choose the view/ layout for them
e.g. layout called HouseList (for sidebars mainly) which will render: title, image and link to house, possible location and type but with out the links as defaulted. And then a fullDetails layout and a image only layout (so i can show a jquery image reel a widget say in a quadzone) How can i do all this please, i have tried in view Content-House.cshtml etc but i cant access the details model.content to choose what to display.
Im sure when i get the idea of how to do 1 i should be able to sort the rest. I have read documentation etc but there are so many different ways, ie placement file, change the parts, contents, create classes to handle display etc. sureley i am missing something simple like create a view for each list i want eg. houue-list, house-details, house-imageONly and then manipulate content.
Please help i have been trying different things for getting this site running for weeks and not getting very far. Examples would be fantastic but i have searched google for hours and found similar but nothing with enough details for a meer beginer.
Thanks
The standard way of doing that is placement to move things around and alternate templates for the different parts and fields. You can specialize placement and alternates with the display type, which is Summary when rendering in a list such as what a projection returns, and Detail for the detail view. More info on placement can be found here: http://docs.orchardproject.net/Documentation/Understanding-placement-info and on alternates here: http://docs.orchardproject.net/Documentation/Alternates
Now if you prefer to completely take over the rendering and do without placement, here are a few posts that may help:
http://weblogs.asp.net/bleroy/archive/2011/07/31/so-you-don-t-want-to-use-placement-info.aspx
http://weblogs.asp.net/bleroy/archive/2011/03/27/taking-over-list-rendering-in-orchard.aspx

Images not resizing in WYGWAM/Safecracker/Channel Images entry form

I have a blog that uses Channel Images to upload and manage images. The content area is a WYGWAM field. I have a few sizes set up in Channel Images to allow the user to adjust the layout inside their content (landscape left, landscape right, portrait left, portrait right) when adding images to the WYGWAM content field. I then have two other sizes: thumb and gallery. These are for the image gallery that appears below the content. Thumb is set as the small preview in the field settings, and gallery is set as the big preview in the field settings. It all works great in the CP publish form.
However, when using the Safecracker form things don't work as well. I can select existing images, but when I add a photo to the content field (WYGWAM) it does not resize it properly. I do get the dialog box and options I want to choose from, but that choice is not being saved.
What happens is the image is added to the WYGWAM content using the size I have selected in the field settings as the big preview. I tested this by changing what size is selected for "big preview".
However, if I upload a new image and select a size it works fine. The issue is only with existing images (ie uploaded previously for other entries).
Is it possible to use sizes in Channel Images/safecracker/wygwam?
It was a bug in the most recent build. The developer has sent me a patched version that is working.

How can I use alternate shape templates in different zones on the same page?

I'm trying to create a theme in orchard. I have a main content zone and a sidebar zone which is on the right of my main content area (2 column layout). The main content area displays a list of blog posts (including tags, etc. Standard Orchard behaviour).
In the sidebar I would like to display the recent blog post widgets. However, the standard widget renders tags, published date etc. I do not want to display this information in the sidebar zone.
The placement file does not seem to be the right place to configure this as I can't specifically target the Parts_Tags_ShowTags shape in the sidebar zone. Neither does it seem to be possible to create a new template like Tags.ShowTags-Sidebar.cshtml
Any suggestions on how to modify/hide a shape in one zone on a page but not the other?
You can either use an alternate (shape tracing can help with that) or take this over entirely (see this post for details: http://weblogs.asp.net/bleroy/archive/2011/03/27/taking-over-list-rendering-in-orchard.aspx)

Drupal 6: How do I create a Product Item Gallery

I am creating a site that includes many products, of each of those products I could have up to 10 images.
What I need to do is this:
1: Image #1 - loaded (large)
2: Create thumbnails of each of the uploaded images
3: Place thumbnails under large image
4: When user clicks on a thumbnail it will replace the large image with the one selected
To change images dynamically without a page refresh will require some javascript. I would recommend using jQuery as it's a quasi-standard, ships with Drupal 6 and is very easy to use.
On each of the thumbnails you would add an onClick even that would update the src attribute of the large image. The browser will take care of pulling in the new large image for you.
The followng jQuery-based function will update an img tag with id "large" to use newPath to replace its current src value:
function updateLarge( newPath ) {
$("#large").attr("src", newPath);
}
Also, if you are creating an eCommerce site you should consider using something like Ubercart. You can use CCK to add fields to Ubercart products as per FlorianH's solution, but you also get things like a shopping cart and checkout for free.
I know that it is quite a learning curve at the beginning, but I think you should really check out CCK and views. You have to invest some time, but it is well worth it.
In your particular case, you should probably add an imagefield to your product, add imagecache rules to resize them and create a specialized view for you product that displays the images as you described.

Sharepoint services image hyperlink

I am using Sharepoint service to create a webpage. I have an image - the logo on the top-right of the homepage - and am wanting to put a hyperlink so when it is pressed it takes you to another site. How would I do that please?
UPDATE
Next time I'll read the question more carefully. I mixed up right with left and thought he want to change the logo in the top left next to the site's title.
The question is, should the link point always to the same target and should the logo be always the same one or will the link target and logo differ from site to site?
If it should be always the same logo then editing the master page would be the easiest solution.
For different link targets and logos you have to plan a little bit more. First you'll need a place where you could store the link target. I think the SPWeb's PropertyBag would be a good place therefore. Furthermore you need a place to store the you logo. In this case a library on the new site will do the job.
Finally I would implement a control that creates the HTML to display the logo with a link. The control retrieves the logo (logo's url) from the library and the link target form the actual site's PropertyBag. So the last step would be to replace the old logo control with your new one.

Resources