Custom Pages in Cassiopeia? Topic is solved

Everything to do with Joomla! 4.x templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
MAD King
Joomla! Explorer
Joomla! Explorer
Posts: 265
Joined: Thu Aug 09, 2007 2:08 pm

Custom Pages in Cassiopeia?

Post by MAD King » Thu Jun 30, 2022 10:26 pm

Hello,

I probably have too much Joomla 3 in my head, but I cannot figure out how to do a custom footer in Cassiopeia.
Any help here?

Joomla 4.1.5

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Custom Pages in Cassiopeia?

Post by sozzled » Thu Jun 30, 2022 10:48 pm

Is your question about creating a custom HTML module and assign it to Cassiopeia's Footer position?

MAD King
Joomla! Explorer
Joomla! Explorer
Posts: 265
Joined: Thu Aug 09, 2007 2:08 pm

Re: Custom Pages in Cassiopeia?

Post by MAD King » Thu Jun 30, 2022 11:03 pm

sozzled wrote:
Thu Jun 30, 2022 10:48 pm
Is your question about creating a custom HTML module and assign it to Cassiopeia's Footer position?
Probably. I just want to move the copyright note to the bottom of the footer in one line, under the modules.
Right now, it shows up in the module as a text with line breaks.

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Restyling the footer module

Post by sozzled » Thu Jun 30, 2022 11:11 pm

There are a couple of ways to do this. This is, perhaps, the easiest:

Create a custom CSS file and add the following lines to the end of it:

Code: Select all

.footer .footer1, .footer .footer2 {
	display: inline;
	padding-right:  10px;
}

MAD King
Joomla! Explorer
Joomla! Explorer
Posts: 265
Joined: Thu Aug 09, 2007 2:08 pm

Re: Custom Pages in Cassiopeia?

Post by MAD King » Thu Jun 30, 2022 11:25 pm

I already have three modules on the footer which I need for other things.
I just want the copyright line blow these three modules and not assigned to another module.

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Custom Pages in Cassiopeia?

Post by sozzled » Thu Jun 30, 2022 11:29 pm

Did you try my suggestion?

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44089
Joined: Sat Apr 05, 2008 9:58 pm

Re: Custom Pages in Cassiopeia?

Post by Webdongle » Thu Jun 30, 2022 11:37 pm

Cassiopeia has 'Debug' Position at the very bottom.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

MAD King
Joomla! Explorer
Joomla! Explorer
Posts: 265
Joined: Thu Aug 09, 2007 2:08 pm

Re: Custom Pages in Cassiopeia?

Post by MAD King » Thu Jun 30, 2022 11:41 pm

I thought about that, but then I thought it is for debug.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44089
Joined: Sat Apr 05, 2008 9:58 pm

Re: Custom Pages in Cassiopeia?

Post by Webdongle » Fri Jul 01, 2022 7:53 am

MAD King wrote:
Thu Jun 30, 2022 11:41 pm
I thought about that, but then I thought it is for debug.
How often do you turn debug on? haha
It's a position that is hardly ever used. Might as well put a custom module (with your copyright there.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Custom Pages in Cassiopeia?

Post by sozzled » Fri Jul 01, 2022 7:59 am

... or you could try my suggestion ...

... or you could change the footer module options ...

... or you could create a language override.

Many ways to address this. I, personally, wouldn't assign the module to the Debug template position. That position may be rarely used but, if it's needed, it's better to not complicate matters by using it unnecessarily. The Footer template position is where "footer" modules should be assigned. ;)

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30926
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Custom Pages in Cassiopeia?

Post by Per Yngve Berg » Fri Jul 01, 2022 8:10 am

Set "col-12" as module class suffix.

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Custom Pages in Cassiopeia?

Post by sozzled » Fri Jul 01, 2022 8:39 am

Per Yngve Berg wrote:
Fri Jul 01, 2022 8:10 am
Set "col-12" as module class suffix.
I can't see how this makes a difference, @Per. Can you please provide screenshots of before and after you change the module class?

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30926
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Custom Pages in Cassiopeia?

Post by Per Yngve Berg » Fri Jul 01, 2022 9:10 am

When you set the module full width, it should break down on the next line.

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Custom Pages in Cassiopeia?

Post by sozzled » Fri Jul 01, 2022 9:27 am

sozzled wrote:
Fri Jul 01, 2022 8:39 am
Per Yngve Berg wrote:
Fri Jul 01, 2022 8:10 am
Set "col-12" as module class suffix.
I can't see how this makes a difference, @Per. Can you please provide screenshots of before and after you change the module class?
I cannot make this work. Can you?

