Magento Expert Forum - Improve your Magento experience

Results 1 to 4 of 4

Get active cms pages assign and not assign to the Store

  1. #1
    New member
    Join Date
    Apr 2015
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Get active cms pages assign and not assign to the Store

    How to get all active cms pages and then if they doesn't exist in the Store show near N/A

    Code:
    $pages = Mage::getModel('cms/page')->getCollection()
                ->addFieldToFilter('is_active', 1)
                ->addStoreFilter(Mage::app()->getWebsite()->getId());
    As result it's should be all active page with field store, and if page not exist in store show N/A on return in query null result. It's should by join by two tables cms_page and core_store as I understand.

    View more threads in the same category:


  2. #2
    Junior Member
    Join Date
    Sep 2018
    Location
    Oman, Muscat
    Posts
    809
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default

    Coding of Injuries When coding injuries, assign separate codes for each injury. Unspecified multiple injuries should not be assigned in the inpatient setting Fractures of specified sites are coded individually by site in accordance with .C) for each encounter where the patient is receiving active treatment for the fracture.

  3. #3
    Junior Member
    Join Date
    Sep 2018
    Posts
    775
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Magento allows you to have multiple stores and you can assign different root. if you do not have any products assigned to the new category it will not display. • Categories must be active: If you create a new category, you must select yes from the CMS Blocks that act as mini landing pages for each one of your categories.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •