Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Editing Article and Blog Layout

Styling with Easy Layouts 09 Mar 2021 09:47 #60047

  • easistudio
  • easistudio's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 106
  • Karma: 1
  • Thank you received: 4
Please can you confirm that when I edit the Layouts of either Article or Blog (see image below), this only changes the CSS and does not create or edit any PHP files?

Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by ced1870.

Editing Article and Blog Layout 09 Mar 2021 09:51 #60048

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 24633
  • Karma: 427
  • Thank you received: 3088
Hi
this creates the overrides in the "html" folder of your template, these are PHP files of the joomla layout
CEd
Joomlack Webmaster and Developer
The following user(s) said Thank You: easistudio

Please Log in or Create an account to join the conversation.

Editing Article and Blog Layout 09 Mar 2021 10:01 #60050

  • easistudio
  • easistudio's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 106
  • Karma: 1
  • Thank you received: 4

ced1870 wrote: Hi
this creates the overrides in the "html" folder of your template, these are PHP files of the joomla layout
CEd

Thanks but have a couple of supplemental questions.

1. At what point are these files and folders created? Is it on initial creation of the template itself or once I edit anything in relation to Joomla articles?
2. If I make any changes to the articles or blog in the Template Creator, is it just the CSS that changes or does it also make changes to any php files?

Please Log in or Create an account to join the conversation.

Editing Article and Blog Layout 09 Mar 2021 10:14 #60052

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 24633
  • Karma: 427
  • Thank you received: 3088
1. they are created when you do "action >> copy / apply changes"
the files are copied each time you update the template
but you can add your own files in the folder, because the folders are never removed. then it allows you to create your "layout override" (which is different from "template override")

2. I don't understand. I can not tell you what changes you shall do ... I don't know what you want to do. This is in your scope ;)
You can make any css change in the "custom css" area
Joomlack Webmaster and Developer
The following user(s) said Thank You: easistudio

Please Log in or Create an account to join the conversation.

Editing Article and Blog Layout 10 Mar 2021 09:54 #60064

  • easistudio
  • easistudio's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 106
  • Karma: 1
  • Thank you received: 4
What I am looking to do is combine Template Creator with a content layout called EasyLayouts. Basically my idea is do all the CSS in Template Creator but organise the layout in EasyLayouts.

EasyLayouts uses the concept of rows to build the structure of content pages and you can apply CSS classes to these rows. You can also embed rows within other rows.

If I am totally honest, I haven't quite mastered this yet and got into a right pickle yesterday. However I reinstalled Joomla, Template Creator, my template garbarit then made a copy of it and it's the copy which I am just about to work with. If I bugger up, I can then quickly delete everything and start again on a fresh copy of the template.

Please Log in or Create an account to join the conversation.

Editing Article and Blog Layout 10 Mar 2021 10:08 #60065

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 24633
  • Karma: 427
  • Thank you received: 3088
ok, then if you want to manage the CSS, you can do that easily in the template using Parameters >> Custom CSS
you can also directly write into the file
templates/TEMPLATE/css/custom.css

hope it helps
Joomlack Webmaster and Developer
The following user(s) said Thank You: easistudio

Please Log in or Create an account to join the conversation.

Editing Article and Blog Layout 30 Mar 2021 17:20 #60353

  • easistudio
  • easistudio's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 106
  • Karma: 1
  • Thank you received: 4
If you are looking for a new project, a "drag'n'drop" tool to design different types of article layouts would be a brilliant addition to Template Creator CK.

Template Creator is very good in terms of the overall style and design but since Joomla introduced custom fields, I want to move away from 3rd party extensions and do everything within core Joomla (com_content). For instance I might want an article page for blogs and also an article page for directory items which has custom fields (opening times, Google Maps, etc).

However this is where Joomla falls completely flat on it's face because com_content just isn't designed to be customised and modified by anyone other than senior PHP, HTML and CSS developers (It's light years behind K2 in terms of customizability). Template Creator isn't bad in this respect as you can apply styles to basic things like titles, pagination and image but that's the limit and you can't create multiple styles for different categories.

I looked at EasyLayouts which initially really excited me but because Template Creator creates it's own styles classes, they are not compatible (perhaps not the correct term?).

Please Log in or Create an account to join the conversation.

Editing Article and Blog Layout 30 Mar 2021 18:01 #60354

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 24633
  • Karma: 427
  • Thank you received: 3088

I looked at EasyLayouts which initially really excited me but because Template Creator creates it's own styles classes, they are not compatible (perhaps not the correct term?).

I have never tested Easylayouts but I have good feedbacks about it
I don't really understand why Easylayouts could not work with Template Creator CK .Please give me some details about that point so that we can check

I understand your request but I don't plan to do that into Template Creator CK for now as this is really in the scope of the overrides
Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Editing Article and Blog Layout 31 Mar 2021 09:05 #60370

  • easistudio
  • easistudio's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 106
  • Karma: 1
  • Thank you received: 4
OK here are a couple of URLs to explain the issue.

This first URL is the article coded just using Template Creator
template-1.yorweb.co.uk/news/throwing-darts-in-lovers-eyes

Now here is the same article but additionally had EasyLayouts applied to the layout
template-1.yorweb.co.uk/features/throwing-darts-in-lovers-eyes

None of the Template Creator CSS is applied to the page to the EasyLayouts generated page. Individually both Template Creator and EasyLayouts are good but imagine the power it would give developers if you could design an article page (or anything else in com_content) in EasyLayouts then use Template Creator to style it "out of the box".

Now I am sure there is a way to apply Template Creator generated CSS to the page generated in EasyLayouts but it seems so convoluted that it is easier to simply edit the "article" php file directly and not use EasyLayouts. However (to me at least), the whole point of using Joomla in the first place is that you should be able to do stuff like this straight from Joomla's interface. If we have to start getting our hands dirty coding to this extent, we might as well ditch Joomla and look at Laravel. In my case I already have the HTML template (which I am trying to replicate in Template Creator) to kick things off.

Edit. I should add that this post is not a complaint about Template Creator (or EasyLayouts) but I think more born out of my own inabilities as a developer.

Please Log in or Create an account to join the conversation.

Last edit: by easistudio.

Editing Article and Blog Layout 01 Apr 2021 08:57 #60392

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 24633
  • Karma: 427
  • Thank you received: 3088
ok I see, thanks for the details
I don't know how works easylayouts, but I think that it uses a custom override, that is why the specific css of the template are no more applied
Template Creator CK uses also an override to put the css classes needed to style each part.

I understand your idea but there are 2 different tools, you must choose which one you want to use for your layout
I thought there was some styling options in Easy Layouts ...

Edit. I should add that this post is not a complaint about Template Creator (or EasyLayouts) but I think more born out of my own inabilities as a developer

I don't think that like a complaint, but more like an open discussion :)
Joomlack Webmaster and Developer
The following user(s) said Thank You: easistudio

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Time to create page: 0.246 seconds

Fast and powerful creation, customizable and responsive.

Read More

Qui est en ligne

We have 197 guests and one member online