template compare issue and email notice issue

soaringeagle
@soaringeagle
9 years ago
3,304 posts
when using the template compare comparing a freshly cloned 1.10 to a modified 1.0.16 i dont see the modifications wether i choose the cloned 1/0.16 default or customized
but when i go into the 1.0.16 and compare it to the 1.10 i see the customized on the left and only an option to overwrite with the unmodified 1.1.0

additionaly email notifications have
<--begin jruser/email_notify_signup_subject.tpl--> 
and an end tpl comment added to the subject line


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

updated by @soaringeagle: 05/13/15 10:09:01PM
brian
@brian
9 years ago
10,148 posts
1) On a "fresh clone" you should not actually see any differences unless you make changes

2) UNCHECK Developer Tools -> Global Config -> template name in source

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
soaringeagle
@soaringeagle
9 years ago
3,304 posts
update tried it on all my custom templates and its not comparingany of them


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
9 years ago
3,304 posts
brian:
1) On a "fresh clone" you should not actually see any differences unless you make changes

2) UNCHECK Developer Tools -> Global Config -> template name in source

Hope this helps!

im comparing it to customized temnplates though to copy over the customizations ..from previosly customized templates in previous versions


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
9 years ago
3,304 posts
on templates that were changed by the new version i see the diferences in the new version but do not see the customizations in the old customized versions


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
9 years ago
3,304 posts
update not sure why this works but because its not a 'customized" template cloning the customized skin to a new skin then comparing it works it just doesnt work when you compare to any skin that says customized


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
I just got a notification email of new av=ctivity on my site, and the subject of the email read:

<!-- BEGIN jrForum/email_topic_updated_subject.tpl -->[mysite.com] New Reply: feb 6 test forum discussion<!-- END jrForum/email_topic_updated_subject.tpl -->



--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015

updated by @strumelia: 04/09/15 05:28:51PM
soaringeagle
@soaringeagle
9 years ago
3,304 posts
yea thats what i got aparently its from the "expose templates in source' setting in the development toolds global config


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
derrickhand300
@derrickhand300
9 years ago
1,353 posts
I have been getting the same...
soaringeagle
@soaringeagle
9 years ago
3,304 posts
i turned off expose templates in sourse and its fine now that should only be used when your trying to find what templates responsible for something you want to edit just like developer mode it should only be activated when you need to


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
derrickhand300
@derrickhand300
9 years ago
1,353 posts
hehe makes sense- using it here too...but thought it was my secret :) I did notice in the emails that the source of the problem was the new template identifier ( same exact code) but never considered shutting it off.
I use that tool all day long here- saves me much time and headaches- so if its only effecting emails to the admin then I plan to leave it on

Good find though!
( at least now we know which template the email originates from :))
Thanks
updated by @derrickhand300: 04/10/15 08:12:55AM
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Will it hurt anything or slow down stuff to leave the setting on (like how developer mode slows everything down)? Is the only inconvenience just seeing the email subject lines like that?


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015

updated by @strumelia: 04/10/15 11:53:25AM
brian
@brian
9 years ago
10,148 posts
Strumelia:
Will it hurt anything or slow down stuff to leave the setting on (like how developer mode slows everything down)? Is the only inconvenience just seeing the email subject lines like that?

You should only have the "show template name in source" option turned on if you are using it - leave it off if you're not actively using it.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
soaringeagle
@soaringeagle
9 years ago
3,304 posts
im sure that it shows in users emails not just admin emails
it wont slow things down but its messy in emails


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Ok thank you- I turned it off for now.


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
derrickhand300
@derrickhand300
9 years ago
1,353 posts
It takes me awhile to catch on sometimes and just had one of those "duh" moments while search for stuff in templates...just realized I can add my own
  <!-- Start-This is a template I made named my_template.tpl -->
code code code
<!-- Start-This is where I edited the buttons code -->
code code blah blah
<!-- END-This is where I edited the buttons code -->
other stuff..........
<!-- END--This is a template I made named my_template.tpl -->

The defaults are already loaded-then I can add my own-even break the template code down into sections to understand better and easily find them...I may be the only one who did not know this...embarassed if I am...but wanted to share the revelation just in case
updated by @derrickhand300: 04/11/15 12:02:08AM
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Curtis, what does the exclamation point in the code do, and why is it good to have there?


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
brian
@brian
9 years ago
10,148 posts
This is an HTML comment:

<!-- Start-This is a template I made named my_template.tpl -->

everything between the start and end tag will not show on the site, but be visible in the source.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
What happens if you don't include the !exclamation point?


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
brian
@brian
9 years ago
10,148 posts
Strumelia:
What happens if you don't include the !exclamation point?

Then it will show on the page - it won't be a comment.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Ok then. :)

-does it actually require the words 'start' and end' to function, or is that simply descriptive so you know... i mean could you use the words 'beginning' and ending' just as easily? In other words is it the !with -- and < etc that are the essential parts to house your hidden description?



--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015

updated by @strumelia: 04/11/15 11:56:52AM
derrickhand300
@derrickhand300
9 years ago
1,353 posts
I just use the words start and end to show the beginning and ending of each section of code in the template so if I go to a template to work and it contains code from 6 different features ie-buttons-search box-etc-I can easily find the part I want to work on...also helps me to determine if its the right template I am in...it would be a task to do this to all my templates at once- but I plan on doing it eah time I edit a template
SteveX
SteveX
@ultrajam
9 years ago
2,584 posts
http://www.tizag.com/htmlT/htmlcomments.php


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Thanks Steve, I'll read that.


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015

Tags