The Context module allows you to manage contextual conditions and reactions for different portions of your site.
0
votes
1answer
21 views
Does a Context Condition Path need to exist?
I have a context that has a condition Path of FooBar/*
I added a block (Reaction) view for that context.
When I go to /FooBar/Mens_Bible_Studies, the view shows, but I also get "Page not found"?
Page ...
0
votes
0answers
24 views
I'm having a problem getting Context to work properly
I'm having a kind of weird problem with the Context module in my Drupal 7 environment. I have the module installed and enabled, however, when I go to Structure --> Context --> Add, the Add Context ...
0
votes
0answers
11 views
Path-based context and URL aliases - wrong block shown
My (Drupal 7) site has a search which uses two blocks - one for entering the criteria and one for the results.
(For brevity, I won't explain in detail why I need two blocks but it's basically because ...
1
vote
1answer
19 views
Use Context to load JavaScript on certain pages
Is it possible to load a JavaScript file on certain pages with the Context module?
1
vote
1answer
24 views
Context reaction : Exclude specific block?
I've got a website with 3 large contexts :
- internet
- intranet
- shop
These 3 contexts are "tight" (sorry about my english, I think this is the word).
My Block UI (admin/build/block) provides to ...
0
votes
2answers
31 views
Updating a module via backend or manually didn't work. No drush available. What else can I try?
I have to administrate a site I didn't build. An older version (7.x-3.0-beta4) of http://drupal.org/project/context (7.x-3.0-beta6) gives me security alerts and suggests to update immeditaley(!).
The ...
0
votes
0answers
16 views
How do I set a context on a non-empty “long text”?
I have a context I want to set where I want it triggered on a particular long text field if the field has any text in it. But Context only has a check box for "trigger if empty" or a text box to ...
0
votes
1answer
33 views
Any way to add a Theme-based contextual filter to a view?
Essentially, I want Drupal to only use the view if the proper theme is active.
This will apply to a mobile theme to be more specific. If desktop, use this view, else -- use this one. Is this ...
0
votes
2answers
26 views
Unflag all entities when a page is viewed
I am using the Message module in combination with the Flag module in order to build a simple notifications system for my site.
More specifically i have created a page in views showing all (new) ...
4
votes
3answers
100 views
Trigger context by filter value?
I need to essentially trigger a context when a certain filter value is selected. Basically, in a view, when a filter is selected, based on the value selected I need to display a certain block.
Does ...
2
votes
1answer
33 views
How to establish a condition to show another view if the first view has no results?
I have some blocks with views that show upcoming events of different categories. Now, if one category has no results, how can i trigger another views-block with another category (that is normally not ...
0
votes
0answers
36 views
D7 Node Add/Edit Context
I'm running Organic Groups with context. On the node add/edit forms I'd like to ONLY show content that is part of a user's group. For instance:
Two Content Types:
Company - Group
Location - Group ...
0
votes
0answers
20 views
How to have two view panes in one Panel, so that selecting a node title in View A displays the content for that node in View B? Do I HAVE to use AJAX?
I have been playing around with view panes, panels and context, and am struggling to find the best approach for the below:
I have a Panel which, say, is my Home Page and contains various elements.
...
0
votes
0answers
47 views
Drupal Node Add/Edit Populate Context
I'm running Drupal 7 new releases with Organic Groups and OG Context. I'm able to use Entity Reference prepopulate to automatically add content to my group without selecting the group name. This is ...
0
votes
1answer
69 views
Organic Groups Add Group Content Context
How can I setup a link on a group page to add content that automatically selects the group audience as the referred group?
For instance:
I'm a member of the group "Puppy Kittens" and I'm logged in ...
1
vote
1answer
51 views
Create Context Based on Field File Type
I want a means of triggering a different Context depending on the type of file used in a field on a given content type.
I have been struggling with trying to achieve this for a few days/weeks now ...
0
votes
2answers
64 views
How can I modify body class based on non-taxonomy node data?
I need to add a custom class to my html <body> tag when certain elements are present in content (namely, either a featured image or image gallery, both of which are added to content using Entity ...
1
vote
0answers
32 views
display 2 instances of same block - performance
I need to use the same block on one page on different locations at once. What would be the best option to achieve it, so it would be best for performance? I use context module and I can duplicate ...
2
votes
0answers
81 views
How do I get a list of Drupal 7 active contexts for the current page/form in hook_form_alter?
I have several contexts defined for my site. In hook_form_alter I need to find out which of them are active. I am trying to use context_active_contexts, but that is only showing 2 of the (at least) 3 ...
1
vote
1answer
69 views
Is there any performance issues in using Omega theme with Context, Delta and Panels modules?
Is there any performance issues in using Omega theme with Context/Delta modules and Panels module too? (I mean the context standalone menu, not the one inside panels)
Is there any known issue? I´ve ...
0
votes
0answers
18 views
Select the Context/Layer to Edit - Now Editing
I am using the context module in order to display a block depending on the node type. I've managed to get the following to display on a particular node type, which I guess is a start:
Select the ...
1
vote
1answer
91 views
Menus and mobile sites
We're using a theme based off Adaptive Theme, but even dropping columns below the main content still has undesired rendering outcome. When region-sidebar-first drops below content-inner there is a ...
1
vote
1answer
98 views
Change site logo for an specific content type
I'm building a really simple site and I came into this question now. The site has a few content types and one of them acts as a moderated wiki (only users with a certain role may create/edit that ...
1
vote
1answer
106 views
Multiple aliases, context and menu items (Drupal 7)
I have a site with 2 sections of content, A and B. I have a node, 'Z' that needs to appear in each area. I also have a different menu for each area, e.g.
Section 'A'
link 1
link 2
link Z -> should ...
0
votes
0answers
43 views
Display Block only on users profile2
I am using vies3, profile2 and context to display the users created content on their profile2 page. Using context i can allow the block to be display on the users drupal profile, how can i extend this ...
1
vote
1answer
73 views
How can I edit the search form?
I have an OpenAtrium distribution installed on Drupal 6. As you may already know OpenAtrium already implements a search feature. What I'd like to do is change the following form:
by adding another ...
2
votes
1answer
60 views
Custom block displayed via Contexts not being shown to anonymous users
I am running a Drupal 6 site and I have created a custom block to display a banner ad. The site uses Contexts to display blocks. However I noticed that the block was not getting displayed for ...
1
vote
0answers
47 views
Different content in same blocks through different contexts
This is probably simple and has likely has already been asked but I can't find it anywhere else on here.
I currently have context, delta, and omega installed. I'm currently using the content block ...
0
votes
0answers
45 views
D6: Dynamic menu structure / views arguments
I've been struggling to add a context-sensitive menu block to my site. If I am managing a content type "foo", such that I have a number of views pages using arguments, in the form of:
...
0
votes
1answer
44 views
How to load to panels a referenced node?
I have the user profile panel and I want to load in the panel a node that is referencing this user.
There is a trick to load a view in the panel,but I don't know exactly how to do this...
Can somebody ...
0
votes
1answer
40 views
Context Module set default block
I am looking to have a subfooter that I can toggle with all types of rich content based on the page that visitors are on. I would like to be able to say the homepage has this block, the blog section ...
0
votes
0answers
46 views
Contextual Links - tokens failing to resolve
I'm trying to add a contextual link for editing the node content of an Ubercart product from a custom view (in D7).
I'm using the Custom Contextual Link (CCL) module, and I'm having trouble creating ...
0
votes
0answers
31 views
What is the best way to group blocks using Context Module?
I'm using Context Module to locate my blocks within a specific region based on my theme, in some cases I need to group two or more blocks together so it will be easier for me to style all blocks ...
1
vote
2answers
133 views
Can you get any view to list content based on a field value?
I am trying to get a list view in a panels node template to show content based on a text field of the currently viewed node.
Just to give you more information I am including my setup below:
Content ...
0
votes
1answer
164 views
Context in Drupal 7
When I install the context module in Drupal 7, it works but does not display all the options for reactions. So I created my context, but was not able to built it like I wanted because the "Block" ...
0
votes
1answer
789 views
Add PHP code to a node
Is it possible to add PHP code to a node? I have enabled the Context and Context PHP modules.
May anyone please tell me how I can do?
0
votes
0answers
80 views
Possible to have page callback and active context working together?
In Drupal 7 I am overriding the default taxonomy term page for a vocabulary, as described in this question. I implemented hook_menu_alter:
function mymodule_menu_alter(&$menu) {
if ...
0
votes
1answer
49 views
Context select submenu
I'm trying to enable a submenu item through context rules.
However, the Context is consistently trying to select only the top parent item, and not the submenu. I tried few times on completely clean ...
0
votes
0answers
43 views
How can I prevent anonymous users from accessing page view using the Context module?
I have created a page to display list of events using views. Now I want to use the Context module to hide the list of events from anonymous users. So I did my research on how hiding a page content ...
0
votes
1answer
29 views
Context.module fires blocks on access denied pages. How do I stop this?
The context.module fires block regions on the access denied page if the condition for the context is path. I don't have much of a choice in triggers other than path for these pages. How to do I ...
3
votes
2answers
142 views
How can I show a block in a view page, excluding it's paginated pages
I want to place put a block in a view page. Let's say 'news' page. Path is: 'http://www.mysite.com/news'
The view uses pager to list the contents.
I want a block to show up only in the very ...
2
votes
1answer
62 views
altering css / asset weight after it's been added?
I'm using context add assets to add a stylesheet.
It's currently being loaded correctly based on a context; but now it's loading before my global.css stylesheet. I would like blog to load after ...
4
votes
2answers
143 views
How to replace teaser/content for anonymous users
I'm kind of new to Drupal so please bear with me. My question is, is it possible to replace the teaser/content for anonymous users? I have some restricted content but I don't want it to be removed and ...
1
vote
2answers
150 views
Is there a way to globally redirect taxonomy paths — on a pattern?
I know there is url alias but what I need to happen is the taxonomy path be redirected to a view. The itemization will be from a tag. This tag basically controls a views output. I want to have that ...
0
votes
1answer
21 views
Using version control/deployments with Context
I've started to use Context. It actually works pretty well. I've created a context locally. It looks like, in order to get that context remotely, I have to export it and then copy and paste that into ...
1
vote
1answer
102 views
Organic Groups Support for Context Module
I would like to achieve following functionality.
In Context Conditions check Group Type such as Pubic, Private, Moderate
Check User is member of a Group or Not !
Is it possible using any module ?? ...
1
vote
0answers
70 views
Context module not displaying block on panels' taxonomy page
I am overriding a taxonomy term page with panels and I need context (module) to display a block for the taxonomy term.
When I use the default taxonomy Page (no override), the context is active, but ...
2
votes
1answer
49 views
Context - no reaction
I just installed context 3 on my drupal 6 site. I updated ctools to latest version (1.9) as suggested. Everything looks fine and I can enter conditions and reactions. The problem is that nothing ...
0
votes
0answers
124 views
Does Drupal Context Module check block visibility settings before rendering them?
I am using Drupal 7.14 and Context module 7.x-3.0-beta4 .
I set block visibility settings and context modules doesn't seems to be checking them before rendering. Only context conditions are validated ...
1
vote
1answer
362 views
What is the Context column for in String Overrides module?
With Drupal 7 I have the String Overrides module and there's a coulmn called "Context." I was wondering what this is for?
I was thinking maybe I could type in something like 'user/' and the string ...


