Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am banging my head against wall for days, what is with this module that you dont have this option?
Everybody would probably want to display some text or html code in the popup??
Or is there a way to do this?
I would like to have only few paragraphs of text and image displayed in overlay, without the top menu, links, sidebars....
is this possible ????
Comments
Comment #1
miteshmapHi,
When you are using overlay. it will be considered as admin pages so, normal menu, sidebar used for frontend will not be displayed.
There are some available modules by using those modules you can display content in the overlay.
http://drupal.org/project/overlay_paths
http://drupal.org/project/ctools_automodal
Comment #2
thaistore CreditAttribution: thaistore commentedi checked both modules no documentation how to do it for god sake
Comment #3
miteshmapFor overlay_path you can use
and for ctools_automodal as given on the module page
just add
'modal' => true
at the end of the item declarationComment #4
thaistore CreditAttribution: thaistore commentedok I want to use overlay paths
where exactly to put this code?
And how to make a link and embed text in the overlay?
DO I have to embed node or am I able to embed like a cluster of html with text and few images?
Can you show me exactly how to use make a link?
Comment #5
miteshmapIf you have a particular node then you just need to create a custom module. or if you have any custom module you can use that. then just need to define the path as i mentioned.
Comment #6
thaistore CreditAttribution: thaistore commentedso i can create new module and delete the code and replace it with this code? Do you perhaps know which module i can use and strip out the code? Or just add this code to any module I have enabled?
for each node that i want it to pop up?
So everytime i link to node/5 it will open in overlay?
I need to make same code for each node right? Or can I use it like this?
Is that correct?
Comment #7
miteshmapNo for your code you need to use this code.
Comment #8
thaistore CreditAttribution: thaistore commentedcan i just attach this code to any other module? will it work?
if not what is the easiest way to create module
Comment #9
miteshmapyes can attache this code to any module but just remember to replace "modulename" to original modulename...
Comment #10
lsolesen CreditAttribution: lsolesen commentedMarking as fixed as there is an accepted answer.