Upgrade from 2.0.x problems
Moderator: Thorsten
-
- Posts: 200
- Joined: Tue Nov 02, 2010 9:08 am
- Location: United States-Ohio
- Contact:
Re: Upgrade from 2.0.x problems
That means you have to manually update the template files, if you know css and php this is done fairly easy, but if your a new to css and php then it can be a little difficult, thats why we provide the template, so you are wanting to do away with the navigaton menu at the top t hat has the links such as contact, add question ect...
It would be more difficult for me to explain how to update your template then to help you customize the new template a little as we dont have support for the old template no more
It would be more difficult for me to explain how to update your template then to help you customize the new template a little as we dont have support for the old template no more
phpMyFAQ Quality Assurance / Forum Moderator
Amazon.com Wishlist
Amazon.com Wishlist
Re: Upgrade from 2.0.x problems
Could you point me to any documentation on how to customize the new template please?
-
- Posts: 200
- Joined: Tue Nov 02, 2010 9:08 am
- Location: United States-Ohio
- Contact:
Re: Upgrade from 2.0.x problems
Hi,
We dont have any documentation per say that will help you step by step and provide code to customize , this is what we do have.
2.7 http://www.phpmyfaq.de/documentation.2.7.en.php#6
2.0http://www.phpmyfaq.de/docs/dokumentation.2.0.en.php#6
I hope this information somewhat helps you
Jason
We dont have any documentation per say that will help you step by step and provide code to customize , this is what we do have.
2.7 http://www.phpmyfaq.de/documentation.2.7.en.php#6
2.0http://www.phpmyfaq.de/docs/dokumentation.2.0.en.php#6
I hope this information somewhat helps you
Jason
phpMyFAQ Quality Assurance / Forum Moderator
Amazon.com Wishlist
Amazon.com Wishlist
Re: Upgrade from 2.0.x problems
Thanks, I already took a look at them and there isn't much there.
Can you think of any reason why the styles should not be applied in the old templates? It's respecting the menus I removed, etc just not applying any styles for some reason.
I'm editing the new templates and I can't find a way to remove the "Advanced Search" link for example. It doesn't seem to be in the index.tpl anywhere. So I found it in index.php and commented it out there. But then the News part of the main template I can't find either. Where does {writeContent} get specified for that page? I see a number of entries in it if I do a global search, but not the one I'm looking for.
Can you think of any reason why the styles should not be applied in the old templates? It's respecting the menus I removed, etc just not applying any styles for some reason.
I'm editing the new templates and I can't find a way to remove the "Advanced Search" link for example. It doesn't seem to be in the index.tpl anywhere. So I found it in index.php and commented it out there. But then the News part of the main template I can't find either. Where does {writeContent} get specified for that page? I see a number of entries in it if I do a global search, but not the one I'm looking for.
Last edited by kakubei on Tue Mar 26, 2013 10:23 am, edited 1 time in total.
-
- Posts: 200
- Joined: Tue Nov 02, 2010 9:08 am
- Location: United States-Ohio
- Contact:
Re: Upgrade from 2.0.x problems
To just remove the advance search link simply edit your index.tpl on line 98 remove this {msgSearch}
phpMyFAQ Quality Assurance / Forum Moderator
Amazon.com Wishlist
Amazon.com Wishlist
Re: Upgrade from 2.0.x problems
Ah, I like that better than what I did. Thanks. Let me try to clarify what I want to do next.
The title of our FAQ is set to "Bruji's FAQ" in the configuration. In the index page this shows up:
Bruji's FAQ FAQ News
I'd like to remove it but don't see anywhere in the index.tpl to do that. If I remove {writeContent} it will remove the message we have put there as well. I just want to remove that header.
Thanks for all your help by the way.
The title of our FAQ is set to "Bruji's FAQ" in the configuration. In the index page this shows up:
Bruji's FAQ FAQ News
I'd like to remove it but don't see anywhere in the index.tpl to do that. If I remove {writeContent} it will remove the message we have put there as well. I just want to remove that header.
Thanks for all your help by the way.
-
- Posts: 200
- Joined: Tue Nov 02, 2010 9:08 am
- Location: United States-Ohio
- Contact:
Re: Upgrade from 2.0.x problems
i think this is what you are wanting, edit the file main.tpl and remove line 8-10
this is the code you would have to remove
this is the code you would have to remove
Code: Select all
<header>
<h2>{writeNewsHeader} {writeNewsRSS}</h2>
</header>
phpMyFAQ Quality Assurance / Forum Moderator
Amazon.com Wishlist
Amazon.com Wishlist
-
- Posts: 200
- Joined: Tue Nov 02, 2010 9:08 am
- Location: United States-Ohio
- Contact:
Re: Upgrade from 2.0.x problems
Let me know what else you are having troubles figuring out.
phpMyFAQ Quality Assurance / Forum Moderator
Amazon.com Wishlist
Amazon.com Wishlist
Re: Upgrade from 2.0.x problems
Thanks again, I do have another question
How do I remove the "social" aside? I want to remove the whole <section> containing this:
<div id="social">
<a href="http://www.facebook.com/sharer.php?u=ht ... Blang%3Den" target="_blank">
<img src="images/facebook.png" alt="Share on Facebook" title="Share on Facebook" width="32" height="32" border="0">
</a>
<a href="http://twitter.com/share?url=http%3A%2F ... 6lang%3Den" target="_blank">
<img src="images/twitter.png" alt="Share on Twitter" title="Share on Twitter" width="32" height="32" border="0">
</a>
<a href="http://www.delicious.com/save?url=http% ... an%22+sync" target="_blank">
<img src="images/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" width="32" height="32" border="0">
</a>
<a href="http://digg.com/submit?phase=2&url=http ... 522%2Bsync" target="_blank">
<img src="images/digg.png" alt="Digg it!" title="Digg it!" width="32" height="32" border="0">
</a>
<a href="http://localhost/brujipedia/kb/index.ph ... artlang=en">
<img src="images/email.png" alt="Send FAQ to a friend" title="Send FAQ to a friend" width="32" height="32" border="0">
</a>
<a target="_blank" href="/brujipedia/kb/pdf.php?cat=6&id=160&artlang=en">
<img src="images/pdf.png" alt="Show this as PDF file" title="Show this as PDF file" width="32" height="32" border="0">
</a>
<a href="javascript:window.print();">
<img src="images/print.png" alt="Print this record" title="Print this record" width="32" height="32" border="0">
</a>
</div>
But I don't see it anywhere in the templates.
How do I remove the "social" aside? I want to remove the whole <section> containing this:
<div id="social">
<a href="http://www.facebook.com/sharer.php?u=ht ... Blang%3Den" target="_blank">
<img src="images/facebook.png" alt="Share on Facebook" title="Share on Facebook" width="32" height="32" border="0">
</a>
<a href="http://twitter.com/share?url=http%3A%2F ... 6lang%3Den" target="_blank">
<img src="images/twitter.png" alt="Share on Twitter" title="Share on Twitter" width="32" height="32" border="0">
</a>
<a href="http://www.delicious.com/save?url=http% ... an%22+sync" target="_blank">
<img src="images/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" width="32" height="32" border="0">
</a>
<a href="http://digg.com/submit?phase=2&url=http ... 522%2Bsync" target="_blank">
<img src="images/digg.png" alt="Digg it!" title="Digg it!" width="32" height="32" border="0">
</a>
<a href="http://localhost/brujipedia/kb/index.ph ... artlang=en">
<img src="images/email.png" alt="Send FAQ to a friend" title="Send FAQ to a friend" width="32" height="32" border="0">
</a>
<a target="_blank" href="/brujipedia/kb/pdf.php?cat=6&id=160&artlang=en">
<img src="images/pdf.png" alt="Show this as PDF file" title="Show this as PDF file" width="32" height="32" border="0">
</a>
<a href="javascript:window.print();">
<img src="images/print.png" alt="Print this record" title="Print this record" width="32" height="32" border="0">
</a>
</div>
But I don't see it anywhere in the templates.
-
- Posts: 200
- Joined: Tue Nov 02, 2010 9:08 am
- Location: United States-Ohio
- Contact:
Re: Upgrade from 2.0.x problems
Hi do do this you need to edit file catandtag.tpl and remove lines 1-30 this is the code you will need to remove
Code: Select all
[socialLinks]
<section>
<div id="social">
<a href="{link_facebook}" target="_blank">
<img src="images/facebook.png" alt="{writeFacebookMsgTag}" title="{writeFacebookMsgTag}" width="32" height="32" border="0" />
</a>
<a href="{link_twitter}" target="_blank">
<img src="images/twitter.png" alt="{writeTwitterMsgTag}" title="{writeTwitterMsgTag}" width="32" height="32" border="0" />
</a>
<a href="{link_delicious}" target="_blank">
<img src="images/delicious.png" alt="{writeDeliciousMsgTag}" title="{writeDeliciousMsgTag}" width="32" height="32" border="0" />
</a>
<a href="{link_digg}" target="_blank">
<img src="images/digg.png" alt="{writeDiggMsgTag}" title="{writeDiggMsgTag}" width="32" height="32" border="0" />
</a>
<a href="{link_email}">
<img src="images/email.png" alt="{writeSend2FriendMsgTag}" title="{writeSend2FriendMsgTag}" width="32" height="32" border="0" />
</a>
<a target="_blank" href="{link_pdf}">
<img src="images/pdf.png" alt="{writePDFTag}" title="{writePDFTag}" width="32" height="32" border="0" />
</a>
<a href="javascript:window.print();">
<img src="images/print.png" alt="{writePrintMsgTag}" title="{writePrintMsgTag}" width="32" height="32" border="0" />
</a>
</div>
<div id="facebookLikeButton">
{facebookLikeButton}
</div>
</section>
[/socialLinks]
phpMyFAQ Quality Assurance / Forum Moderator
Amazon.com Wishlist
Amazon.com Wishlist