Creating a Custom Page Layout in WPS 7002

I followed these steps to add a custom page layout in the WPS 7002.
  1. Create a folder named CustomLayout under /fs-type1/themes/webspherenotes.firstmodular/layout-templates/ folder
  2. Copy the layout.html and icon.gif from say 1Column folder and copy it to CustomLayout folder after the copy it should look like this
  3. Copy the newly created CustomLayout folder to the /fs-type1/themes/webspherenotes.firstmodular/layout-templates/ in WebDav storage like this
  4. Change the markup of layout.html in the CustomLayout folder to look like this <!-- Entering CustomLayout.layout.html --> <div class="component-container wpthemeCol wpthemeCol-1 ibmDndColumn wpthemeLeft" name="ibmMainContainer"></div> <!-- Entering CustomLayout.layout.html --> I made changes to take out the section that displays hidden widgets on the page and i also did add the HTML comments to show beginning and end of the layout
  5. Then open the /fs-type1/themes/Portal7.0.0.2/system/layouts.json which holds list of layouts that appear in the change layout panel. change it to add one row for newly create CustomLayout like this { 'label':'change_layout_CustomLayout', 'url':ibmCfg.themeConfig.themeWebDAVBaseURI+'layout-templates/CustomLayout/', 'id':'CustomLayout', 'thumbnail':ibmCfg.themeConfig.themeRootURI+'/layout-templates/CustomLayout/icon.gif', 'help':'' }
  6. After make changes copy the layouts.json file to the WebDAV folder
  7. Now try opening the change layout UI and you might not see the newly added CustomLayout in the option, or you might if you do you will see option to switch to CustomLayout like this. If you dont see CustomLayout option go to next step
  8. In my case i was not able to see the option for CustomLayout so i looked in the firebug what is going on and it seems that when i go to Change Layout tab browser makes a request to http://localhost:10039/wps/mycontenthandler/!ut/p/digest!EWsjUKfQQnHqfLpBEXvbog/dav/fs-type1/themes/Portal7.0.0.2/system/layouts.json and the browser was using the cached copy for this file and as a result the changes in the layouts.json were not getting reflected. So i did disable the browser caching using firebug like this
  9. After that when i did refresh the page and i could see the new layouts.json being returned by the server and as a result i could see the change custom layout button

40 comments:

Anonymous said...

Thank you!! I too had to disable my browser cache. I wasted a lot of time trying to figure out why I wasn't seeing my changes until I saw your post.

Unknown said...

Great information in this post thanks for sharing...!
website designing

odms digital said...

I got a many tips here.Thanks for the tip and also for being open to having comments on your blog to help others.
web design & development

odms digital said...

Thanks for posting these instructions!
A helpful blog for anyone in the SEO services world. Thank you!
web design & development

Unknown said...

Nice post and great content.
Avast Customer Support is here to help you out with the whole procedure to Download Avast Antivirus online, We not only fix your Avast Support related issues but will guide with how to get started with your new Avast product once it gets installed successfully. We at Avast Tech Support provides service to protect your PC from potential online threats and external attacks like viruses, Trojans, malwares, spywares and phishing scams. And Avast Refund. Call on our Avast Phone Number

Gmail Customer service is a third party technical support service for Gmail users when they face any technical issue or error in their Gmail account. Our Gmail Customer Support team solves issues like forgot Gmail account password, Gmail configuration or Sync issues, recover deleted emails and many more. Toll Free number (800) 986-9271

How you install or reinstall Office 365 or Office 2016 depends on whether your Office product is part of an Office for home or Office for business plan. If you're not sure what you have, see what office com setup products are included in each plan and then follow the steps for your product. The steps below also apply if you're installing a single, stand-alone Office application such as Access 2016 or Visio 2016. Need Help with office setup Enter Product Key? Call 1-800-000-0000 Toll Free
Norton Tech Support is a third party service provider and not in any way associated with Norton or any of its partner companies. We offer support for Norton products and sell subscription based additional warranty on computer and other peripheral devices. Call our Toll Free number 1 855 966 3855
Other Services
Norton Toll Free , Office-Setup , office.com/setup.

siriit-solutions said...

Thanks for your valuable information..Its a helpful blog to have comments for SEO services
Wordpress Developers Hyderabad
best cms web development services Hyderabad

Ishu Sathya said...

Very true and inspiring article. I strongly believe all your points. I also learnt a lot from your post. Cheers and thank you for the clear path.
web design training chennai
website design in chennai
web designing in chennai

Anonymous said...

It is a very helpful blog about layouts. Thank you for sharing this useful blog.
Web Designing Course in Chennai | Web designing training in Chennai | Web Development courses in Chennai

Quantum it said...

Amazing blog thanks for sharing we have also made one on how to make an amazing website

