YOOtheme Pro is here! The best WordPress and Joomla theme. Learn more

Avatar bytekultur asked

Yootheme Pro html overrides in joomla

I found resources for the yootheme templates on how to override view files (what is normally done via html folder). But I was wondering how I can do the same with yootheme pro, where it seems you don't work with a styles folder anymore.
I would like to have an alternative template to use for an article blog (so not actually an override, but a different layout)

So my questions are: - how can i generally organise overrides in yootheme pro? - how can i generate an alternative layout for a joomla view like - in my case - the category blog?

Thanks for any hints!

  • Joomla
  • General Question
  • YOOtheme Pro

12 Answers

0

Avatar thomas.p Support answered

Hi all,

YOOtheme Pro 1.9.0 has just been released and it is now possible to create an update-safe override for more files like the index.php or the offline.php by using a child theme. :)

Kind regards
Thomas

2

Avatar carl.gerhard.wieners answered

Why this is medium priority is beyond me. You kill a standard joomla functionality and then see that as 'medium' ?

0

Avatar bytekultur answered

Thanks a lot, I will have a look at that!

0

Avatar bytekultur answered

Thank you for the quick answer. This helped but here I am again - stuck with the next step.

With a normal joomla template, and also with the old yootheme system, I could override the main template file (index.php) and even add my own module positions. This seems not possible with yootheme pro and its child themes and a big disadvantage compared to the old system. Also, as there are much less module positions than in the typical warp 7 template. Main top and main bottom to name two I use regularly. To add / change module positions or make other changes to the main layout file is crucial for any one who wants to use a customisable template for a dynamic page.

I also read posts like this https://yootheme.com/support/question/107267 but as the author claims, I don't want to change core files that quite surely need to be updated...

Or did I miss a point?

Edited

0

Avatar thomas.p Support answered

You are right, the index.php cannot be overridden by a child theme at the moment. YOOtheme is aware of that and has it on their Todo list (Medium priority).

There's also a builder in active development to solve module posiiton problems.

Please also have a look at the [Official] Wish list for YOOtheme Pro where these items are stated and where you can also vote for suggestions made by others or add your own suggestions to improve YOOtheme Pro.

Edited

0

Avatar bytekultur answered

Thank you for the link, I'll have a look at it!

A builder for module positions would be a solution and might be appreciated a lot by non-programmers, but for me personally, a "pro" feature shouldn't have less freedom for a developer included than any other feature - so the builder you are offering at the current moment, which is only available for singe article pages, does not really replace the possibility of putting additional placeholders (with other code if wanted) into an index.php file.

But I do understand that - like any software - the new approach with yootheme pro will take a few generations until it will shine in it's whole greatness.

0

Avatar thomas.p Support answered

so the builder you are offering at the current moment, which is only available for singe article pages, does not really replace the possibility of putting additional placeholders (with other code if wanted) into an index.php file.

No, it doesn't. Update-safe overrides for the index.php are simply not possible at the moment, but I hope that'll be fixed soon.

0

Avatar bytekultur answered

Thanks for the information - generally it seems to be asked for a lot, so I am sure sooner or later it will be fixed. So far I could work around it, but I am seriously considering for larger pages not to use yootheme pro yet, as restricted overrides compared to the standard joomla system are slightly scary for one so used to it. ;-)

0

Avatar marco.santi answered

Hello Thomas,

is it possible to have a kind of tutorial to override the index.php page for example

Thanks and best regards

0

Avatar thomas.p Support answered

@marco.santi

There's documentation how you create a child theme, it's just a few steps: YOOtheme Pro Child Themes

After that, simply copy the index.php to your child theme root directory and edit what you need. You override should be loacted at /template/yootheme_child/index.php (Joomla) or /wp-content/themes/yootheme-child/index.php (WordPress).

Should you need further assistance, please open a separate question. Thank you.

0

Avatar thomas.p Support answered

Hi bytekultur,

if this thread can be closed: Please use the √ checkmark to the left of the answer that helped you and click it ONCE, please, to "accept" it.

Image

This will highlight it green and make a solution easier to spot for others. Something you might yourself benefit from with other issues you might have.

Mind that "voting" by using the + is different from accepting a response as an answer.

Thank you
Thomas

Know someone who can answer? Share a link to this question via email or twitter.