MyBB Community Forums

Full Version: Template doesn't edit
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
http://marketforums.org/index.php

For the theme Lewistest, you can use the selector at the bottom of the board.

The header doesn't change.

<div class="topbar"><navigation></div>
<div id="header">
<div style="float: right; margin-top: -22px; margin-right: 4px;">Social</div>
<div id="panel">
{$welcomeblock} 
</div>

<div class="logo"><a href="{$mybb->settings['bburl']}/forums.php"><img src="images/lust/logo.png"/></a></div>


</div>
<div class="menu">
<ul>
<li><a href="{$mybb->settings['bburl']}">Home</a></li>
<li><a href="{$mybb->settings['bburl']}/forums.php">Forums</a></li>
<li><a href="{$mybb->settings['bburl']}/portal.php">Portal</a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php">Members</a></li>
<li><a href="{$mybb->settings['bburl']}/mydownloads.php">Store</a></li>
</ul>
</div>

<div id="container">
		<a name="top" id="top"></a>
			<hr class="hidden" />
		<hr class="hidden" />
		<br class="clear" />
		<div id="content">
			{$pm_notice}
			{$bannedwarning}
			{$bbclosedwarning}
			{$unreadreports}<!-- ProfileComments -->
			{$comments_alert}<!-- /ProfileComments -->{$unreadpmreports}
			{$pending_joinrequests}
			<br />

That's the code in the header. But as you should be able to tell the code should have a whole change to how it actually looks.
But it isn't being changed.

So the question is, "Why isn't it changing?"

Cheers
Are you sure you are editing the right template set? Check in the theme options which template set the theme is using and make sure you edit that templateset.
Yep definitely the correct section.
Do you have Cloudfare installed on your website?
This might possibly be the weirdest issue for you supporters out there to deal with. The templates we're editing are the correct ones. Though, when I changed our forum width, that worked flawlessly. But when I tried adding the "Google +1 button", it doesn't show up. With Campbell, he's been doing a lot more template editing with me as we're redesigning, but the changes just aren't there.

I'm waiting for you Yaldaram Smile

Edit: No, cloudflare isn't installed.
check the database for duplicate names in the same tid. i have found that sometimes you get a new template instead of updating when editing (still not sure of the exact reasons that happens) so when you edit the changes show in the editor but the template system is using the old version
Ok, so your changes don't take effect. But is the code in the templates being updated?

By the way, try disabling Codepress, it's quite buggy and is known to cause problems while editing templates. You can disable it in Admin CP > Preferences > Turn on / off Codepress > Off.
(2011-06-02, 09:27 PM)pavemen Wrote: [ -> ]check the database for duplicate names in the same tid. i have found that sometimes you get a new template instead of updating when editing (still not sure of the exact reasons that happens) so when you edit the changes show in the editor but the template system is using the old version

Yeah, I had this problem once as well.

So in phpMyAdmin and run this query:
SELECT * FROM `mybb_templates` WHERE title='header'
And check if there are two rows with the same sid. You will need to remove one of them manually.
(2011-06-02, 09:31 PM)Aries-Belgium Wrote: [ -> ]
(2011-06-02, 09:27 PM)pavemen Wrote: [ -> ]check the database for duplicate names in the same tid. i have found that sometimes you get a new template instead of updating when editing (still not sure of the exact reasons that happens) so when you edit the changes show in the editor but the template system is using the old version

Yeah, I had this problem once as well.

So in phpMyAdmin and run this query:
SELECT * FROM `mybb_templates` WHERE title='header'
And check if there are two rows with the same sid. You will need to remove one of them manually.

Each TID is different and I can't find codepress?

(2011-06-02, 09:28 PM)faviouz Wrote: [ -> ]Ok, so your changes don't take effect. But is the code in the templates being updated?

By the way, try disabling Codepress, it's quite buggy and is known to cause problems while editing templates. You can disable it in Admin CP > Preferences > Turn on / off Codepress > Off.

Yeah the code is being updated, just nothing is changing.

Edit: Found Codepress, turned it off and still no change.
Pages: 1 2