MAD King
Joomla! Explorer
Joomla! Explorer
Posts: 265
Joined: Thu Aug 09, 2007 2:08 pm

Re: Custom Pages in Cassiopeia?

Post by MAD King » Fri Jul 01, 2022 11:55 am

sozzled wrote:
Fri Jul 01, 2022 9:27 am
sozzled wrote:
Fri Jul 01, 2022 8:39 am
Per Yngve Berg wrote:
Fri Jul 01, 2022 8:10 am
Set "col-12" as module class suffix.
I can't see how this makes a difference, @Per. Can you please provide screenshots of before and after you change the module class?
I cannot make this work. Can you?
Does not work on mobile.
Only large screens.

Is there already a tutorial on how to add a new module position to Cassiopeia?
I think I will just add one.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30926
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Custom Pages in Cassiopeia?

Post by Per Yngve Berg » Fri Jul 01, 2022 12:21 pm

Same as any other template. Add a jdoc statement.

https://docs.joomla.org/Jdoc_statements#Module


Have you tried to add "col-sm-12" for small screen?

https://getbootstrap.com/docs/5.1/layout/columns/

MAD King
Joomla! Explorer
Joomla! Explorer
Posts: 265
Joined: Thu Aug 09, 2007 2:08 pm

Re: Custom Pages in Cassiopeia?

Post by MAD King » Fri Jul 01, 2022 1:30 pm

Per Yngve Berg wrote:
Fri Jul 01, 2022 12:21 pm
Same as any other template. Add a jdoc statement.

https://docs.joomla.org/Jdoc_statements#Module


Have you tried to add "col-sm-12" for small screen?

https://getbootstrap.com/docs/5.1/layout/columns/
Thank you.

herb200mph
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3592
Joined: Sun Jun 25, 2006 12:12 am
Location: Salisbury, NC/USA (N. of Charlotte)
Contact:

Re: Custom Pages in Cassiopeia?

Post by herb200mph » Sun Jul 03, 2022 1:02 pm

A custom module can be added to the module positions at the bottom of the screen easy enough.

To "locate" it at the very bottom, change the "ordering" of the modules in that module position, thus stacking the module below all the others in the same position.

The obvious item here is that more than one module can be applied to the same module position, then "ordered" to arrange how they appear.
Author: Joomla! 5: Boots on the Ground, Volume 1 @ Amazon.com
Author: Joomla! 4: BASIC TRAINING - Boots on the Ground @ Amazon.com
Joomla! Magazine - https://magazine.joomla.org/all-issues/ ... c-training

User avatar
ceford
Joomla! Hero
Joomla! Hero
Posts: 2674
Joined: Mon Feb 24, 2014 10:38 pm
Location: Edinburgh, Scotland
Contact:

Re: Custom Pages in Cassiopeia?

Post by ceford » Sun Jul 03, 2022 5:23 pm

I doubt you should create a new module position. See the following diagram for a list of positions:

https://docs.joomla.org/J4.x:Cassiopeia ... _Positions

You need to take care with nesting of divs!

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44089
Joined: Sat Apr 05, 2008 9:58 pm

Re: Custom Pages in Cassiopeia?

Post by Webdongle » Sun Jul 03, 2022 5:27 pm

ceford wrote:
Sun Jul 03, 2022 5:23 pm
I doubt you should create a new module position. See the following diagram for a list of positions:

https://docs.joomla.org/J4.x:Cassiopeia ... _Positions

You need to take care with nesting of divs!
+1
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Custom Pages in Cassiopeia?

Post by sozzled » Sun Jul 03, 2022 6:13 pm

ceford wrote:
Sun Jul 03, 2022 5:23 pm
I doubt you should create a new module position. See the following diagram for a list of positions:

https://docs.joomla.org/J4.x:Cassiopeia ... _Positions

You need to take care with nesting of divs!
+1

... and ...
sozzled wrote:
Fri Jul 01, 2022 7:59 am
... or you could try my suggestion (have you tried it? ??? )

... or you could change the footer module options ...

... or you could create a language override.

Many ways to address this ...

MAD King
Joomla! Explorer
Joomla! Explorer
Posts: 265
Joined: Thu Aug 09, 2007 2:08 pm

Re: Custom Pages in Cassiopeia?

Post by MAD King » Thu Aug 04, 2022 12:14 pm

Already created and works well.


Locked

Return to “Templates for Joomla! 4.x”