How to Duplicate Breadcrumbs Module?

Questions related to the configuration of Joomla, Templates, and Security related questions/issues
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Fri Sep 26, 2014 12:39 am
I'd like to duplicate the breadcrumbs module to include a K2Tabs module. I have successfully created the duplicate breadcrumbs module, however, the margins aren't the same...

How can I extend the K2Tabs module to the same length as the breadcrumbs module above it?

Is there a way to make this 'duplicate breadcrumbs module' appear only on this page and not throughout the whole website?

[img/Users/markrecny/Desktop/Screen Shot 2014-09-25 at 7.34.59 PM.png][/img]

I am working on this locally for now.

Many thanks! :)
User avatar
Junior Boarder

GK User
Fri Sep 26, 2014 7:09 am
Hi,
1) please add screenshot again, I do not see it.
2) each template in general have only one position for breadcrumbs,
but you can add more similar new module positions in layout.
or use different module position for available
User avatar
Platinum Boarder

GK User
Fri Sep 26, 2014 1:35 pm
The breadcrumbs are in the right spot, the tabs underneath is where I've created the 'breadcrumbs2' module and its also in the right spot...

the problem is i want breadcrumbs2 to line up with the original breadcrumbs.

i also want to use the new module layout only on this page so I don't throw the layout off on all the other pages.
User avatar
Junior Boarder

GK User
Fri Sep 26, 2014 9:27 pm
i also want to use the new module layout only on this page so I don't throw the layout off on all the other pages.

Answer: https://www.gavick.com/documentation/jo ... ted-pages/
User avatar
Platinum Boarder

GK User
Fri Sep 26, 2014 9:33 pm
I guess Im lost...

My first problem was making the margins/width the same as the original breadcrumb module...

The reason I made a 'duplicate breadcrumb' module was because when I placed the 'gk tabs' module under the breadcrumb in the breadcrumb position, it made the tags side-by-side of the breadcrumbs...

sooooo... then I thought to made a duplicate module.

after making this 'duplicate module'... i realized it messed some other effects up, such as the parallax effect.

If i can fix my first problem, all of this other stuff won't matter...

Do you have nay ideas as to why placing GKTabs inside the breadcrumbs module would make them (breadcrumbs and GKTabs) appear side-by-side?
User avatar
Junior Boarder

GK User
Fri Sep 26, 2014 9:33 pm
the problem is i want breadcrumbs2 to line up with the original breadcrumbs.

I'm not sure if I right, but it looks that you have to remove padding and borders, yes.

Please also read:
1) https://www.gavick.com/documentation/jo ... -size-etc/

2) https://www.gavick.com/documentation/jo ... ss-suffix/

there you will find interesting tips inside.
User avatar
Platinum Boarder

GK User
Fri Sep 26, 2014 9:41 pm
I guess Im lost...

My first problem was making the margins/width the same as the original breadcrumb module...

The reason I made a 'duplicate breadcrumb' module was because when I placed the 'gk tabs' module under the breadcrumb in the breadcrumb position, it made the tags side-by-side of the breadcrumbs...

sooooo... then I thought to made a duplicate module.

after making this 'duplicate module'... i realized it messed some other effects up, such as the parallax effect.

If i can fix my first problem, all of this other stuff won't matter...

Do you have nay ideas as to why placing GKTabs inside the breadcrumbs module would make them (breadcrumbs and GKTabs) appear side-by-side?
User avatar
Junior Boarder

GK User
Fri Sep 26, 2014 9:49 pm
It might be because of default behavior of modules in this same position.
I think the best solution would be add there another one in this same
or use good css style.

But your question request customization solutions not a typical support.
User avatar
Platinum Boarder

GK User
Fri Sep 26, 2014 9:54 pm
so Oscar,

is there a way to "stack" one module on top of another in the breadcrumb position without it messing up the layout (my problem is it displays the modules side by side...

See attached image.
User avatar
Junior Boarder

GK User
Fri Sep 26, 2014 9:57 pm
As I told you you have two options.
One of them is to use

display:block; width:100%;
for both modules in this same position
---
Send me URL via PM, if you still don't understand
User avatar
Platinum Boarder

GK User
Fri Sep 26, 2014 9:58 pm
Im working on this localhost.

For some weird reason, it works fine when tabs is on top and breadcrumbs is on bottom but messes up when i have it the other way around.
User avatar
Junior Boarder

GK User
Fri Sep 26, 2014 10:00 pm
So leave it, and do others things and when you will be ONLINE ask again.
User avatar
Platinum Boarder

GK User
Fri Sep 26, 2014 10:01 pm
many thanks oscar!
User avatar
Junior Boarder

GK User
Fri Sep 26, 2014 10:16 pm
last question?

where do i place the following code you mentioned:

display:block; width:100%;
for both modules in this same position
User avatar
Junior Boarder

GK User
Fri Sep 26, 2014 10:31 pm
New suffix class must be created.
Guide: https://www.gavick.com/documentation/jo ... ss-suffix/
User avatar
Platinum Boarder

GK User
Thu Dec 04, 2014 7:48 am
Hey Oscar, my site is now up online, and wanted to know if you could take a look at what I described to you awhile back... I'd like for the tabs (Full Retirement, etc) to fit squarely right up under the "breadcrumbs", (with the same margins, all lined up, etc)


Here's the link.

http://www.financialhealth.co/index.php/retire-smarter/maximize-my-social-security


Let me know what you think.
Many thanks.
User avatar
Junior Boarder

GK User
Thu Dec 04, 2014 2:53 pm
ok, but why you add this tabs module in breadcrumbs module position,
it's better to create a new one under. So you don't have to use strange moves to fix it.

In our documentation we have guide how to do this,: https://www.gavick.com/documentation/jo ... -position/
if you don't have php/css skills you can always ask me for private help via PM. Probably you have budget for this project.

p.s.
But in general it looks quite nice. You need more photos to get better effect.
User avatar
Platinum Boarder

GK User
Thu Dec 04, 2014 3:42 pm
Many thanks.

Would it be work to copy/paste the "breadcrumbs" module, and make a "breadcrumbs2" module?

I've already created Step #1: Modifying templateDetails.xml.

Also, I've noticed there is no gk.const.php for University template...
Second step, Add the new module position to the template module styles by editing the gk.const.php file located in /lib/framework. Does that file apply to Joomla 3+ University Template?
User avatar
Junior Boarder

GK User
Thu Dec 04, 2014 5:41 pm
Just leave step #2

The most important is default.php and .xml , just use new module name.
And should be okey, even when you will have to manually add module name in Module Manager.
User avatar
Platinum Boarder

GK User
Thu Dec 04, 2014 6:13 pm
Many Thanks Oscar.

Now, the only thing I need to fix is the "Show Title" is set to "show" but it's not showing up inside the breadcrumb 2 module position (the rest of the tabs are showing though)
User avatar
Junior Boarder

GK User
Fri Dec 05, 2014 2:00 pm
probably because in this style modules names are hidden.
It's hard me to guess what changes you made in default.php

But if you will use
Code: Select all
<jdoc:include type="modules" name="breadcrumb2" style="gk_style" />


should be better.
User avatar
Platinum Boarder


cron