Quantum IT said...

Amazing blog thanks for sharing

Karthik said...

I usually gather information from the blog which you posted.Thanks for sharing your thoughts about the concept which we know much better.
Web Designing Training in OMR
Web Designing Training in Porur
Web designing Training in T Nagar
Web Designing Training in Chennai
Web Designing Course in chennai
AngularJS Training in T Nagar
AngularJS Training in OMR
AngularJS Training in Velachery

jack rayn said...

Thanks for the very informative blog
static website design

scoot said...

THANK YOU FOR THE INFORMATION
PLEASE VISIT US
Web designing company in Bangalore




abhi said...

Nice blog Thank you

web design company in bangalore

website design company in bangalore

best web design company in bangalore

Unicsol said...

thanks for giving such a useful information
Unicsol is a Custom Software Development Company in Hyderabad that provides value-added software services by turning bytes into business by our deligent team

Wxit Consultant Services said...

Nice post....! You have done great work.

If you want to make custom website & application you can contact us on our Web App Development Company and Web Design Company anytime.

Tech Manic said...

The dextrosolution.com is the one of the best web development companies in lahorethey have the best team for the web development.

withstechnosolution said...

I appreciate this piece of useful information. Withs Technosolutions is a leading website design, mobile app development and website development company in Gwalior & Indore. We have a team of Professional Web Designer and Digital Marketers For more information visit our site: website designing in indore

unknown said...

You make so many great points here that I read your article a couple of times. Your views are in accordance with my own for the most part. This is great content for your readers.


seo services in lahore

unknown said...

Please share more like that.


best seo company in lahore

unknown said...

Its a great pleasure reading your post.Its full of information I am looking for and I love to post a comment that "The content of your post is awesome" Great work.



digital marketing agency in lahore

unknown said...

Thank you for the update, very nice site..


web hosting in lahore

maxfizz.com said...

I am impressed with your creativity. Keep it up.Thanks for providing useful information with us.


website designer in malviya nagar jaipur

web development company in malviya nagar jaipur

shakthi said...

ecommerce website development company in chennai, crm software development company in chennai, software development company in chennai, web hosting service provider in chennai

digihostsurbhi said...

Thanks for sharing such great information.
DigiHost Web Services
Website Designing Company in Navi Mumbai

Suraj said...

Thanks for sharing such great information. This is really helpful and one can develop user-friendly software and websites by using custom software development solutions.

SRB Technology said...

Thanks for this article. SRB Technology the most professional and affordable web development & design company in Oman. Anybody needs for our development services contact us. Website Design Company in Muscat | Website Development Company in Muscat | Website Design Company in Oman | Website Development Company in Oman

OMT Lahore said...

Wow, cool post. I'd like to write like this too - taking time and real hard work to make a great article... but I put things off too much and never seem to get started. Thanks though.
Digital Marketing Services in Lahore

OMT Lahore said...

I’m going to read this. I’ll be sure to come back. thanks for sharing. and also This article gives the light in which we can observe the reality. this is very nice one and gives indepth information. thanks for this nice article...
Web Development Company in Lahore

OMT Lahore said...

I really appreciate this wonderful post that you have provided for us. I assure this would be beneficial for most of the people.
Best SEO Services in Pakistan

Octohub Technologies said...

I need to thank you for this very good read and I have bookmarked to check out new things from your post. Thank you very much for sharing such a useful article and Will definitely save and revisit your site.

Web Design and Development Service

John Smith said...

Thanks for Sharing the valuable information.This is really helpful information for the web designer. Marketing Sweet is also leading web design and development. Their website are visually designed under the customer requirement. If you are looking for Web designing and development,You can get in touch with them.

Web Design Perth said...

Effective information for the web designer. Excellent web design improve your business in search engines by playing a great role in the SEO process.

SVAPPS said...

Thanks for sharing such amazing information about web design

Sapphire Solutions said...

Creating a Custom Page Layout in WPS 7002

Very interesting post...!

Well, we are here to share our blog

Top 10 Web Development Companies in San Francisco | Web developers in San Francisco 2022

web development companies

Pavithra Devi said...

This post is so interactive and informative.keep update more information...
hadoop training in tambaram
Big data training in chennai

digitallygrowmore said...

It's an amazing blog because it's full of power of knowledge and visit us to get best web development company in lahore.

sekhar said...

nice post
Digital Marketing Agency in Hyderabad

OnlineReviews said...

Dotnet development services in Hyderabad

BIIT Technology said...

Thank You for this useful information.

Are you looking to enhance your computer skills and open up new career opportunities? Look no further than BIIT Technology, the premier computer institute in Laxmi Nagar. Our comprehensive computer courses cover everything from basic software applications to advanced programming languages.