From maria_avila78 at yahoo.com Tue May 1 12:59:30 2012 From: maria_avila78 at yahoo.com (Maria avila) Date: Tue, 1 May 2012 05:59:30 -0700 (PDT) Subject: [themes] Question about Drupal File System Message-ID: <1335877170.29525.YahooMailClassic@web161306.mail.bf1.yahoo.com> Hello Experts, ? I would like to understand how Drupal stores the content, it is an specific File System used, can any FS be implemented like for example QFS. I could not find that type of information in the documentation would you please guide me. ? Thanks in advance MJ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/themes/attachments/20120501/c6326284/attachment.html From tonyyarusso at gmail.com Tue May 1 14:51:13 2012 From: tonyyarusso at gmail.com (Tony Yarusso) Date: Tue, 1 May 2012 09:51:13 -0500 Subject: [themes] Question about Drupal File System In-Reply-To: <1335877170.29525.YahooMailClassic@web161306.mail.bf1.yahoo.com> References: <1335877170.29525.YahooMailClassic@web161306.mail.bf1.yahoo.com> Message-ID: Drupal just stores things on the existing system filesystem, whatever that may be, and in the database. It doesn't really care what you use for the system. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/themes/attachments/20120501/e6fd9048/attachment.html From fabian.delgado at live.com Thu May 24 03:36:48 2012 From: fabian.delgado at live.com (Fabian Delgado) Date: Thu, 24 May 2012 00:36:48 -0300 Subject: [themes] Taxonomies Drupal 7 Message-ID: I need something like this but for taxonomies for template.php. / * Display page based node * / pushbutton_preprocess_page function (& $ vars) { if (arg (1) == 26) {/ / node26 $ vars ['theme_hook_suggestions'] [] = 'page__portada'; } If (arg (1) == 24) {/ / node 24 $ vars ['theme_hook_suggestions'] [] = 'page__about'; } } Thankyou Community -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/themes/attachments/20120524/e262cbe3/attachment.html From listmail.ayendesigns at gmail.com Mon May 28 14:46:35 2012 From: listmail.ayendesigns at gmail.com (Jeff Greenberg) Date: Mon, 28 May 2012 10:46:35 -0400 Subject: [themes] D7 adding a themed item to a region Message-ID: I am displaying a large image in a front-page region. Currently I hook process_region in template.php, set a variable = theme('image'), and print it. I'm thinking that rather than printing it from the hook, I'd rather add it to $page[my_region_name] and let it get printed when the template prints render[my_region_name]. Where do I add it, or what do I call to add it? I tried doing things in the hook like $vars[page][my_region_name][content][] = $my_themed_image, but that doesn't work. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/themes/attachments/20120528/8a76a5e9/attachment.html From listmail.ayendesigns at gmail.com Mon May 28 15:35:04 2012 From: listmail.ayendesigns at gmail.com (Jeff Greenberg) Date: Mon, 28 May 2012 11:35:04 -0400 Subject: [themes] Floating blocks in a responsive theme Message-ID: I'm using a responsive theme. On the home page I have a large image, and a block of text that gets floated (not in the css float sense, just the general term) over the image. I'm thinking about the mobile presentation, and that I will want the block of text to appear above or below the image in that context. And that leaves me completely confused as to how to position the block. I'm using my_sub_theme -> tundra -> arctica. The documentation for actica/tundra is lacking, though there is much built into them. Is there a way to do it so that they will automatically position it properly when responding to a mobile request? The 'old school' way would be to make the block positioned absolute within the region, and make the region positioning relative, or to create a subregion that lays on top of the region, but I'm fairly certain this would not be the way to approach it. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/themes/attachments/20120528/8ce0bba5/attachment.html From carl.wiedemann at gmail.com Mon May 28 17:04:51 2012 From: carl.wiedemann at gmail.com (Carl Wiedemann) Date: Mon, 28 May 2012 13:04:51 -0400 Subject: [themes] D7 adding a themed item to a region In-Reply-To: References: Message-ID: Render arrays are very specific, so you'd likely have to add it via $page['some_key']['#markup'] => $output; I'd recommend doing these things in the preprocess function, not the process function. Preprocess is generally better understood and has more historic precedence. Unless you have an explicit reason to use render(), I don't see any harm in creating your own variables in the preprocessor and printing them directly. Carl Wiedemann Website design & development consulting | c4rl.ws carl.wiedemann at gmail.com | skype: c4rlww On Mon, May 28, 2012 at 10:46 AM, Jeff Greenberg < listmail.ayendesigns at gmail.com> wrote: > I am displaying a large image in a front-page region. Currently I hook > process_region in template.php, set a variable = theme('image'), and print > it. > > I'm thinking that rather than printing it from the hook, I'd rather add it > to $page[my_region_name] and let it get printed when the template prints > render[my_region_name]. > > Where do I add it, or what do I call to add it? I tried doing things in > the hook like $vars[page][my_region_name][content][] = $my_themed_image, > but that doesn't work. > > _______________________________________________ > themes mailing list > themes at drupal.org > http://lists.drupal.org/mailman/listinfo/themes > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/themes/attachments/20120528/7f73bc22/attachment.html From carl.wiedemann at gmail.com Mon May 28 17:17:31 2012 From: carl.wiedemann at gmail.com (Carl Wiedemann) Date: Mon, 28 May 2012 13:17:31 -0400 Subject: [themes] Floating blocks in a responsive theme In-Reply-To: References: Message-ID: I'd recommend using JavaScript instead. You may also be interested in some responsive image techniques, here's a good summary: http://adactio.com/journal/4997/ Carl Wiedemann Website design & development consulting | c4rl.ws carl.wiedemann at gmail.com | skype: c4rlww On Mon, May 28, 2012 at 11:35 AM, Jeff Greenberg < listmail.ayendesigns at gmail.com> wrote: > I'm using a responsive theme. On the home page I have a large image, and a > block of text that gets floated (not in the css float sense, just the > general term) over the image. > > I'm thinking about the mobile presentation, and that I will want the block > of text to appear above or below the image in that context. And that leaves > me completely confused as to how to position the block. > > I'm using my_sub_theme -> tundra -> arctica. The documentation for > actica/tundra is lacking, though there is much built into them. Is there a > way to do it so that they will automatically position it properly when > responding to a mobile request? The 'old school' way would be to make the > block positioned absolute within the region, and make the region > positioning relative, or to create a subregion that lays on top of the > region, but I'm fairly certain this would not be the way to approach it. > > _______________________________________________ > themes mailing list > themes at drupal.org > http://lists.drupal.org/mailman/listinfo/themes > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/themes/attachments/20120528/9ec23bc8/attachment.html From listmail.ayendesigns at gmail.com Mon May 28 21:36:48 2012 From: listmail.ayendesigns at gmail.com (Jeff Greenberg) Date: Mon, 28 May 2012 17:36:48 -0400 Subject: [themes] D7 adding a themed item to a region In-Reply-To: References: Message-ID: I have two isdues doing that. If I print from the preprocess or process function, the image appears but its html appears before the section tag for that region instead of inside it. Also, if I add the themed image variable to $vars, it isn't available in the page template. Sent from my iPhone On May 28, 2012, at 1:04 PM, Carl Wiedemann wrote: > Render arrays are very specific, so you'd likely have to add it via $page['some_key']['#markup'] => $output; > > I'd recommend doing these things in the preprocess function, not the process function. Preprocess is generally better understood and has more historic precedence. > > Unless you have an explicit reason to use render(), I don't see any harm in creating your own variables in the preprocessor and printing them directly. > > Carl Wiedemann > Website design & development consulting | c4rl.ws > carl.wiedemann at gmail.com | skype: c4rlww > > > > On Mon, May 28, 2012 at 10:46 AM, Jeff Greenberg wrote: > I am displaying a large image in a front-page region. Currently I hook process_region in template.php, set a variable = theme('image'), and print it. > > I'm thinking that rather than printing it from the hook, I'd rather add it to $page[my_region_name] and let it get printed when the template prints render[my_region_name]. > > Where do I add it, or what do I call to add it? I tried doing things in the hook like $vars[page][my_region_name][content][] = $my_themed_image, but that doesn't work. > > _______________________________________________ > themes mailing list > themes at drupal.org > http://lists.drupal.org/mailman/listinfo/themes > > > _______________________________________________ > themes mailing list > themes at drupal.org > http://lists.drupal.org/mailman/listinfo/themes -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/themes/attachments/20120528/7db83f19/attachment.html From listmail.ayendesigns at gmail.com Tue May 29 01:50:43 2012 From: listmail.ayendesigns at gmail.com (Jeff Greenberg) Date: Mon, 28 May 2012 21:50:43 -0400 Subject: [themes] Corralling a stray button Message-ID: In D7, in template.php, I'm hooking preprocess_page and setting a $vars[] variable = theme_button. In a block, I have this:
The button appears in the page source outside of those enclosing divs. What am I doing wrong? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/themes/attachments/20120528/ba79b6d0/attachment-0001.html From carl.wiedemann at gmail.com Tue May 29 12:27:28 2012 From: carl.wiedemann at gmail.com (Carl Wiedemann) Date: Tue, 29 May 2012 08:27:28 -0400 Subject: [themes] Corralling a stray button In-Reply-To: References: Message-ID: Global variables are not necessary and should be avoided. Does it *visually* appear outside of the enclosing divs, or are you talking strictly about the markup? The former could indicate a mere CSS error. Consider providing a pastebin of both the preprocess and markup to help diagnose. Carl Wiedemann Website design & development consulting | c4rl.ws carl.wiedemann at gmail.com | skype: c4rlww On Mon, May 28, 2012 at 9:50 PM, Jeff Greenberg < listmail.ayendesigns at gmail.com> wrote: > In D7, in template.php, I'm hooking preprocess_page and setting a $vars[] > variable = theme_button. > > In a block, I have this: > > >
> > The button appears in the page source outside of those enclosing divs. > What am I doing wrong? > > > _______________________________________________ > themes mailing list > themes at drupal.org > http://lists.drupal.org/mailman/listinfo/themes > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/themes/attachments/20120529/0c27655c/attachment.html From carl.wiedemann at gmail.com Tue May 29 12:29:51 2012 From: carl.wiedemann at gmail.com (Carl Wiedemann) Date: Tue, 29 May 2012 08:29:51 -0400 Subject: [themes] D7 adding a themed item to a region In-Reply-To: References: Message-ID: Consider using hook_page_alter() or an alternative non-code approach such as Panels or Display Suite. Carl Wiedemann Website design & development consulting | c4rl.ws carl.wiedemann at gmail.com | skype: c4rlww On Mon, May 28, 2012 at 5:36 PM, Jeff Greenberg < listmail.ayendesigns at gmail.com> wrote: > I have two isdues doing that. If I print from the preprocess or process > function, the image appears but its html appears before the section tag for > that region instead of inside it. > > Also, if I add the themed image variable to $vars, it isn't available in > the page template. > > Sent from my iPhone > > On May 28, 2012, at 1:04 PM, Carl Wiedemann > wrote: > > Render arrays are very specific, so you'd likely have to add it via > $page['some_key']['#markup'] => $output; > > I'd recommend doing these things in the preprocess function, not the > process function. Preprocess is generally better understood and has more > historic precedence. > > Unless you have an explicit reason to use render(), I don't see any harm > in creating your own variables in the preprocessor and printing them > directly. > > Carl Wiedemann > Website design & development consulting | c4rl.ws > carl.wiedemann at gmail.com | skype: c4rlww > > > > On Mon, May 28, 2012 at 10:46 AM, Jeff Greenberg < > listmail.ayendesigns at gmail.com> wrote: > >> I am displaying a large image in a front-page region. Currently I hook >> process_region in template.php, set a variable = theme('image'), and print >> it. >> >> I'm thinking that rather than printing it from the hook, I'd rather add >> it to $page[my_region_name] and let it get printed when the template prints >> render[my_region_name]. >> >> Where do I add it, or what do I call to add it? I tried doing things in >> the hook like $vars[page][my_region_name][content][] = $my_themed_image, >> but that doesn't work. >> >> _______________________________________________ >> themes mailing list >> themes at drupal.org >> http://lists.drupal.org/mailman/listinfo/themes >> >> > _______________________________________________ > themes mailing list > themes at drupal.org > http://lists.drupal.org/mailman/listinfo/themes > > > _______________________________________________ > themes mailing list > themes at drupal.org > http://lists.drupal.org/mailman/listinfo/themes > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/themes/attachments/20120529/c1f927b9/attachment.html From jeff at ayendesigns.com Tue May 29 13:42:36 2012 From: jeff at ayendesigns.com (Jeff Greenberg) Date: Tue, 29 May 2012 09:42:36 -0400 Subject: [themes] Corralling a stray button In-Reply-To: References: Message-ID: Both, and it's because there is no static markup for the region in the page template. All the region markup comes from a render call, so I assume the preprocess hook is firing prior to the render creating the region markup. Sent from my iPhone On May 29, 2012, at 8:27 AM, Carl Wiedemann wrote: > Global variables are not necessary and should be avoided. > > Does it *visually* appear outside of the enclosing divs, or are you talking strictly about the markup? The former could indicate a mere CSS error. > > Consider providing a pastebin of both the preprocess and markup to help diagnose. > > Carl Wiedemann > Website design & development consulting | c4rl.ws > carl.wiedemann at gmail.com | skype: c4rlww > > > > On Mon, May 28, 2012 at 9:50 PM, Jeff Greenberg wrote: > In D7, in template.php, I'm hooking preprocess_page and setting a $vars[] variable = theme_button. > > In a block, I have this: > > >
> > The button appears in the page source outside of those enclosing divs. What am I doing wrong? > > > _______________________________________________ > themes mailing list > themes at drupal.org > http://lists.drupal.org/mailman/listinfo/themes > > > _______________________________________________ > themes mailing list > themes at drupal.org > http://lists.drupal.org/mailman/listinfo/themes -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/themes/attachments/20120529/d4de3f25/attachment.html From listmail.ayendesigns at gmail.com Wed May 30 12:46:42 2012 From: listmail.ayendesigns at gmail.com (Jeff Greenberg) Date: Wed, 30 May 2012 08:46:42 -0400 Subject: [themes] Corralling a stray button In-Reply-To: References: Message-ID: So here is what I discovered. It is something that Drupal is doing in rendering. Here is an uncomplicated html example that works fine in a .html file
This is a test
In Drupal, my outer div is the region, which I mark as relative positioning in the css. The inner div is a block, which I mark as absolute positioning in the css. The block appears correctly. The button, whether I create it via $mybutton=theme(button), or create it via $mybutton=", I have tried printing the variable from the template and inside the block, and the markup always ends up like this:
block stuff
On Tue, May 29, 2012 at 8:27 AM, Carl Wiedemann wrote: > Global variables are not necessary and should be avoided. > > Does it *visually* appear outside of the enclosing divs, or are you > talking strictly about the markup? The former could indicate a mere CSS > error. > > Consider providing a pastebin of both the preprocess and markup to help > diagnose. > > Carl Wiedemann > Website design & development consulting | c4rl.ws > carl.wiedemann at gmail.com | skype: c4rlww > > > > On Mon, May 28, 2012 at 9:50 PM, Jeff Greenberg < > listmail.ayendesigns at gmail.com> wrote: > >> In D7, in template.php, I'm hooking preprocess_page and setting a $vars[] >> variable = theme_button. >> >> In a block, I have this: >> >> >>
>> >> The button appears in the page source outside of those enclosing divs. >> What am I doing wrong? >> >> >> _______________________________________________ >> themes mailing list >> themes at drupal.org >> http://lists.drupal.org/mailman/listinfo/themes >> >> > > _______________________________________________ > themes mailing list > themes at drupal.org > http://lists.drupal.org/mailman/listinfo/themes > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/themes/attachments/20120530/61498bd6/attachment.html From carl.wiedemann at gmail.com Wed May 30 12:56:19 2012 From: carl.wiedemann at gmail.com (Carl Wiedemann) Date: Wed, 30 May 2012 08:56:19 -0400 Subject: [themes] Corralling a stray button In-Reply-To: References: Message-ID: I think if you want anyone to be able to diagnose what is actually happening please provide a pastebin of your template.php and the resulting HTML. Carl Wiedemann Website design & development consulting | c4rl.ws carl.wiedemann at gmail.com | skype: c4rlww On Wed, May 30, 2012 at 8:46 AM, Jeff Greenberg < listmail.ayendesigns at gmail.com> wrote: > So here is what I discovered. It is something that Drupal is doing in > rendering. Here is an uncomplicated html example that works fine in a .html > file > >
>
> This is a test > >
>
> > In Drupal, my outer div is the region, which I mark as relative > positioning in the css. The inner div is a block, which I mark as absolute > positioning in the css. The block appears correctly. The button, whether I > create it via $mybutton=theme(button), or create it via $mybutton=" type=button>, I have tried printing the variable from the template and > inside the block, and the markup always ends up like this: > >
>
> block stuff >
>
> > > On Tue, May 29, 2012 at 8:27 AM, Carl Wiedemann wrote: > >> Global variables are not necessary and should be avoided. >> >> Does it *visually* appear outside of the enclosing divs, or are you >> talking strictly about the markup? The former could indicate a mere CSS >> error. >> >> Consider providing a pastebin of both the preprocess and markup to help >> diagnose. >> >> Carl Wiedemann >> Website design & development consulting | c4rl.ws >> carl.wiedemann at gmail.com | skype: c4rlww >> >> >> >> On Mon, May 28, 2012 at 9:50 PM, Jeff Greenberg < >> listmail.ayendesigns at gmail.com> wrote: >> >>> In D7, in template.php, I'm hooking preprocess_page and setting a >>> $vars[] variable = theme_button. >>> >>> In a block, I have this: >>> >>> >>>
>>> >>> The button appears in the page source outside of those enclosing divs. >>> What am I doing wrong? >>> >>> >>> _______________________________________________ >>> themes mailing list >>> themes at drupal.org >>> http://lists.drupal.org/mailman/listinfo/themes >>> >>> >> >> _______________________________________________ >> themes mailing list >> themes at drupal.org >> http://lists.drupal.org/mailman/listinfo/themes >> >> > > _______________________________________________ > themes mailing list > themes at drupal.org > http://lists.drupal.org/mailman/listinfo/themes > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/themes/attachments/20120530/3c10d4a6/attachment.html From pinglaura at gmail.com Wed May 30 16:26:49 2012 From: pinglaura at gmail.com (Laura Scott) Date: Wed, 30 May 2012 09:26:49 -0700 Subject: [themes] Corralling a stray button In-Reply-To: References: Message-ID: Have you tried defining all the markup in template.php to be included in output, and simply calling the variable in your tpl? Laura Scott via tablet On May 30, 2012, at 5:46 AM, Jeff Greenberg wrote: > So here is what I discovered. It is something that Drupal is doing in rendering. Here is an uncomplicated html example that works fine in a .html file > >
>
> This is a test > >
>
> > In Drupal, my outer div is the region, which I mark as relative positioning in the css. The inner div is a block, which I mark as absolute positioning in the css. The block appears correctly. The button, whether I create it via $mybutton=theme(button), or create it via $mybutton=", I have tried printing the variable from the template and inside the block, and the markup always ends up like this: > >
>
> block stuff >
>
> > > On Tue, May 29, 2012 at 8:27 AM, Carl Wiedemann wrote: > Global variables are not necessary and should be avoided. > > Does it *visually* appear outside of the enclosing divs, or are you talking strictly about the markup? The former could indicate a mere CSS error. > > Consider providing a pastebin of both the preprocess and markup to help diagnose. > > Carl Wiedemann > Website design & development consulting | c4rl.ws > carl.wiedemann at gmail.com | skype: c4rlww > > > > On Mon, May 28, 2012 at 9:50 PM, Jeff Greenberg wrote: > In D7, in template.php, I'm hooking preprocess_page and setting a $vars[] variable = theme_button. > > In a block, I have this: > > >
> > The button appears in the page source outside of those enclosing divs. What am I doing wrong? > > > _______________________________________________ > themes mailing list > themes at drupal.org > http://lists.drupal.org/mailman/listinfo/themes > > > > _______________________________________________ > themes mailing list > themes at drupal.org > http://lists.drupal.org/mailman/listinfo/themes > > > _______________________________________________ > themes mailing list > themes at drupal.org > http://lists.drupal.org/mailman/listinfo/themes -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/themes/attachments/20120530/ac502996/attachment.html From listmail.ayendesigns at gmail.com Wed May 30 16:38:33 2012 From: listmail.ayendesigns at gmail.com (Jeff Greenberg) Date: Wed, 30 May 2012 12:38:33 -0400 Subject: [themes] Corralling a stray button In-Reply-To: References: Message-ID: <224D8D91-1FF4-4B9B-AE80-8191D97D4B01@gmail.com> Do you mean the content of what is now a block, instead of using a block? No, I'll give that a try. Sent from my iPhone On May 30, 2012, at 12:26 PM, Laura Scott wrote: > Have you tried defining all the markup in template.php to be included in output, and simply calling the variable in your tpl? > > Laura Scott > via tablet > From listmail.ayendesigns at gmail.com Wed May 30 23:40:06 2012 From: listmail.ayendesigns at gmail.com (Jeff Greenberg) Date: Wed, 30 May 2012 19:40:06 -0400 Subject: [themes] Corralling a stray button In-Reply-To: References: Message-ID: That worked, to a point. The button stays with the text doing that, but, it introduces another problem. In this theme, in the page template, the regions, including the one I'm using, are coded like this: and what happens is, after I create the output I want: if (drupal_is_front_page()) { global $my_theme_path; $featured_image_path = $my_theme_path . '/files/frontpage_feature.png'; drupal_add_css('div.region-featured {background-image: url(' . $featured_image_path . ')}', 'inline'); $vars['my_button'] = theme('button', array('element' => array('#attributes' => array('id' => 'my-button'), '#button_type' => 'button', '#value' => t('Test')))); $vars['feature'] = '
some text
' . $vars['my_button'] . '
'; } I then have the problem of trying to get it to print within the region. If I change the line to: I get the above content printing, but without any markup for the 'featured' region, because this content does not get added to the region, and the region contains no other content, no markup appears for it. On Wed, May 30, 2012 at 12:26 PM, Laura Scott wrote: > Have you tried defining all the markup in template.php to be included in > output, and simply calling the variable in your tpl? > > Laura Scott > via tablet > > On May 30, 2012, at 5:46 AM, Jeff Greenberg < > listmail.ayendesigns at gmail.com> wrote: > > So here is what I discovered. It is something that Drupal is doing in > rendering. Here is an uncomplicated html example that works fine in a .html > file > >
>
> This is a test > >
>
> > In Drupal, my outer div is the region, which I mark as relative > positioning in the css. The inner div is a block, which I mark as absolute > positioning in the css. The block appears correctly. The button, whether I > create it via $mybutton=theme(button), or create it via $mybutton=" type=button>, I have tried printing the variable from the template and > inside the block, and the markup always ends up like this: > >
>
> block stuff >
>
> > > On Tue, May 29, 2012 at 8:27 AM, Carl Wiedemann wrote: > >> Global variables are not necessary and should be avoided. >> >> Does it *visually* appear outside of the enclosing divs, or are you >> talking strictly about the markup? The former could indicate a mere CSS >> error. >> >> Consider providing a pastebin of both the preprocess and markup to help >> diagnose. >> >> Carl Wiedemann >> Website design & development consulting | c4rl.ws >> carl.wiedemann at gmail.com | skype: c4rlww >> >> >> >> On Mon, May 28, 2012 at 9:50 PM, Jeff Greenberg < >> listmail.ayendesigns at gmail.com> wrote: >> >>> In D7, in template.php, I'm hooking preprocess_page and setting a >>> $vars[] variable = theme_button. >>> >>> In a block, I have this: >>> >>> >>>
>>> >>> The button appears in the page source outside of those enclosing divs. >>> What am I doing wrong? >>> >>> >>> _______________________________________________ >>> themes mailing list >>> themes at drupal.org >>> http://lists.drupal.org/mailman/listinfo/themes >>> >>> >> >> _______________________________________________ >> themes mailing list >> themes at drupal.org >> http://lists.drupal.org/mailman/listinfo/themes >> >> > _______________________________________________ > themes mailing list > themes at drupal.org > http://lists.drupal.org/mailman/listinfo/themes > > > _______________________________________________ > themes mailing list > themes at drupal.org > http://lists.drupal.org/mailman/listinfo/themes > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/themes/attachments/20120530/7cda9790/attachment.html