I thought I would share my confusion to maybe help others out.
I am designing a new site in Gold and needed to modify the header. In 7.X, you would just edit the standard header scriptlet. In Gold, scriptlets have been done away with (including nVelocity syntax). I'm sure this will allow for easier upgrades and scalability in the future.
So to edit the header in Gold, look for the conlib (these are referred to "controls" in Gold) in the conlib folder with the file name "StoreHeader". I thought I could copy this file and throw a folder called "Custom" like I was used to doing in 7.X but the dashboard wont recognize it. Instead, I copied the StoreHeader conlib file, renamed it to AACustomStoreHeader (the AA keeps all my custom files at the top). Now if you go into the dashboard under layouts, you will see AACustomHeader displayed as a choice for the layout. Save it.
Gold Custom Conlibs
- dmurphy4
- Lieutenant, Jr. Grade (LT JG)
- Posts: 30
- Joined: Wed Sep 26, 2012 1:47 pm
- Location: Wichita, Kansas USA
Gold Custom Conlibs
Daniel Murphy
Web Developer - Front End
http://StearnsFlotation.com, http://MadDogGear.com, http://Aerobed.com, http://Sevylor.com
Wichita, Kansas
Web Developer - Front End
http://StearnsFlotation.com, http://MadDogGear.com, http://Aerobed.com, http://Sevylor.com
Wichita, Kansas
- dmurphy4
- Lieutenant, Jr. Grade (LT JG)
- Posts: 30
- Joined: Wed Sep 26, 2012 1:47 pm
- Location: Wichita, Kansas USA
Re: Gold Custom Conlibs
Not sure what this designer.cs file is for.
Anyone care to explain this designer.cs file?
Anyone care to explain this designer.cs file?
Daniel Murphy
Web Developer - Front End
http://StearnsFlotation.com, http://MadDogGear.com, http://Aerobed.com, http://Sevylor.com
Wichita, Kansas
Web Developer - Front End
http://StearnsFlotation.com, http://MadDogGear.com, http://Aerobed.com, http://Sevylor.com
Wichita, Kansas
Re: Gold Custom Conlibs
You are correct, the /ConLib/Custom/ folder concept we were so used to in 7.x doesn't work in Gold. At least not from the UI standpoint in the admin.
I have been avoiding the UI to update controls. It doesn't support parameters and will blow away any defined user control parameters you specify manually in the page layouts the next time you change the layout. So I just hard-code the layouts to the correct custom location and file name and move on.
I believe the designer.cs file comes from the forms designer in visual studio when you are editing the site as a Web Application.
I have been avoiding the UI to update controls. It doesn't support parameters and will blow away any defined user control parameters you specify manually in the page layouts the next time you change the layout. So I just hard-code the layouts to the correct custom location and file name and move on.
I believe the designer.cs file comes from the forms designer in visual studio when you are editing the site as a Web Application.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
- dmurphy4
- Lieutenant, Jr. Grade (LT JG)
- Posts: 30
- Joined: Wed Sep 26, 2012 1:47 pm
- Location: Wichita, Kansas USA
Re: Gold Custom Conlibs
Thanks for your reply AbleMods. I will keep that in mind.
Daniel Murphy
Web Developer - Front End
http://StearnsFlotation.com, http://MadDogGear.com, http://Aerobed.com, http://Sevylor.com
Wichita, Kansas
Web Developer - Front End
http://StearnsFlotation.com, http://MadDogGear.com, http://Aerobed.com, http://Sevylor.com
Wichita, Kansas