ntegration with panels to create keywords and descriptions in your panel pages.

Panels Meta Sandbox page

Comments

dustin bons’s picture

Assigned: dustin bons » Unassigned
dustin bons’s picture

Priority: Normal » Critical
klausi’s picture

Priority: Critical » Normal
Status: Needs review » Postponed (maintainer needs more info)

what are the differences to modules like http://drupal.org/project/nodewords_pagetitle ? Have you considered joining forces with others on similar existing projects? Can you explain why this functionality has to live in a new module?

dustin bons’s picture

The difference is that this modules uses the benefits of panels as it is integrated in the page manager. Thereby you can use all given context for a panel in the Meta Description, Keywords and title.

klausi’s picture

Status: Postponed (maintainer needs more info) » Needs work
  • please document the difference to other modules on the project page, so that users can easily choose what they need.
  • README.txt is missing
  • info file: remove "version", this is added by drupal.org packaging automatically
  • only list files in the info file that contain classes or interfaces
  • "description" in the info file is too short.
  • module file: @file doc block missing, see http://drupal.org/node/1354#files
  • $new is not a good variable name. New what? $new_operation?
  • indentation errors, always use 2 spaces. Use coder to check your code style http://drupal.org/project/coder
dustin bons’s picture

The necessary changes have been made.

dustin bons’s picture

Status: Needs work » Needs review

Needs review

klausi’s picture

Status: Needs review » Needs work

project page was not updated with the differences to other modules.

dustin bons’s picture

Status: Needs work » Needs review

The necessary changes have been made.

rogical’s picture

I'm heavily using panels for most of pages, so this module would be very exciting.

Meta tag information should be more configurable with contexts.

dustin bons’s picture

Made some changes to also include/allow custom set contexts

damienmckenna’s picture

I'd still recommend you consider writing it as an add-on for the Metatag module as it includes a lot more meta tags and it would reduce *your* maintenance effort. Also Panels integration is in progress for that module already: #1151938: Panels integration - meta discussion

damienmckenna’s picture

Additional, you should not use the shortened "u" instead of the spelled out word "you".

damienmckenna’s picture

Sorry for reply #3, but I just wanted to say "well done" on writing the module, you've done a good job with it, it's just that many of us think it'd do better if it were merged with Metatag rather than as a stand-alone module for the reasons listed above. That said, you'd probably be able to get several of us to help with the effort if you'd like.

rogical’s picture

Agree, it's better to be involved in the metatag module.

However, thanks for the great work, I think you may consider to be a maintainer of metatag if you agree with this.

dustin bons’s picture

Thanks for the feedback. It would be great to see this module/functionality in the metatag module. Though I’m not quite sure if it should. The main request in #1151938: Panels integration - meta discussion is people who want to set metatags for custom pages.

Both the page manager and metatag module can handle the metatags for node pages. With the page manager/panels to override the current node/%node page you would get a problem with two different configuration pages to set the metatags, which eventually would lead to overridden metatags. This problem could be fixed with automatically filling of the meta tags in the page manager with the globals set by the metatag module for nodes, but because panels handles tokens differently (contexts substitutions) than the metatag module this would also lead to strange behaviour and probably wrong output of the metatags. And by using contexts instead of tokens you’ve a wider variety of possibilities to use in your meta tags than tokens, because of the easy configuration of adding contexts to the pages in the page manager.

Also by using the page manager as a content management system for clients (the main reason why I use this module), you have every important setting and configuration for a single page or dynamic page in one overview.

In my opinion using the page manager is a totally different approach than the standard Drupal method of adding pages to a website. Because of that I think these modules should not be merged.

Please let me know, if you have any other thoughts.

damienmckenna’s picture

@Dustin: There's definite overlap, using Page Manager to control meta tags would be an alternative to using the existing admin/config/search/metatags pages, and given the Page Manager functionality would only work if the module was enabled, I think they could sit together quite happily. I've pinged Dave Reid to give his input.

dave reid’s picture

Basically I'm not a heavy user or developer of Panels, so I'm just completely open to "what I need to do" to add support in the Metatag module, which is why #1151938: Panels integration - meta discussion has been sitting with nothing forever. I'd absolutely want Meta tags to work also if Panels is overriding the node/%node page as well, so again, I'm open to what I can do to help bridge the two together.

