I used to use deanos block tools to do this but no longer updated,
is there a quick / easy way to do this in 7.3? (other than via sql...
I used to use deanos block tools to do this but no longer updated, is there a quick / easy way to do this in 7.3? (other than via sql... |
To add to builder - run:
http://www.example.com/administration/pageBuilder.php?action_sys=addCodeBlock
To remove from builder - run:
http://www.example.com/administration/pageBuilder.php?action_sys=removeCodeBlock BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
Thanks! simple...! |
Yea. As of dolphin 7.3, none of my modules that have php block functions in them are needed anymore. (Well at least for the php blocks). Dolphin now has the block built in. Needs to be activated tho. https://www.deanbassett.com |
Was this advertised anywhere? That this function is available on activation for 7.3? If so I missed it...!
|
Was this advertised anywhere? That this function is available on activation for 7.3? If so I missed it...!
Not that I'm aware of. I only know about it because I follow GitHub. I'm guessing it's hidden so only people who should be messing with it can. BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
none of my modules that have php block functions in them are needed anymore
I am not sure about this; Boonex way of assign design box number sucks in my opinion. I liked the way you had it in your Block Tools module. Of course I could probably hack the Dolphin code.... Geeks, making the world a better place |
Lots of people would be happy if Deanos Tools would be upgraded ... |
Hey guys, gotta admit the PHP Block is a great addition. One thing though, why is it you can't mix html and PHP together? You know, like on a regular PHP page.
It's great if coding 100% PHP? But what about when you have some HTML you need to throw in there with it, say for a form or something. I can't see how you can mix any HTML with it?
Anyone run into this? DivineArc |
To add HTML, we need to use a heredoc. It looks like this for example:
$html=<<<HTML <h1>Hello World</h1> <h3>Hello Again...</h3> <p>Well, hello there :D</p> HTML; echo $html;
Anything between the start of the html definition will render as html. There is a caveat that I point out in a tutorial video I made about this. Do not add space where the heredoc is defined. Here's the video for reference https://youtu.be/CJNpIzyDBBc Updating my BoonexNerd.net site. |
Hey J,
Great info! I don't know how you figured out about the space thing, but I'm sure glad somebody did. With this new info, I think I'll be able able to get all my code to take.
...let you know how it comes out. Thanks a Mill DivineArc |
Hey J,
Sweeeeeet... Works like a well-oiled machine now. I owe ya, maybe I can help out the next aspiring DolpDev. DivineArc |