Adding Templavoila template to Typo3 blog

372 views Asked by At

I am pretty new to Typo3, and I am sorry if my question is too easy to answer =)

I'm using Templavoila and I installed the Typo3 Blog extension (T3G?) and I ticked the checkbox "Install and use the template provided by the extension" when setting up my first blog. I hardly managed to get a html only page with a sidebar and list of posts.

My problem is that I can't find a way to add a template or any CSS to that page. I'd like to fit it into the rest of my website with the logo, menu, etc… but after a day of searching and reading, I haven't find a solution to my problem.

  • Is the problem that I'm using Templavoila rather than FLUID?
  • Is there a way to add a TV template to my blog?
  • How can I add CSS to that page (I have tried page.includeCSS.style without success)?
  • Is it possible to fit that blog in the rest of the website?

I'm using : Typo3 7.6 - Typo3 Blog 7.6 - Templavoila! Plus 7.2

PS : Is it just me or is it pretty difficult for new people to make their way into Typo3 ? ^^ I'm probably just missing something obvious but there isn't much documentation or tutorials dedicated to beginners. I hope it get's easier =)

3

There are 3 answers

0
Riccardo De Contardi On BEST ANSWER

Templavoila (and Templavoila plus) operate its "magic" by its function to show the content; thus you don't need anymore the usual TypoScript:

page.10 < styles.content.get

Instead, the page content must be replaced with:

page.10 = USER 
page.10.userFunc = tx_templavoilaplus_pi1->main_page

Be sure to enable the TemplaVoila page module to manage content with TemplaVoila.The reason is that the "bare" TYPO3 uses the colPos field to retrieve the content (e.g. styles.content.get means colPos=0) while as far as I remember TemplaVoila uses its own logic and the TemplaVoila page module is necessary (also, as far as I can remember,there is an option to map a TemplaVoila content container to the colPos but I could possibly be wrong).

2
CCR On

This is only part of the answer I was looking for, and it was probably obvious (well not for me indeed).

In the options of the blog template (the Typoscript one) I had to uncheck all the checkboxes (Clear constants, clear setup, rootlevel). I also deleted the page.10 < styles.content.get, if I don't I get all the content but again, HTML only.

I'm facing a new problem now. The list of posts is not showing. Only regular element like text elements are being displayed, the Templavoilà FCE aren't… It is worse for the blog posts, nothing at all is being displayed.

PS : Should I write a new question for this or is it okay to ask it here ?

1
Alexander Opitz On

as maintainer of the TemplaVoilà! Plus extension I'd like to help you. Till yet, I didn't tested the blog extension, but I'm willing to help you there.

Couls you please fill an issue report on https://github.com/pluspol-interactive/templavoilaplus/issues and add there a link to this discussion?

Thanks

PS: I know, this isn't a answer to the question, but not enough reputation to add a comment.