html module position

Professional Business Joomla template for corporate and business websites suitable for showing stock quotes, up to date news, portfolio management resources or international market data.
GK User
Fri Nov 01, 2013 12:02 pm
hi, how can i add a custom htm module near the login module?

i add a picture for to show you exactly where and what i mean

tnx
ScreenHunter_12 Nov. 01 11.png
User avatar
Gold Boarder

GK User
Sat Nov 02, 2013 11:19 am
You would need to edit file:
/Templates/gk_finance_business/layouts/blocks/nav.php
and place the module somewhere after <h1 id="gkLogo"> element.
Here is a detailed documentation on how to do it:
http://www.gavick.com/documentation/joo ... -position/
User avatar
Moderator

GK User
Sat Nov 02, 2013 3:40 pm
hi cyberek,
i id as u said and how the guide says to do but, by the backand i see the new position but when i add a new htlm custom module i see noting in frontend.

I show u what i did, can u tell me where i'm wrong?

in templateDetails.xml - line 72 i added a new module position called "bandiera" ( picture)

in Gkconst.php file i added (line 27) 'baniera' => 'gk_style', (picture)

in nav.php i added (in line 47)
<?php if($this->modules('bandieera')) : ?> <div class="newstyle">

<jdoc:include type="modules" name="bandiera"

style="<?php echo $this->module_styles['baniera']; ?>" />

</div> <?php endif; ?>

I can add from bakand the module but is not visible in the frontend.... can u help me to say me where i'm wrong?..

tnx so much
User avatar
Gold Boarder

GK User
Sat Nov 02, 2013 3:49 pm
I send you the pictures about the files


gk.const.jpg


navfile.jpg


templateDetail.jpg
User avatar
Gold Boarder

GK User
Mon Nov 04, 2013 4:52 pm
Please carefully check the code again, you use 'bandieera', 'bandiera' and 'baniera' - they need to have same name in all places.
User avatar
Moderator

GK User
Tue Nov 05, 2013 3:46 pm
u are right, i wrote wrong.. but nothing changes.. i continue to see not the module in frontend

i tell u again what i did, maybe i forgot a step.

i follow the first step of the guide, the second also but i did not the 3° step of the guide becuase the code that was mantionated in the guide i pasted not in the defoult.php file but in /Templates/gk_finance_business/layouts/blocks/nav.php

where i'm wrong?
User avatar
Gold Boarder

GK User
Tue Nov 05, 2013 4:42 pm
Please take all files you have edited, pack them into one zip an attach to the post or send it to dropbox and post link here.
I'll check whats wrong.
User avatar
Moderator

GK User
Wed Nov 06, 2013 11:42 am
tnx. for your help, the website is:

http://www.hygienio.com/

files.7z
User avatar
Gold Boarder

GK User
Wed Nov 06, 2013 12:31 pm
Can you explain also exactly where i'm wrong?.. i nee to make the same modify for anather Gavick template
tnx a lot!
User avatar
Gold Boarder

GK User
Sat Nov 09, 2013 9:55 am
Sorry for late response - please compress the file with standard zip compressor.
User avatar
Moderator

GK User
Sun Nov 10, 2013 1:30 pm
ok, here the files (winzip)

files.zip
User avatar
Gold Boarder

GK User
Mon Nov 11, 2013 5:23 pm
I have checked the files and all seems to be fine - the only problem might be with the module that was previously posted in other module position - post it to any currently available position, save, then post back to your newly created position - all should work fine.
User avatar
Moderator

GK User
Mon Nov 11, 2013 8:05 pm
Can i give you my ftp access for to see where is the problem?
User avatar
Gold Boarder

GK User
Tue Nov 12, 2013 2:03 pm
Please send me a PM with:
1. URL to your website
2. login and password of user with admin/super-admin privileges (please create one for me)
3. ftp data (host, user, password)
4. link to this thread
User avatar
Moderator

GK User
Wed Nov 13, 2013 6:35 pm
Sent in pvt message all required credentials

tnx
User avatar
Gold Boarder

GK User
Sun Nov 17, 2013 10:27 am
I have received your PM.
From backend everything seems to be looking fine, but I cant login into ftp to check the files.
User avatar
Moderator

GK User
Sun Nov 17, 2013 4:38 pm
ok, the hosting filer was on.. can u try again to join in the ftp?

now u can join
User avatar
Gold Boarder

GK User
Mon Nov 18, 2013 5:08 pm
Could not connect to server “ftp.hygienio.com”.
Server said: Login authentication failed

Perhaps some custom port? Or maybe sftp instead of ftp?
User avatar
Moderator

GK User
Mon Nov 18, 2013 8:21 pm
I send u again in pvt the ftp credential, they will be valid untill tomorrow at this hour
User avatar
Gold Boarder

GK User
Thu Nov 21, 2013 8:26 pm
Is there a chance to provide ftp account that works more than one day?
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.