How to find which block displays content? - block

I have to modify a website made by someone else with PrestaShop. I'm just learning how to use that thing...
There is a block displayed on the front page that I can't identify, precisely the one I have to modify (duh!). Is there a simple way to know which one it is and what .tpl I have to open in order to change the code?

Related

Odoo - redirect to external link without modifying source code

A friend of mine has an Odoo website linked to many other functionalities but that I don't think are relevant for the case. His problem is that he would like to change the URL of one of the button on its website to an external link. I looked around and can only see developper's solution and his eternal dev deprioritized it so he is a stuck. I looked around and saw the possibility to maybe change things on the website builder, what I did sequentially:
activated developer mode
went to "Website"
Clicked "Modify" (or maybe "Edit" with the English settings) at the top right corner
clicked on the button he wants to change the redirect link of
a modal appears and then asks me for relative URL only
Is there any way, without going into the code, to make this modal accept absolute URL instead of relative ones
Thanks

MS Office Word macro, play sound upon scrolling through certain pages

I've already got the useful tip of how to play an external audio file.
And now I'm struggling of how to use it upon reaching a certain page.
I've managed to find that I have to add the stuff below to obtain a list of events I can use:
Public WithEvents App As Word.Application
And I got a plenty of the events:
App events
But no one from them seems corresponding to what I need.
1)Find out a certain event I can use, to track any action which might change currently viewed page(mouse scroll, arrows, page up/down, mouse move with selection, or any of others..) and then paste a checking function into.
2)The checking function supposed to obtain number of current page within the document(or it's equivalent) and if we are at a certain page play corresponding sound.
There are 2 main problems I've struggled with, but got no good idea.
I also aware that we can use ActiveX object and insert an audio file into the document, it allows to even not keep the file somewhere, but embeed it into the doc.
However here I even have no idea of how to trigger playing of the file through VBA.
But if somebody can advise about it would be perfect because it even more handy, in terms of maintenance(no need to keep external audio files).
Any help is appreciated.
If you know that it's impossible in general, please also let me know, so I can close the topic.

How to customize auto completing list in intellij?

I am intellij user. I am not sure this post is fits to stackoverflow or super user.
Recently, I am working on a project with customized language, which developed by co-workers. It is customized HTML.
However I want to add some words to suggestion list. i.e when I make a div, then I want to find lang attribute on auto suggestion list.
If you know how to customize auto completing suggestion, please reply!
Thanks in advanced!
//############ Edit ##################
I found it! when you type div and waiting, a bulb pop up appears.
There is where users can add custom suggestions.
However, I want to know where to store all this suggestions.
(So I can add several keywords at once!)

How to let users add settings to My.Settings

I actually have two questions here. First one is exactly what the title says. Example: I want users to be able to add a setting into My.Settings from the application. I want them to be able to add an unlimited amount and I want the scope to be set to user and the type set to string. I don't want them to be able to change the scope or type, only the "Title" and "Value". What I need this for is so users can make a setting so if they type "sof" into the URL bar of a VB.net browser it will go to "stackoverflow.com" of course I want them to be able to change the shortcut and the site and add new ones. I also want them to be able to view a list of all of them and edit or delete the ones on the list.
Second question is how do I make the code search through all of my settings and see if any of them are titled what the person put into the URL bar and if there is get the value of it and navigate too it.
I know this is a lot to ask, and I am not asking for someone to do it for me, I am asking someone what procedure would I follow to do this. If there is already a tutorial or an answer to this please link me to it. If you have the time please answer.
Actually, not to make Douglas look bad, but you can easily do what you want with the user settings. See this My.Settings page from MS. What you will want is the "System.Collections.Specialized.StringCollection" setting type. The link I gave you shows you how to read, change, and save the data. It also shows you how to make a simple UI for the user to be able to change them, if you want.
As for the second part, also easy using LINQ. This is not exactly what you want but it is close and has a lot of good examples.

Receiving a form from a php page

I have a scenario that I am stuck with for a day now. There is this PHP website that I am trying to extract some data from. So I go to the website and there is this form that I can fill and when I click "submit" it takes me to another page where it has a table with all the information that I want.
I took that link and tried to parse the HTML but there was no table. And I checked that link from another computer and it was not loading up the table.
So I'm not sure what I should do here in order to get to that table? Do I have to do some sort of http request of some sort? If so How can it be done in vb.net ?
cheers
It sounds like you're having some basic difficulty with this. Depending on your browser try right clicking the 'table' page and 'View Source'. Save the HTML to a local file and open it using Visual Studio, Notepad++, or any other HTML editor.
Whta looks like a table when displayed in the browser may be encoded as a table, a div, or even a list with some clever formatting. Parsing each of those is a diferent task. without seeing the page I think that nobody will be able to help you much further.