Entry Not Updating Class Name
Posted: 08 July 2009 11:48 AM   [ Ignore ]  
Summer Student
Total Posts:  11
Joined  04-23-2009

I gave a couple of header tags within an entry class names and saved, but they are not updating on the site. They are updating in the preview, but not within the site. Any ideas?

Profile
 
 
Posted: 08 July 2009 12:11 PM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  27914
Joined  05-15-2004

I have no idea what that means. Can you elaborate? What are you trying to do, where? Can you show us some code?

 Signature 

ExpressionEngine 2.0 Downloads | Docs | Bugtracker

“If the English language made any sense, lackadaisical would have something to do with a shortage of flowers.” (Doug Larson)

Profile
MSG
 
 
Posted: 08 July 2009 12:21 PM   [ Ignore ]   [ # 2 ]  
Summer Student
Total Posts:  11
Joined  04-23-2009

The problem is that when I update an entry, through the back end, it does not reflect the update when viewing the template that loads that entry in on the front end. In the entry I simply changed

<h4>Cost-efficiency</h4>
to
<h4 class="cost-efficiency">Cost-efficiency</h4>
Profile
 
 
Posted: 08 July 2009 12:27 PM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  27914
Joined  05-15-2004

Are you using caching? All the template does, really, is displaying the entry. If you change the entry, it should show on the site as well.

 Signature 

ExpressionEngine 2.0 Downloads | Docs | Bugtracker

“If the English language made any sense, lackadaisical would have something to do with a shortage of flowers.” (Doug Larson)

Profile
MSG
 
 
Posted: 08 July 2009 12:59 PM   [ Ignore ]   [ # 4 ]  
Summer Student
Total Posts:  11
Joined  04-23-2009

I went into the admin and cleared all of the caches, but still no luck. The DB contains the correct data, but for some reason the site doesn’t show it. Tried it in FF and Safari.

Profile
 
 
Posted: 08 July 2009 01:01 PM   [ Ignore ]   [ # 5 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  27914
Joined  05-15-2004

Still some caching. Perhaps some server side caching, or your browser cache? Give it a few hours, and try again, if it changed by then it was indeed a caching issue.

 Signature 

ExpressionEngine 2.0 Downloads | Docs | Bugtracker

“If the English language made any sense, lackadaisical would have something to do with a shortage of flowers.” (Doug Larson)

Profile
MSG
 
 
Posted: 08 July 2009 02:26 PM   [ Ignore ]   [ # 6 ]  
Summer Student
Total Posts:  11
Joined  04-23-2009

The issue was my own stupidity (as you probably already guessed). I had created the template when the blog was using the default fields. I then created a new custom field group, but forgot to update the tags in the template. It was pulling the entry as it had been just before I applied the new custom field group to it. Once I updated the the tags, the new data was pulled in. Strange though, how it kept pulling the old info, huh?

Profile
 
 
Posted: 08 July 2009 02:29 PM   [ Ignore ]   [ # 7 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  27914
Joined  05-15-2004

Glad you got to the bottom of this smile

 Signature 

ExpressionEngine 2.0 Downloads | Docs | Bugtracker

“If the English language made any sense, lackadaisical would have something to do with a shortage of flowers.” (Doug Larson)

Profile
MSG
 
 
Posted: 08 July 2009 02:30 PM   [ Ignore ]   [ # 8 ]  
Summer Student
Total Posts:  11
Joined  04-23-2009

Thanks for your help!

Profile
 
 
Posted: 08 July 2009 02:31 PM   [ Ignore ]   [ # 9 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  27914
Joined  05-15-2004

My pleasure, as always.

 Signature 

ExpressionEngine 2.0 Downloads | Docs | Bugtracker

“If the English language made any sense, lackadaisical would have something to do with a shortage of flowers.” (Doug Larson)

Profile
MSG
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1743, on December 02, 2009 02:47 PM
Total Registered Members: 115026 Total Logged-in Users: 124
Total Topics: 122461 Total Anonymous Users: 65
Total Replies: 647365 Total Guests: 523
Total Posts: 769826    
Members ( View Memberlist )
Active Members:    .jb3000a38dadlurAlexis Moore-JonesAndrew MacphersonAracne editrice S.r.l.atiosisÑuño MartínezBennobobluedreamerBrent BurgoynebuckycatBud Parr | Sonnet Media LLCBurly Chassiscc000001Chris ClarkeChris Newtonchrisbarber86Christian Schultecmw1Compass360CrucialDan HalbertdaverodDavid Barrett (Contrast)davidandliladeckard97demotivedesignerhandbagsDitchmonkeyDLMADoug EErik ReaganetoshaeuetzExayleeyelidlessnessForrest AndersonfusioeegesturestudioGnuusgomacroGreg Akergrovberggrrrampsguru24GwarrioriamnickITWYJAM1515Jason FerrellJay FjeffkonczJenSkimjmorinjoemoJohnDjohnniefpjonparadise2JT Thompsonjulie pKevin EvanslaureentlaurentPLaurie RuggleslebisollifetreecreativeliquidbookliverpoolrcLLeakelorigoldbergMarc MillerMario RodríguezMatt HarrisMatthias Hinrichsmelissajcmikepicmjfr226Mr GoongsneostructuralistNevin LyneNico SmitnimbleslickNoah KuhnnoddyOxygen Smithpab514Pascal KrietePeeTERPhil NortonpMacedqbrandsrchostingregistryRenmanResponse1rippeRobb OttenhoffRobert AitkenrobertbanhrussliptonRyan FaubionsargianteSean McDevittShane AveryshinkaSky Small ProjectssmartpillspinhirneSteve FairhurstSteven GrantStumpieSuper McFlytimprinttimurTodd SvobtoaviWayne Smallmanyabdabzackmorgan