Where is the 'Edit Review' template located in Magento admin? - magento-1.5

I want to add an extra field in 'edit review' in Magento admin. Where is the 'Edit Review' template located in Magento (path of the file)? or which file does the editing of reviews in Magento admin?

The block class that handles this is called Mage_Adminhtml_Block_Review_Edit_Form. You'll resolve its location from the class name.

I believe the example code you are looking for can be found here:
/app/code/core/Mage/Adminhtml/Block/Review/Edit/Form.php
Assuming, of course, that you have a default installation.

Related

How to get shareable links for edit and view on the subfolder in Google drive?

I am in the situation, where I want to provide a link (obtained via Share option) to view all the project (i.e. folder structure with files inside). This is working without any problem. Now, I want to also provide a link to edit the particular subfolder. Again, I got link and through it I can edit files inside the subfolder. But the problem is that if I use 1st link (the view one) I am able to edit the subfolder even though I do not have permissions to do that (I suppose permissions are given by the 2nd link).
root folder (view link)
subfolder 1 (edit link; can edit with the view link)
file 1
file 2
subfolder 2
file 3
file 4
Is it a feature or I am doing something wrong?
Thank you,
Jirka
I think you want to use the "Share..." pop-up menu option, not the "Get sharable link" option; on the next dialog click on "advanced":
So I have found an answer here https://productforums.google.com/forum/#!topic/docs/fpxbFbxj2SQ.
According to that post it is not possible to have multiple share links with different permissions. The only option is to use email addresses.

Sharepoint Designer 2013 run workflow on folder in top level of document library

I am trying to create a (2013) workflow in Sharepoint Designer that will set a field (sharepoint column) to the value: 1.
I am trying to have it run only when a new item is created in the root folder. So when a new folder is created at the top level of the document library. And specifically a folder.
I found that folders in Sharepoint don't have a content type - so I added the following If statement to the workflow to deal with that:
If current item content type is empty...
But now I would like to add a condition that says something like
If the current item is created in the top level or root folder or...whatever
I see one of the fields you can select is: "level" - (see attached image). Is that maybe what I'm looking for? Does anyone else know a better solution?
Thanks a lot
Sylvie
I think I might have just answered my own question! I have to make it a Sharepoint 2010 workflow, not a 2013 So I can use the condition: "If Current item: Document Parent Identifier equals (the string for that root folder)" then run the workflow. I guess this field just doesn't exist in SP Designer 2013 workflows.
I had exactly the same issue and I needed to use the SharePoint 2013 workflow. It is also possible by checking the Encoded Absolute URL of the created item. It has to be directly in the root of your list and the URL will contain no extensions, since it is a folder.
Here is the code i had used:
Set Variable: ItemName_UrlStyle to [%Current Item:Name%]
Replace with %20 in [%Variable: ItemName_UrlStyle%] (Output to Variable: ItemName_UrlStyle )
If Current Item:Encoded Absolute URL equals https://abb.sharepoint.com/sites/SiteName/ListName/[%Variable:ItemName_UrlStyle%]
Maybe this will be helpful for somebody.

Where can I find (Path in the bundle) the User create/edit screen source?

I am just trying to find the front end source code for user creation and edit pages. But I tried search by different label text and ID's but no use. Can anyone please tell me the path for user add and edit page source files.
As you can see, the URL is something like:
http://localhost:8080/group/control_panel/manage?p_p_id=125&p_p_lifecycle=0&p_p_state=normal&p_p_mode=view&refererPlid=15595&_125_redirect=%2Fgroup%2Fcontrol_panel%3FrefererPlid%3D15595&_125_struts_action=%2Fusers_admin%2Fedit_user
Searching in struts configurations you can see that struts_action=/users_admin/edit_user should refer to jsp file edit_user.jsp
That file is located in users_admin... so the path you are seeking should be html/portlet/users_admin inside portal-web project.
This is on GitHub.

Change SharePoint Library URL

