Questions for site

jonathasmello's picture
jonathasmello
Mon, 02/22/2016 - 18:55
#1
Questions for site

Hi!

I'm advancing in the site construction but there are still some issues:

1 - I want to delete the social icons in the bottom, but it is not possible

2 - I wanted to add the language switch (or only the "English version" and "French version") as links in the menu - or do you suggest any other better placement for your template?

3 - When I translate "trainers" in the homepage, it shows both english and french contents. The backend shows as translation but not the frontend

4 - Initially I wanted to have the "more links" as a simple grid of blocks of image+title linking to an external URL, how can I make it?

5 - In the blog posts I want to add an space between the title and youtube video but could not change it via css (http://proj.tmitapp.com/stage/taxonomy/term/4) wanted also to reduce the blank space between posts over the title

Looking forward to your help!

Cheers!

http://proj.tmitapp.com/stage/

phuonght's picture
phuonght
Wed, 02/24/2016 - 22:17

1 - Open file sites\all\modules\custom\md_magnum_module\md_magnum_module.module

Line 456, delete

if(theme_get_setting('social_acc')) {
$social_acc = theme_get_setting('social_acc');
if($social_acc != null) {
foreach ($social_acc as $key => $value) {
$scid = substr($key,18);
$sc_icon_value = $social_acc[$key]['social_icon'];
$block['content'] .= '<a href="'.$social_acc[$key]['social_link'].'" target="_blank"><i class="'.$sc_icon_value['icon'].' icon outline light"></i></a>';
}
}
}

2 - You can set "Switch language" button at block icon footer if you remove it. 

3 - Please look at following image:

Image title

You can translate view there. 

4 - Open file sites\all\themes\md_magnum\template\views\work\views-view--work--attachment.tpl.php

Line 44, replace

 <h1><?php if(isset($display_title)) {print $display_title;}?></h1>

with

 <a  href="http://your-custom-link.com" target="_blank">
<h1><?php if(isset($display_title)) {print $display_title;}?></h1>
</a>

Save and then when you click morelink, it will redirect to 

5 - Please go to themesetting > Custom code > custom CSS Code

Find line

.post-single .post-media {
margin-top: 80px;
}

and edit margin-top value. 

jonathasmello's picture
jonathasmello
Thu, 02/25/2016 - 08:25

Hi,

I did everything you recommended but nothing has seemed to work in items 1 and 3.

2 - I would like to add as menu item (FRENCH VERSION / ENGLISH VERSION)

4 - Each box should direct to a specific link, not all to the same link

5 - ok

Thanks

jonathasmello's picture
jonathasmello
Thu, 02/25/2016 - 09:44

Solved #3: I had to add a filter in the Content: Language (= Current user's language)

phuonght's picture
phuonght
Thu, 02/25/2016 - 23:41

1- Do as instruction at #2 and delete line 387 in file sites\all\modules\custom\md_magnum_module\md_magnum_module.module also.

2- With default menu in this theme, we can not set your switch language as a menu items. You could take a look at our module mega menu (http://megadrupal.com/project/md-megamenu)

4 - Could you explain more about your request?

jonathasmello's picture
jonathasmello
Mon, 02/29/2016 - 16:45

Hi,

1 - Thank you

4 - Block one has to direct to link X, block 2 to link Y, block 3 to link Z, etc. Also I would need to take out the icons (or replace by the external link) and hide the texts  "video popup", etc.

6 - how to set the translation for the titles of blocks in the home "welcome", "courses", "trainers", etc?

7 - please check the french homepage http://proj.tmitapp.com/stage/?language=fr the trainers are disaligned, how to fix?

8 - How to reduce the space over the titles in the blog pages (see attached)?

Image title

thank you so much!

phuonght's picture
phuonght
Tue, 03/01/2016 - 22:55

6 - with blocks built with views: same as issue 3. other blocks:

For example: block Welcome - go to 

 > tab language > "Make this block translatable" > Save and Translate

Image title

7 - Go to themesetting > custom code > custom CSS, add following code:

.about-us .views-row{
height:500px;
}

8 -  Go to themesetting > custom code > custom CSS, add following code:

.page-taxonomy .commentsWrap {
margin-top: 50px;
}

4 - Would you like use any custom link or only links of content type Work

jonathasmello's picture
jonathasmello
Wed, 03/02/2016 - 13:25

Thank you!

4 - yes, custom links

jonathasmello's picture
jonathasmello
Wed, 03/02/2016 - 14:37

6 - the only that does not change the title is "courses" I translated the view to "cours" but the title is the only thing is not translating..

9 - after the last changes it is duplicating the "trainers" heading, I want to keep only the black one, like the other headings

10 - in the page http://proj.tmitapp.com/stage/taxonomy/term/4 and similar ones it is displaying a field "language: english" how to hide it?

Thanks!

jonathasmello's picture
jonathasmello
Mon, 03/07/2016 - 11:37

Hi, in regards to #4, an HTML where I could add pictures and links would work as well... how could I add it to the homepage?

phuonght's picture
phuonght
Mon, 03/07/2016 - 22:45

4 -Our developer just helped you create field and code, from now you can edit link at "custom link" in content type WORK. It is megadrupal.com by default.

Demo: /node/2/edit?destination=admin/content

6 - Fixed

9 - Fixed

10 - Please go to themesetting > custom code > custom css, add following code:

.page-taxonomy ul.language-switcher-locale-session {
display: none;
}

Hide taxonomy pages.

jonathasmello's picture
jonathasmello
Tue, 03/08/2016 - 18:31

Hi!

4 - Thanks!

6 - To me it is still appearing the title in english, and the "empower..." title is not the uppercase black font that should be..

Image title

9 - Thanks!

10 - I meant the field just below the text (check the image), not the switcher:

Image title

phuonght's picture
phuonght
Tue, 03/08/2016 - 23:26

6 - Title fixed.

10 - Fixed. Check please.

jonathasmello's picture
jonathasmello
Wed, 03/09/2016 - 17:22

6 - The "courses" title does not appear translated when I set the French version, which should be "cours" - a added the translation to the backend.

10 - Thanks, can you also update the fix in the French version: http://proj.tmitapp.com/stage/taxonomy/term/15?language=fr ?

phuonght's picture
phuonght
Wed, 03/09/2016 - 21:43

Check your site please.

jonathasmello's picture
jonathasmello
Fri, 03/11/2016 - 11:52

Thank you very much!

We are very close to finalizing it :) 

Can you please check the following: Reduce the blank space and hide the blue title in "empower" as follows?

Image title

phuonght's picture
phuonght
Sat, 03/12/2016 - 03:16

We can not hide blue title as you would like. 

Because block includes a main post - latest post of content type work (the blue title and content below - /node/2/edit?destination=admin/content) and section that has images (other nodes of content type work).

If we remove blue title, latest post will not display in homepage.

Image title

jonathasmello's picture
jonathasmello
Mon, 03/14/2016 - 07:36

That's ok I can change one of the titles.

Thank you!

jonathasmello's picture
jonathasmello
Mon, 03/14/2016 - 12:10

Hi,

1- Where can I adjust the button text "Watch videos" to "videos", under homepage, courses?

2 - I translated all views for the "more links" and "empower...", added the filter in the view by language but the whole section does not show up in the french version. Is there something else I'm missing?

Thanks!

phuonght's picture
phuonght
Mon, 03/14/2016 - 23:21

1 - open file /stage/sites/all/themes/md_magnum/template/views/single_services/views-view-fields--single-services.tpl.php, find second line from bottom, replace

<?php print t('Watch videos');?> 

with

<?php print t('Videos');?>

2 - Fixed. Check please.

jonathasmello's picture
jonathasmello
Tue, 03/22/2016 - 06:45

Hi,

1 - How can I increase the size of the logo

2- How to reduce the blank space between "The main goal of the platform is to empower African media professionals with analytical and technical skills in order to improve the quality of media coverage of Africa in national and international media" and The heading "More links"?


phuonght's picture
phuonght
Tue, 03/22/2016 - 22:50

We can not access your site. Check please.

1- You can resize logo in themesetting > Custom Code > Custom CSS, add following css code:

img.menu-logo {
max-width: 100px;
max-height: 100px;
width: 100px;
height: auto!important;
}
jonathasmello's picture
jonathasmello
Tue, 03/29/2016 - 10:20

Hi, thanks for the fix #1. For the #2, please check at http://jonathasmello.com/stage/ (same login info)

Cheers

phuonght's picture
phuonght
Wed, 03/30/2016 - 05:44

2 - Please go to Themesetting > Custom code > Custom CSS

Add css code:

.more-work {
position: relative;
padding-top: 0px;
margin-top: 60px;
}

Value margin-top: can be changed.

phuonght's picture
phuonght
Mon, 04/18/2016 - 23:57

Sorry,

We checked menu and it seemed to point to France version normally. Could you check?

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.