dustin bons’s picture

@DamienMcKenna, @Dave Reid It could work as an alternative. That means it would be necessary to enable a setting for users to determine which method they would want to use. Through admin/config/search/metatags or the page manager. This could be either a sub module in metatags (metatag_panels In metatag/modules/ ?) with a dependency of page manager or integrated in the metatags module. Also there needs to be some kind of transfer functionality to switch between both options.

Agree?

If you need me to maintain and develop this part of the module, I would be glad to do it.

damienmckenna’s picture

Title: Panels Meta » Merge Panels_Meta module
Project: Drupal.org security advisory coverage applications » Metatag
Version: » 7.x-1.x-dev
Component: module » User interface

I think we need to re-focus this ticket to discuss how best to merge the Panels_Meta module. Thanks for being so understanding, Dustin, now lets work out the best approach and make Metatag even better :-)

perignon’s picture

Component: User interface » Code
Priority: Normal » Major
Status: Needs review » Active

I'm going to throw my hat into this mix. I just need some direction on how to help. I have some vested interest in getting meta data into panels display. There still is some validity to meta tags in HTML tags and via empirical data I have seen how important it can be.

damienmckenna’s picture

Title: Merge Panels_Meta module » Panels integration - merge Panels Meta
dustin bons’s picture

Because there is still not a proper solution for integrating meta tags in panels. The current project Panels Meta should be applying for a full project Panels meta project

drupalsim91’s picture

how can I install it? I am limited to do the upgrade from Drupal 6 to Drupal 7 for the lack of this module.
please ...

dustin bons’s picture

Title: Panels integration - merge Panels Meta » Panels Meta
Project: Metatag » Drupal.org security advisory coverage applications
Version: 7.x-1.x-dev »
Component: Code » module

Because there is still not a proper solution for integrating meta tags in panels. The current project Panels Meta should be applying for a full project Panels meta project

dustin bons’s picture

Status: Active » Needs review
patrickd’s picture

Status: Needs review » Needs work

welcome back,

Your project page could still be more informative, as installation and usage instructions are quite important for us to review, please take a moment to make your project page follow the tips for a great project page. Your readme is not very useful (seriously), please make sure your README.txt follows the guidelines for in-project documentation.

while (list($key, $value) = each($operations['children'])) {
IMHO
foreach ($operations['children'] as $key => $value) {
Is a thousand times easier to read
Then you also don't have to reset($operations['children'])

Generally, I don't get the sense of these lines:

  while (list($key, $value) = each($operations['children'])) {
    $operation[$key] = $value;
    [...]
  }
  $operations['children'] = $operation;

Your iterating through the array, building a copy of the same array and then putting the copy of the array into the original one - ??

'noindex' => t('noindex'),
'nofollow' => t('nofollow'),
'noarchive' => t('noarchive'),

I don't think it makes sense to translate such machine name like strings. what about 'noindex' => t('No index (noindex)'),? or just don't translate.

t('@identifier: @title', array('@title' => $title, '@identifier' => $context->identifier)),
also this string makes not much sense to be translatable; format_string would be the better choice here

Your still calling the reader U instead of You

Make sure all your comments end with . ? or !

An automated review of your project has found some issues with your code; As coding standards make sure projects are coded in a consistent style we please you to have a look at the report and try to fix them. Anyway, note that issues found are possibly false positives and fixing all issues is not a requirement for getting through the application process.
Results: http://ventral.org/pareview/httpgitdrupalorgsandboxdustin1210648git

We do really need more hands in the application queue and highly recommend to get a review bonus so we can come back to your application sooner.

regards

klausi’s picture

Status: Needs work » Closed (won't fix)

Closing due to lack of activity. Feel free to reopen if you are still working on this application.

kingfisher64’s picture

Status: Closed (won't fix) » Needs work

Have you given any thought to #27 Dustin Bons? - to get this released as a full project?

klausi’s picture

Status: Needs work » Closed (won't fix)

Closing due to lack of activity. Feel free to reopen if you are still working on this application.

If you reopen this please keep in mind that we are currently quite busy with all the project applications and I can only review projects with a review bonus. Please help me reviewing and I'll take a look at your project right away :-)

rogical’s picture

Another similar module: http://drupal.org/project/metatag_panels Meta tags: Panels