Move function greences_preprocess_page from theme greences (https://drupal.org/sandbox/esteve/1866046) to the ces module, to make the module theme-independent. Make variables like exchange name usables for any theme. (Now only shows the exchange name when theme greences is installed) See issue https://drupal.org/node/2204511 in theme greences.

Comments

xavip’s picture

Status: Needs work » Needs review

Commited new ces_preprocess_page function in ces.module. In branch 7.x-1.x-dev

esteve.badia’s picture

Status: Needs review » Closed (fixed)

Tested and merged to branch 7.x-1.x.

It is a good design decision to move this function to ces module instead of in theme. Good job Xavi :)

  • Commit 8ccaf4d on 7.x-1.x, 2216627-docs, 1916476-Import_data_from_CES, 1401884-Notifications by XaviP:
    Issue #2206883 - new ces_preprocess_page function in ces.module (comes...

  • Commit 8ccaf4d on 7.x-1.x, 2216627-docs, 1916476-Import_data_from_CES, 1401884-Notifications, 2215167-interop by XaviP:
    Issue #2206883 - new ces_preprocess_page function in ces.module (comes...

  • Commit 8ccaf4d on 7.x-1.x, 2216627-docs, 1916476-Import_data_from_CES, 1401884-Notifications, 2215167-interop, 2215169-interop by XaviP:
    Issue #2206883 - new ces_preprocess_page function in ces.module (comes...

  • Commit 8ccaf4d on 7.x-1.x, 2216627-docs, 1916476-Import_data_from_CES, 1401884-Notifications, 2215167-interop, 2215169-interop, 2215171-interop by XaviP:
    Issue #2206883 - new ces_preprocess_page function in ces.module (comes...

  • Commit 8ccaf4d on 7.x-1.x, 2215167-interop, 2215169-interop, 2215171-interop, 1401884-Notifications by XaviP:
    Issue #2206883 - new ces_preprocess_page function in ces.module (comes...

  • Commit 8ccaf4d on 7.x-1.x, 2215167-interop, 2215169-interop, 2215171-interop, 1401884-Notifications, 1401884-Notifications_b by XaviP:
    Issue #2206883 - new ces_preprocess_page function in ces.module (comes...

  • Commit 8ccaf4d on 7.x-1.x, 2215167-interop, 2215169-interop, 2215171-interop, 1401884-Notifications, 1401884-Notifications_b, 2271149-opentransact by XaviP:
    Issue #2206883 - new ces_preprocess_page function in ces.module (comes...

  • Commit 8ccaf4d on 7.x-1.x, 2215167-interop, 2215169-interop, 2215171-interop, 1401884-Notifications, 1401884-Notifications_b, 2271149-opentransact, 2271629-Comments_in_offers by XaviP:
    Issue #2206883 - new ces_preprocess_page function in ces.module (comes...

  • Commit 8ccaf4d on 7.x-1.x, 2215167-interop, 2215169-interop, 2215171-interop, 1401884-Notifications_b, 2271149-opentransact, 2271629-Comments_in_offers, 1996122-Module_code_documentation by XaviP:
    Issue #2206883 - new ces_preprocess_page function in ces.module (comes...

  • Commit 8ccaf4d on 7.x-1.x, 2215167-interop, 2215169-interop, 2215171-interop, 1401884-Notifications_b, 2271149-opentransact, 1996122-Module_code_documentation, 2283781-accept-payments by XaviP:
    Issue #2206883 - new ces_preprocess_page function in ces.module (comes...