I've added some database tables to prestashop 1.5.3 which contain additional product data. Now I'd like to modify the search-alorithm from prestashop to include those tables.
I had guessed that the corresponding code would be found in classes/search.php, but modifing this code does not change anything. I even deleted the whole file and the search function kept working.
Can anybody please point me in the right direction and tell me where I can find prestashops search-code.
Searching code is really in /classes/Search.php. I cannot see why search is still working with this file empty...
Please don't modify core files, you'd rather add your logic in the overriden one :
/override/classes/Search.php
Related
I have the following issue.
In the past, we have added some fields to transaction IH09.
However last year we migrated to HANA and a lot of programs were updated in the process including the program RIMARA20, which is the program behind IH09.
IH09 has worked fine with the added fields were seen.
Last week I was asked to add another field and I did it however although the field catalog has the new field, it is not shown in the output of IH09.
I have debugged the code countless times trying to figure out what is going on but I don't know what happens.
This program internally uses the function REUSE_ALV_GRID_DISPLAY.
We still have the former SAP environment and I tried to make exactly the same enhancement with this new field and I can see it as expected.
In other words; the same field, the same data element, and the same enhancement in both environments but in the HANA instance I cannot see it.
I'm truly frustrated because I see the new field in the field catalog but I can't make it visible in the report.
Any advice on this issue?
Sounds like the REUSE_ALV_GRID_DISPLAY has "remembered" the old catalog
Did you try
to reset the layout / add the missing field?
I want to know who (Windows username)created and who have modified a particular qlikview file. I have checked the xml files created from the qvw file using the -prj method, but there is nothing related to that. There is also a file with .dat extension which might have storing this information. Can anyone help me in reading that dat file.
A better way of doing this in the future is to implement a source control system, you are out of luck with Qlikview as it does not capture this information.
The author and/or last changed user name is not part of the default
metadata inserted into the document. So unless something similar to
the suggestions above was already in the document, there will be no
way of determining who was responsible.
Source
A better place to look is your windows environment and see if the information is held in a back-up.
When working with Optimize SEO for the website I have constructed in Odoo 9, I declared a keyword that seems to be too long, or something is wrong with it because I don't have the option to removed it (delete it) from the list of keywords.
All Odoo got blocked after declaring that keyword, and now I cannot see my menu in odoo, only the website.
I tried to backup the data base, but the command is not executed, it just returns to the same page, without doing anything.
The errors I've got can find out enclosed picture.
Hope someone came across this kind of issue and can help me with some tips.
Thank you in advance!
enter image description here
As par my opinion menu will not display because of all CSS will not Loaded properly. You can may be solved it by delete all attachments if is has not that much important.
First of restore database in new database and perform following query in database.
delete from ir_attachment;
I hope this will work for you.
Thanks.
We have custom content types that were created as extensions of the ATTypes, two of them extend the ATFile type and one extends the ATImage type. We recently upgraded from Plone 4.2 to Plone 4.3.2. Just discovered we are not using Blob storage at all. No wonder our Data.fs is HUGE. So, I have been trying to migrate these custom types.
I have followed all of the steps explained in this example and the product's notes from pypi, these Plone instructions, and used the example from the pypi page for archetypes.schemaextender (Sorry, since I'm still a noob my reputation won't let me post more than 2 links).
In the end, I created an extender script that just extends the ATFile type changing the FileField to BlobField. It seems to be working for new items. I can add a new CustomFileType and it appears to be uploading the file to blob, and my new upload field is showing (I changed the description as a quick way to verify which one it was using).
However, I am having a problem migrating all existing content items to move the binary files over to blob. I tried the generic migrate() script, then I created my own migrate and walker as suggested in the above resources. It doesn't seem like it is doing anything though. When printing results for each item it tries merging, I do see this returned for each item:
DEBUG ATCT.migration Migrating /site/path/to/custom/file/filename.ext (CustomFile -> Blob)
When I navigate to the custom file type in the site, where it usually shows the link to the file, it is just empty. Then going to edit, it treats it as if there is no file there. As a check, I disabled the extender, restarted, and reloaded the custom file. The file was there now. So it looks like the script I am running just isn't moving that file over to where it should be now.
I feel like I am missing something simple, and it is right there, but I can't seem to find it. All of this is learn as I go and a bit over my head, so hopefully someone can easily set me straight.
If I need to provide any additional information leave a comment and I will try to provide what you need.
UPDATE
I used the Red Turtle objects as examples to migrate my custom types as suggested by keul. I still was not able to get the file to migrate to blob within the type itself. So, I tried a different approach. I created a new custom type "CustomBlob", that is a mimic setup of my CustomFile type, and only extended this new blob type to be blob aware. Then I migrated the CustomFiles to CustomBlob, did a complete clear and rebuild, and packed the zeo. The migration seemed to work for the most part, the blobstorage grew by an expected amount, the new types worked. However, the Data.fs didn't go down in size. I would have thought that the binary files that were stored in Data.fs would be removed during the migration. Am I understanding this incorrectly? How can I remove these files so the Data.fs size goes down appropriately?
Not sure if this is the best solution, but here is how I was able to get this to work.
I created temporary content types parallel of each type (for CustomImage I made CustomImageBlob, and so on). I made the new types blob-aware only, migrated all types to their parallel. Then I enabled the extender for the original types to make them blob-aware, and migrated back. It is a little redundant and time consuming, but I just could not get the files to migrate to blob when migrating to itself.
Providing this as the best answer so far in case it helps someone else, or might encourage someone to find a better solution. Thanks for the tip keul, it definitely helped me get to this solution.
I am having a hell of a time sharing a datasource across two GWT modules. Is there some trick I am missing?
I have tried about everything. I would post something, but not sure it would help as I have changed it so much. Any guidance/tutorial on how a datasource can be shared between two GWT modules?
Here is the issue I have. One module will add data to the source, that source goes into an HSQLDB for persistence. This works fine. However the second module never picks up the data added. If I try to show the data from the first module, I get no problems.
I am using "DataSource.get("DS_Name")" in both modules.
In each HTML I added this line: "[script src="FirstModuleName/sc/DataSourceLoader?dataSource=DS_Name"][/script]"
Any thoughts?
Since this is SmartGWT, in the html for your second module, make sure that the isomorphicDir="FirstModuleName/sc". That should give it the correct path to the dataSourceLoader