We are looking into having phpMyFAQ run our knowledge database,
but we have an issue with the fact that writeContent's HTML is generated from within the php code
and this makes it kind of difficult to easily adjust the markup to match our design.
Is there an easier way to change the html markup for our needs or the only way is to dig trough the php
and change the html in there?
{writeContent} question
Moderator: Thorsten
Re: {writeContent} question
Hi,
just change the XHTML/CSS based templates in the folder /template.
bye
Thorsten
just change the XHTML/CSS based templates in the folder /template.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
-
marin.todorov
- Posts: 4
- Joined: Tue Jul 27, 2010 10:44 am
Re: {writeContent} question
Hi Thorsten,
thanks for the fast reply, I actually could have been more specific:
we're working with the templates and we have good results integrating to our site's design,
what I specifically can't handle is show.tpl - {writeThemes} this one produces a tree of categories
with already lot of html inside - this was my question : can't find a template for the category tree
and the only place I find is the php code where there's some html code generated for the categories,
so is there a template for that or only mining trough the code is the way to change the cat tree ?
best, Marin
thanks for the fast reply, I actually could have been more specific:
we're working with the templates and we have good results integrating to our site's design,
what I specifically can't handle is show.tpl - {writeThemes} this one produces a tree of categories
with already lot of html inside - this was my question : can't find a template for the category tree
and the only place I find is the php code where there's some html code generated for the categories,
so is there a template for that or only mining trough the code is the way to change the cat tree ?
best, Marin
Re: {writeContent} question
Hi,
ah, okay. You can format the tree by using CSS. Or do you need to change the HTML?
bye
Thorsten
ah, okay. You can format the tree by using CSS. Or do you need to change the HTML?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
-
marin.todorov
- Posts: 4
- Joined: Tue Jul 27, 2010 10:44 am
Re: {writeContent} question
Yup - we rather want to change the HTML, while the tree concept does not fit with what we already have,
we have only like one level overview + links to the upper level, so tree does not fit, and can't find in the templates
a way to change that
Marin
we have only like one level overview + links to the upper level, so tree does not fit, and can't find in the templates
a way to change that
Marin
Re: {writeContent} question
Hi,
okay... then you have to dig into the PHP code in the file inc/Category.php. Sorry!
bye
Thorsten
okay... then you have to dig into the PHP code in the file inc/Category.php. Sorry!
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
-
marin.todorov
- Posts: 4
- Joined: Tue Jul 27, 2010 10:44 am
Re: {writeContent} question
All right, appreciate the feedback, thanks
Marin
Marin