Yah ok after my first silly blog, I'd say it's about time to get to serious business now.
Just yesterday I finished implementing the backend stuff so that our profile can link to product categories. The idea here is that we want to be able to relate a profile with several product categories and so we would be able to display products on a profile page. As always, we would need to do little coding using liquid on the CMS page. If you are new to our system please feel free to browse around our wiki, just click here. Hopefully I would have updated our documentation when you read this post.
So to grab the collection of product categories of a ProfileDrop you need to just call ProductDrop#product_categories and that's about it. The method will return a collection of ProductCategoryDrop and then... because I'm too lazy to explain it to you I'll just give you a link to our ProductCategoryDrop documentation and you can look it up by yourself =p BTW don't forget that we have a ProductDrop as well, here is the link to the ProductDrop documentation. Calling ProductCategoryDrop#products will return a collection of ProductDrop objects.
There is a special controller I created to add and remove relation between a profile and a product category. I called it "ProductCatalogsController", the routing is "/admin/product_catalogs/:action_name"
To add a relation you would need to send a "POST" request to "/admin/product_catalogs/add" along with an "id" parameter. The "id" parameter here would be the id of a product category.
To remove a relation one would need to send a "POST" request to "/admin/product_catalogs/remove" along with an "id" parameter which again is the id of a product category and a "_method" parameter with value as "DELETE".
Where is the profile id you asked? Well... I can't have you adding/removing product categories to other people profiles, can I? So the answer to that question is... you won't need to specify any profile id since you can only add/remove product categories to the profile that you are currently logged in on.
Enjoy this new feature for all our CMS users out there!
iXLd Media Inc.
Internet Marketing Strategy

TOGGLE
The database iXLD Media created for us was instrumental in helping us raise $8.8Million in record time. It is still in use years later.
Michael R. Harding,
Campaign Director,
Pacific Space Centre
Blogs list:
SEO Tips and Tools
- • SEO video
- • Article Marketing On Steroids
- • Keyword Research Before You Build
- • Skyrocket your Google Ranking
- • How Search Works | Keyword Research 101
- • Blog Digger
- • Flash to be made searchable?
- • Keyword Domain Names | Domain Buying Tips
- • Traffic Waterfalls
- • Search Position on Multiple Data Centers
XLsuite
- • XLsuite Individual Contributor Licence Agreement
- • Designers Make Money Publishing Your Suite
- • Make money with adsense
- • Designer Make Over On An XLsuite skin
- • Best Membership Magazine Site Script
- • XLsuite opens doors to unique marketplace
- • History of XLsuite
- • How to use the METAweblogAPI with XLsuite
- • Building a Video Site with XLsuite
- • Introduction to XLsuite
- • Community Marketing
- • How to point your DNS
- • BlipBack
- • New File Manager
Business Building
- • 6 ways to get more qualified traffic to your site
- • Google Extends Adsense to All Domain Owners
- • Viral Tool to Replicate your business model
- • Small Business Website Flyers
- • Using Testimonials
- • How to make your own XLsuite and sell it
- • Our Proposed Revenue Model
- • Bait Sites : Live In Sites
- • Connected Life Party
- • Now with more XMLRPC enabled bloging
- • Fall Website Tune Up Special Offer
- • Sequoia's Take on Market Conditions
- • New Shopping Cart Features
- • Rescue Time - How Productive Are You?
- • Mock Up's are Sweeter with a Little Balsamiq
- • TopRanked Sites
- • Video Site Passive Income
- • Advanced Web Strategy
- • Make Money Mind Set
- • Affiliate Marketing with XLsuite
- • What does iXLd Do?
- • Green Tech Explainined
Musings and Random Thoughts
- • Sharp increase in traffic!
- • Excellent track record for Amazon EC2
- • 1.1 million pages in a month
- • 820,220 hits in three weeks
- • RailsRumble 2008: Completed, and we deployed!
- • I'm participating in the RailsRumble 2008 Contest
- • XLsuite Served 261,000 hits this past 7 days
- • XLsuite now serving 200,000 pages per week
- • Catastrophic Database Crash on the main XLsuite master MySQL instance
- • Paypal Launches Widgets
- • And you thought we were sleeping?
Training
- • How to use the XLsuite Publishing Engine
- • Adding a hidden download link
- • Publishing Your Template Suite on XLsuite
- • PLR Product Creation Secrets XL
- • Quickly Changing Page Titles
- • Load Product Liquid Tag
- • Load Order Liquid Tag
- • Load Links Liquid Tag
- • Load Blog Post Liquid Tag
- • Load Blogs Liquid Tag
- • Load Blog Liquid Tag
- • Liquid Tag Media Player
- • If - Else - End Loop
- • Render an RSS Feed in XLsuite
- • Changing Your Password in XLsuite
- • How To Log In To The Admin
- • Add Google Analytics Easily to XLsuite Sites
- • Putting a Flash Player File on XLsuite
- • Contact Requests Feature of XLsuite
- • Get YellowPages Contacts in XLsuite Contact List
- • Do more with your House Listings on XLsuite
- • Learn about the XLsuite Structure
- • Create a New Contact in XLsuite
- • Make Money with XLsuite and ClickBank Engine
- • Introduction to understand Multi-Domain Feature
- • Creating a New Website from a House Listing
- • Introduction to XLsuite Dashboard Sidebars
- • Using Groups and Permissions
- • Using the Email Templates
- • Import Contacts from CSV File
- • Import a Listing from the RETS Server
- • Giving new users access to your site
- • Posting images, video and photo's in XLsuite blog posts
- • How to Publish A Google Doc Spreadsheet to your blog
- • Replacing the CMS Components
- • Pointing your A record from Godaddy to XLsuite
- • Checking Contact Requests in XLsuite
- • XL your business online
- • Video Tutorials and Training on XLsuite
- • Training on Using XLsuite
- • Transforming James's Template Website
Prospecting
- • Integrating Traq3D with XLsuite
- • Viral VOIP Reseller Strategies
- • Learn-English.ca Looking for a Partner
- • Visualization of my business model
- • Viral Video Tools
- • Adsense Experiment with Video Sites
- • Website Revamping is like a haircut
- • More Engagement = More Sales
- • Overlay Lauches Beta
- • Overlay.tv