Modify PrestaShop Home page - prestashop-1.6

I have a prestashop page www.oledia.fr I want to modify the size of the logo, actually when I use web tool through Firefox; I can locate the html code , but i make a search in all the server I cannot find the proper files; and also I go through all the site theme and modules; i cannot find where to modify the size of the picture

Look in your theme file => header.tpl
Else
In your backoffice, theme, upload new logo.
Regards

Related

How to change favicon of moodle?

I'm running moodle using docker and I'm trying to change the favicon of the site. Does anyone knows an answer for this issue?
In most, but not all, Moodle 2.x.x themes have custom settings pages, which you will find in the links listed under Settings > Site Administration > Appearance > Themes > ... Listed at this point you will see a list of Theme names, including Formal White. If you CLICK this link you will find the Custom Settings page associated with this theme. It is in this settings page that you can add your logo. All the instructions on how to do this are on that page.
I hope this helps in the Moodle maze or theme development.

Navigate between pages in Electron app

In an Electron application, what is the standard way to navigate to different pages / locations when a link is clicked?
I tried creating
<a href="/profile.html>profile</a>
and an HTML file named profile.html, but clicking the link just takes my app to a blank page.
What is actually happening when the link is clicked & what is the right way to do basic links?
Just use a relative link - this will work (note no slash at the beginning):
profile
This is because Electron uses local file:// URLs which map to your file system. If you link to /profile.html that will be looking for the file in the root of your drive, and you probably want it to be loading the file from the same directory instead.
Also if you put the profile.html in a directory called pages you could access it like this:
profile
Electron is designed to work best as a single-page application.
Clicking a link shouldn't load a new page but should manipulate the DOM to changes the contents on the same page.
If you use jquery you could use Tabs to swap between content https://jqueryui.com/tabs/
<a href="./profile.html>profile</a>
use ./{filename} to access the file in the same directory

Fine control over Joomla URLs

I would like to convert my existing website to Joomla. However, I need finer control over URLs than I seem to be able to control with Joomla. Assuming that Joomla is installed in the base public_html directory of my user, I would like these pages to keep their URLs:
http://dotancohen.com/howto/rtl_right_to_left.html
http://dotancohen.com/eng/genealogy.php
http://dotancohen.com/heb/contact_info.html
I am aware that I could use a 301 redirect via .htaccess however I would prefer to actually configure the canonical URL of the page. Is this possible in Joomla or with an extension?
Unquestionably, the defacto standard extension is At http://extensions.joomla.org/extensions/site-management/sef/10134. It's highly configurable, well supported, and ver well rated.
In Joomla! 2.5 you can use the built-in Redirect component to catch old URLs and send them to the right content without fiddling with the .htaccess.
You can also create menu's and menu items that will match the old paths then all you need is to place the content of your .html files into suitable articles. Remember you can create a menu (and thus a path to the content) but not display the menu anywhere on the site.
The genealogy.php appears to be a separate application so you can approach that by doing two things, first have a /eng/ directory on your new website with the genealogy.php application in it that way it will have the same URL. Then if you want to create a menu item in a Joomla! menu then you can link to it using a menu item of type 'External Link' - you can read more about the menu types by clicking on the help button in the toolbar.
[EDIT]
For external pages if you want to wrap the external application in your template use a menu item type of Iframe Wrapper this will place them in the main component area of the template. With a good Joomla! 2.5 template you can use a template style specific (i.e. layout settings) for that page.

How can I find where actually is the theme file?

I am new to Symfony and I need to work to a large project with many themes to modify them. How can I find where actually is the theme file in which module, just looking at the HTML browser output? Or do I need to look somewhere else, routing for example?
What you want to do is use the Web Debug Toolbar.
Once you have that running on the page, using appname_dev.php, simple click the view link and it will show you which templates have been used. If you need to know which layout to use then use logs link, click none the sfPHPView.

joomla css for menus and fonts

if any of you use joomla, could you help me locate the proper code to change for font size, globally, in the ja-purity template. I also need to adjust the top menu bar width, and the length of each individual menu item in the top bar. Thank you for assisting me locate this code.
For any properly coded Joomla template (which JA Purity is of course) you will find the CSS files in JOOMLA/templates/template name/css. In this case, there are 4 CSS files for JA Purity. Also keep in mind that some of the template is controlled by the template parameters that can be accessed in the admin my clicking on Template Manager > Ja Purity.
I find the best way to tweak the css in a Joomla template is to use Firefox with the firebug . Goes something like this.
Install Joomla / Template.
Open frontend in Firefox with firebug enabled.
Use firebug to inspect the component you want to tweak.
The CSS classes will be displayed on the right. You can edit the css right there in firebug or use it's handy file / line number links to locate where the css class is defined.

Resources