Code changes to the center block not showing up in theme. Help!!
#1
Just popping in
Just popping in


See User information
I have made some edits to theme_blockcenter_c.html in my theme and they are not showing up on my site after I upload them to my server for some reason. I can edit theme.html and those edits show up fine. Am I missing something here?... please help!

Posted on: 2010/1/7 21:01
 Top  Twitter  Facebook    Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Code changes to the center block not showing up in theme. Help!!
#2
Theme Designer
Theme Designer


See User information
hi'

Difficult to answer...

• have you a link to see ?
• theme's name ?
• what is your modification made for ?

Posted on: 2010/1/7 21:59
 Top  Twitter  Facebook    Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Code changes to the center block not showing up in theme. Help!!
#3
Just popping in
Just popping in


See User information
I don't have a link because I am developing the site on a live server which needs to stay locked down for now but I have provided a screenshot instead. The funky chinese symbols image (title_nav.gif) is the item I am trying to get rid of from the code in the theme_blockcenter_c.html file. Seemed easy enough. I changed the code and uploaded it but the image still shows on the site, as shown in the screenshot below.

Resized Image

Here is my before and after theme_blockcenter_c.html code:

Before:
<{$block.title}>


After:
<{$block.title}>


The end result is exactly the same for some reason and it's very frustrating. All I want to do is remove the link to the title_nav.gif image. The theme's name is gunmetal.

Posted on: 2010/1/7 23:36
 Top  Twitter  Facebook    Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Code changes to the center block not showing up in theme. Help!!
#4
Theme Designer
Theme Designer


See User information
hi'

Your modification seems right. So make sure that no information remains in XOOPS cache.

Two solutions :

1) • clean all files in xoops_data/caches/smarty_compile (except index.html)

2) • go to Site Preferences / General settings and check YES to option "Check templates for modifications". It is the same than 1) ... but with this method you don't have to clean cache each time to display your modifications

Posted on: 2010/1/8 0:09
 Top  Twitter  Facebook    Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Code changes to the center block not showing up in theme. Help!!
#5
Quite a regular
Quite a regular


See User information
It's simple. Remove this image in general settings. Distance from the left edge define the CSS through the padding (td # centerCcolumn div.blockTitle, # bottomCcolumn. BlockTitle line 349).
The problem is that you can see all the time no change is likely to enable the upgrade option does not change the theme. (Check box below the option to choose the default theme). Set to YES, and delete files from the cache. Then refresh page.
That's all.

edit:
he he he burning ;)

Posted on: 2010/1/8 0:12
 Top  Twitter  Facebook    Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Code changes to the center block not showing up in theme. Help!!
#6
Just popping in
Just popping in


See User information
I have had the "check templates for modifications" option set to YES this whole time and that doesn't help. The cache folder is blank besides index.html and adminmenu.php.

red_Slider, can you rephrase your response? I got kind of confused there. ;)

Any other ideas guys?

Posted on: 2010/1/8 1:27
 Top  Twitter  Facebook    Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Code changes to the center block not showing up in theme. Help!!
#7
Theme Designer
Theme Designer


See User information
Two things :
• this code for theme_blockcenter_c.html make image disappear, tested
<div class="blockTitle"><img src="<{$xoops_imageurl}>images/spacer.gif" width="5" align="middle" alt=""/><{$block.title}>div>
<
div class="blockContent"><{$block.content}>div>

• title_nav.gif does not appear elsewhere, just in these template theme_blockcenter_c.html

Then :
• make sure that /smarty_compile folder is empty
• make sure that you have no matter with your FTP client

Posted on: 2010/1/8 1:39
 Top  Twitter  Facebook    Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Code changes to the center block not showing up in theme. Help!!
#8
Just popping in
Just popping in


See User information
Okay I used your code and same result. I verified it's not an issue with the FTP client by downloading the server's copy to my local drive after deleting my local copy and it was the same with the correct code to remove the image. So the file is getting uploaded correct but yet it's not being updated somehow.

I checked for a smarty_compile folder and I don't have one? I am on XOOPS 2.0.18.2 if that helps.

Posted on: 2010/1/8 21:36
 Top  Twitter  Facebook    Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Code changes to the center block not showing up in theme. Help!!
#9
Theme Designer
Theme Designer


See User information
hi'

For XOOPS 2.0.x, /template_c folder instead of /smarty_compile. Erase all files except index.html and make sure that CHMOD is 0755.


Posted on: 2010/1/8 23:34
 Top  Twitter  Facebook    Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Code changes to the center block not showing up in theme. Help!!
#10
Just popping in
Just popping in


See User information
Just wanted to follow up with the fix for this issue. I had a duplicate copy of theme called "Copy of gunmetal" that I had been editing, and I also had the original "gunmetal" theme in my list also. For whatever reason, the "Copy of" theme was looking for the file in the regular "gunmetal" theme. I renamed the "Copy of" to "gunmetal" and that resolved the issue!

Thanks a ton for the help Burning. Much appreciated.

Posted on: 2010/1/11 18:57
 Top  Twitter  Facebook    Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 







You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You can vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.

[Advanced Search]


Login
Username:

Password:

Remember me



Lost Password?

Register now!
Search
Recent Posts
Who's Online
131 user(s) are online (98 user(s) are browsing Support Forums)

Members: 0
Guests: 131

more...
Donat-O-Meter
Make donations with PayPal!
Stats
Goal: AU$15.00
Due Date: Jul 31
Gross Amount: AU$0.00
Net Balance: AU$0.00
Left to go: AU$15.00
Latest GitHub Commits
Recent forum posts
Recent Comments
About us
Learn
Use
Develop GitHub
Contribute
Connect
Terms of Use | Privacy Policy | Hosted by Arvixe Hosting | RSS 2.0 Button