I'm trying to add some id to the span where in bundle product Magento shows all the bundled products.
see snapshot
So I would like to change input id from bundle-option-x-qty-input to bundle-produkt-sku or something like this.
I need to have a static id for added products. Now id is dynamically changed by adding a next number bundle-option-1-qty-input, bundle-option-2-qty-input, etc.
I need to know the id of those products cos I want to made some JavaScript code to control amount of this product. Anyone know where is a template file edit or where do I need to add some code?
Sorry for my English.
The best way to debug template path is by using Magento Template Path Hints
Go to System -> Configuration In the top left there is a box named “Current Configuration Scope: “ which has a drop down. From that drop down, choose your store view name. By default it is last option in the drop down i.e Default Store View option. After this go to Advanced -> Developer->Debug And here make Template Path Hints = Yes
See
Mage_Catalog_Block_Product_View_Options_Type_*
/app/code/core/Mage/Catalog/Block/Product/View/Options/Type/Select.php
Related
I am using Moodle 3.8, I added a custom field called razon_social, I just want to show it in the profile edit page, in the optional section.
Custom field added in mdl_user
Section where I want to show my custom field
Does anyone know in which file in .php, do I have to call my custom field?
Thank you very much for your time
I want to do this, I have Moodle 3.8
enter image description here
Adding a custom field to the mdl_user table (or any other core table) is a really bad idea. There are all sorts of ways it can conflict with the core code (particularly for tables which Moodle uses with "persistent" classes, but still a problem in other situations).
Thankfully, Moodle already has a build in custom user field system (using the tables mdl_user_info_field and mdl_user_info_data) and fields defined this way automatically appear on the user profile page (unless you mark them as hidden).
It should be fairly easy to write a script that will transfer the data from the mdl_user field you created, into a custom user field. After that, you can drop the extra field you added.
i want to edit an existing Typo3 Backend configuration page.
I want to edit a configuration page like this here:
Where can i edit the extensions backend?
To be more clear: where can i change the edit page that an editor can use to change content.
Can someone give me a hint to the right directory or file in generall?
I'm using Typo3-7.6
Thanks
Sorry, can't manage to put all questions in an unformatted comment.
there are a lot of questions, as you are not clear what you want. Maybe that is a problem of the correct words, the vocabluary, but in TYPO3 we have some fix terms for specific object. And I think you do not handle these terms according to the TYPO3 community.
let's define some terms:
first the concept of TYPO3:
all data is stored in record of differnt database tables. All records are organized with some fields and teh main field is uid, the unique ID.
the main table is pages according to the folders of your disk. those folders can contain other records (like files). (nearly) each record in TYPO3 has a relation to a pagesrecord ina field named pid. even pagesrecords have this field and so they build a tree of pages and subpages.
There is one special page, which is no real page: the page with the ' uid' zero. As there is no real pagesrecord with the uidzero, there are other records with are stored in that page by having a pid zero. for example the start of your page tree is anchored in page zero, or global records like languages, user, storages.
Aside of being the anchor to other records, the pagesrecords have information themself. (page name, kind of page, a teaser image, SEO-information, visibility, accessibility, ...)
your screenshot looks like a content record (normaly in the table tt_content), in the lower right corner there you can see the table name and the uidthe the currently edited record.
'Backend': with backend we name the view to the data where an editor can change the content of the website. The real website is the frontend. This can be seen by everyone without the need to login in the backend (you might have access-restriccted areas of your website which need a login, but that still is 'frontend' as there is no option to edit content.
in the backend the editor might be restricted what he can access and what he can modify. An adminuser has no restriction (up until version 9 where the role of a maintainer occured to manage more general and basic options)
so we have not a single 'backend configuration page' but multiple places where we could configure special aspects of the website.
also there is no special 'extension backend'. we have global extension configuration and records belonging to an extension. (And an extension can enhance existing records with additional fields.)
Please be more specific what you want to change
I am trying to find a way in Azure DevOps of displaying a field on a User Story layout that is made up of a URL plus the value of another field on the same story.
We have an external support ticket system where all of our support calls are logged. When the story (or even Defect) is created, we have a field where a support reference is entered.
I want another field that combines a URL and the support reference so it creates a link to the support ticket.
Is this do-able?
Thanks,
Craig
This is achievable. You can Add a custom field to a work item type for an inherited process.
1,First you need to create a inherited process.
Go to Organization settings, From the Process page under Boards, open the … context menu of the process you'll use to create an inherited process, and then choose Create inherited process. Choose the same system process—Agile, Basic, Scrum, or CMMI—that was used to create the project that you want to customize.
2, Add a custom field to an existing work item type for the inherited process.
From the Process page of the selected inherited process, choose the work item type(User Story) you want to add the custom field to.
Select the work item type and click new field or ... to add a field under a group.
For example i add a new field Support Url under group Planning(click Options to define a default value for this field).
3, Apply the customized process to your project.
Click team projects of the process shown as below screenshot.
Open the … context menu for the process and choose the Change team projects… option.
Then you will have the custom field with default value for the work item type in your project.
For detailed steps please check Microsoft Document there.
Update:
Field value made up of a static part, plus another field
There is no direct way or any tool i can find to achieve this. However there is a complicate workaround to achieve this.
You can try creating a service server to to combine the field values and update the workitem field with workitem update rest api, and add a service hook to this service server.
You can refer to the service hook sever provided by Microsoft. Check reate a pull request status server with Node.js
I've just started in FM 14. I have a client table and a project table. When I look at a client entry I have a portal that shows me the titles of the projects they have commissioned. I'd like to be able to click on one of the projects in that portal list and be taken to the layout that contains all of the other fields in that project record. Can this be done? Is this enough information?
Yes. Set the button action as a script step "Go to Related Record". In this script step, set the table as "projects" and select the layout you would like to go.
I would stay away from GoToRelatedRecord. I usually just grab the ID from the item in the portal, then search for that item on a new layout, then do whatever I planned on doing. It's safer. With GoToRelatedRecord you can never really control what happens.
Another Umbraco question, apologies.
I've created a new template in the Master templates list, but this template doesn't show up in the Templates drop down list on content pages.
I'm wondering if there's something I've missed, or if there's a way to publish this which isn't immediately obvious.
Any help appreciated.
You need to select the template as an allowed template type for the Document Type of your pages. Lets say you're page Document Type is called "ContentPage" and you've added a new template called "NewTemplate".
By default you won't be able to select the new template when editing your "ContentPage" pages. You'll need to go into "Settings" in Umbraco, and then expand the "Document Types" folder. You'll see a list of all of the Document Types, select the one you want to use the template on ("ContentPage" in this example).
The first tab that you'll see is the "Info" tab. There's a checkbox list called "Allowed Templates" that you need to select your new template in. Save the Document Type and go back into the Content. You should now be able to select "NewTemplate" as a template on your "ContentPage" pages on the site!
I hesitate to engage in thread necromancy, but because this is the first Google result and things appear to have changed in 7.4.3 (the first version of Umbraco I've ever experienced), I'd like to share the process I use to add templates to document types.
Go to "Settings".
Expand "Document Types" and select the document type to which you'd like to apply the template.
Click "Templates" in the top right of the page.
Click "Choose extra template".
Select the template you wish to allow and click "Close".
Click "Save".
Go to "Content".
You should now be able to create new content under the document type you selected with the template you specified.
I hope that helps to save another new Umbraco dev some head-scratching.