How do you change the URI of a SharePoint library? Based on Google searching, most people say that changing the name of a library in Designer (via right click->rename) will result in the URI change, but it is only changing the name for me.
I am using SharePoint 2010 Foundation and these are the steps I am following:
In Designer, navigate to List and Libraries
Right click library -> rename
Notice that name changes
Notice that URI does not change
This is one of the resources I found claiming that this works:
change URL spelling/case on sharepoint library
In SharePoint Designer just navigate to All Files navigation node (not List and Libraries node), find your document library there -> right-click library -> rename.
The URI would change then.
Edit:
At least at SharePoint 2010 it is possible to change library URL, without using SharePoint Designer.
Just go to a library trough 'All Site Content'. When inside the library choose on the ribbon 'Library' tab. Then select 'Open with Explorer'. That will open your SharePoint's library in Windows Explorer window. Navigate one folder up and you will see list of your libraries as folders. Rename required library's folder name as you want the URL to look like.
SOLUTION:
Thank you! I found the suggested SharePoint Designer solution above to work beautifully!
Here are the steps that I took:
Follow the instructions above by opening the List in SharePoint Designer, selecting All Files under the navigation node (near the bottom)
A bunch of folders appeared - I selected the folder named 'Lists'.
From here, it will show the list names and the display names. Change the actual name of the list (first column) by right-clicking on it, rename. This will update the url. You may wish to match this to your display name.
When you return to your site, the navigation link for the list may still go to the old URL. To update this, enter in the new url in your browser, go to List Settings > Title, Description and Navigation. Simply hit the save button without making any changes. The navigation link is now updated.
Please note: If you are updating list urls and names of a project site (from Project Server), do not rename the Risks, Issues lists. These must remain for Project Server to function properly.
Thanks for this solution. I only have Designer permissions but was still able to change a List URL within the browser (not Sharepoint Designer, and must be IE to have Open in Explorer enabled). Steps:
Go to Site Contents and open a Document Library in the site
Click on Library ribbon tab and select Open In Explorer option
Click up one level in the directory structure - there should be a
Dir called 'Lists' - open
Your List should be there to right click and rename.
I was surprised that the system let me do this (it didn't let me delete a document in the same DL that I need to get rid of), but after testing for some time the URL change seems to have held.
Finally - you might have to re-Resolve some views and overlays, as these might not automatically cascade with the new List location.
Cheers,
Ross
I have changed the library URL from SharePoint Designer 2010, in the "Site Object" section --> "All files" option. Then I selected the right library in left pane and press F2 (to change name, like in windows) and worked for me. I hope that helps someone.
You cannot change Document Library URL , only name.
If you want to have a new URL :
Create a new document library with good URL
Batch import all docs from old to new document library
warning :
all new imported doc will be flagged with username used in the import process
all datetime fields will be reinitialized
I don't have Sharepoint Developper installed and can't install it.
I needed to change the address of a List and not a library, so the "Open in Explorer" doesn't work for me (only get "Open in Access" and "Open in Project").
I managed to do it by opening Explorer by myself and paste the URL "http://MyServer/MySite/" (can be also "http://MyServer/MySite/MyPage/").
I got the "All Files" you get through Sharepoint Designer.
In my case I had to go to "Lists" and change the name of the folder for the list I wanted to change the name.
Next I had to change the name of the list from the "List properties" (to change back the visible name of the list)
I am only a Site Collection Administrator for a SharePoint online platform. The powershell and sharepoint designer usage are not within my access so the only option I have is the "Open in Explorer". I tried the steps seen online but didn't get the result. When I saw ragmaxone's step, I got an idea. Then I took the following steps:
I copied my url without the document library eg "http://MyServer/MySite/MyDocLib/ is the URL of the document library but I copied "http://MyServer/MySite/ instead.
Next I opened the document library in classic SPOnline because I use modern SPonline.
Then I replaced the pathway address with the copied URL and saw all my document libraries as folders.
With right clicking on the document library of interest, and renaming like is done in windows, I went back to my document library and saw page not found.(Don't worry! Something had changed already).
Then I went to the homepage of the platformand navigated to the document library in question to see that it has been renamed and the URL also corresponds to the new name.
Thanks for all your answers and help.
In Designer go to "All Files" -> then search for "List" folder ther you can find your List right click it rename it and boom.
By going to Lists and Libraries tab from left menu will only change the title of list. So go to All files and follow the steps.

Changing Discussion Folder Names in SharePoint 2010

Is there a way to change the name of a folder within the discussion area of SharePoint 2010? The folder by default is given the name of the discsussion name when it is created, however, if you then change the discussion name, it does not (quite rightly) automatically update the folder name - I would like to though.
Just had a go there, I was able to rename it using SharePoint designer (use the All Files link on the left).
However if you need to do it automatically then you'll have to build an List Item Event Handler, and update the folder name using the API using the ListItemUpdated Event.
Shane

Resources