I am adding products in newly created subcategory. However I am getting an error "The value specified in the URL Key field would generate a URL that already exists." for all the products, after saving that category. Please help me in this.
try to change the URL of your product make it different URL
Related
I'm trying to find the URL directly to categories - I use Megamenu but I've tried everything I can find but keep getting 404 errors
For this example let's assume im trying to get the link to 'Furniture' category which contains active products, the direct link to the product works fine using domain.com/my-main-product.html
I've tried
http://example.com/furniture
http://example.com/catalog/furniture
http://example.com/catalog/category/view/id/143
Can anyone recommend how I can find them please - my layout currently is:
Default Category
Furniture
Test Category
All I get is 'Page doesnt exist' (404)
Any help would be greatly appreciated
Please check the following path.
{select category}--> search engine optimization-->url key.
You can see the URL there. When you visit you should append .html to the URL. For example, if the value is furniture your URL should be like this
http://example.com/furniture.html
or
http://example.com/index.php/furniture.html (if mod_rewrite is not enabled)
I'm learning by myself to use AEM, I'm using metadata for building my own forms for assets.
I need to extract the assets' metadata, and print them on my page, I'm new in AEM and i don't know how to do it. I'm thinking about create a component by I don't know what i sholud write inside
I had worked on a similar use case, so I am assuming this can help you.
Usecase : An asset is displayed in page and it will have link MetadataInfo. Once I click on the MetadataInfo link, it will re-direct to metadatainfo page which will display all the metadata information of the asset.
Solution :
Once the link is clicked it redirects to url of the metadatinfo page appended with parameter "assetpath" containing the asseturl.
Created a servlet which will get the parameter "path" containig the asseturl as string and convert it to a resource. Will resolve it to resource till the metadata node of the asset.("asseturl"/jcr:content/metadata)
By Value map got all the properties of metadata and created hashmap storing all the metadata properties as Key:Value pair
Create a Metadatainfo component which is placed in Metadatinfo page. This component dispalys the metadata values as Key:Value by data-sly list.
I want to upload course using upload courses menu.
and i want to import the id with the other fields.
I tried "id","shortname","fullname","category" as a filed on the csv.But it uses incremented id instead.
Oh and i want the same thing for user too.
That cannot be done - all ids in Moodle are automatically generated, in order to make sure they always uniquely identify the item (course, user, etc).
Instead of trying to identify the course by id, you should look at identifying it by shortname or idnumber.
I'm building a website for a franchise organization that has many franchisees. Each franchisee claims it's own part of the site represented within the path - for example the main site url is bigcompany.com and the the Atlanta store url will be bigcompany.com/atlanta. When trying to place the like button on the page it works when given the main organization's app id, but shows nothing when given the franchise app id.
I've tried using the url debugger on facebook (https://developers.facebook.com/tools/debug/) and the error that I receive is
Object Invalid Value: Object at URL 'http://bigcompany.com/atlanta' of `type 'website' is invalid because the given value '12345678901' for property 'fb:admins' could not be parsed as type 'fbid'.`
I'm not sure what that means and haven't found a suitable answer so far.
Why is the like button not showing? Thanks
I developed an app that looks for specific terms using the facebook api (search).
Every result comes with an ID for the item that can be of many types like "status","photos",etc.
I remember that some time ago I could surf facebook and get this URLs from the browser address bar, but now with some updates that facebook has made it seems to be all AJAX based calls and it seems like you do not have a "specific page" for each item.
I looked over the web and could not find anything regarding this.
Is there any way I can get a "photo id" from the API and open it like "http://facebook.com/photos/0293820293842"?
Thanks for any clue.
https://graph.facebook.com/{id}/picture
https://graph.facebook.com/40796308305/picture (by page id)
https://graph.facebook.com/cocacola/picture (by page's name)
https://graph.facebook.com/4/picture (by user id)
https://graph.facebook.com/4/zuck (by user name)
after some time I just gave up trying to get the picture from the data provided by the search API.
From the api I get entries of type "photo" but they do not match with the API documentation found at http://developers.facebook.com/docs/reference/api/photo/ since I do not receive the fields "picture", "source" or "images" (they just does not exist in the results from a search)
Looking to find a way to use the approach of "setting up the URL from the fields received from the API" I could not get any sucess either.
That's one case... I set up a search for "pepsi"... and within the results I got a "photo" object.
In this object I have the following fields:
id: 100002307882828_188072634633218
author\id: 100002307882828
link : "http://www.facebook.com/photo.php?fbid=320417371337648&set=a.133681116677942.17717.131381520241235&type=1" (this link really points to the photo's page, but is not the photo itself)
object_id: 320417371337648
I used the URL you provided as a "base" and tried to setup some combination that returns me a photo but I always get "Content not found" as result.
The only way I could find the final photo URL is to make another call to the API using the Photo Id as parameter (but I would need to do a lot of calls to the API and this just do not fit my scenario)
If I call https://graph.facebook.com/320417371337648 I get everything I need from the photo, but this is the "another call" I would need to perform for each result I get.
Thanks a lot for your help,
Regards,
Victor Reboucas