Developing (v7+)

Parse error in syntax when I upload a package

Hello - I have had a package that I was working on - work perfectly until I uploaded it now it throws a parse error; Parse error: syntax error, unexpected '[' in /home/socctron/public_html/packages/predictions/models/teams.php on line 15 model -…

creating cropped thumbnails in gallery

I'm trying to get thumbnails in a gallery to all conform to the same size using the imageHelper, but I can't see where I'm going wrong: [code] [/code] Can anyone give me any pointers as this is becoming really frustrating... If I change the cod…

View.js get block ID

Hi, Im trying to make this. view.php [code] > [/code] and then view.js [code] /* Every time the window is scrolled ... */ $(window).scroll( function(){ var $bID = $obj->getBlockID(); var $showslow = ".show-slow-" + $bI…

No Edit button

I had a block suddenly go wonky. I want to edit the page and get rid of it, but my top bar is not showing, (likely something to do with the misbehaving block), so I can't delete the offending block. Is there any other way to get into edit mode? Thank y…

Options for displaying blocks in composer

Hey, I've tried to search for this but couldnt find anything. Question: In my blog posts I want the user to be able to use either an embed video block or a slideshow, but never both. Is it possible to let the user chose between 2 blocks, and only disp…

bootstrap toggle navigation.

hello forum i finally got my rather primitive theme with bootstrap 3 to work. but for some reason my toggle icon in the upper right corner does not behave normally. it doesn't highlight properly and does not toggle my main navigation. i tried many thi…

Deleted addons still showing.

I have recently had to manually delete an early version of Tweetcrete that was causing a problem. It is not showing up in the block types anymore which is good. What is not good is that it is showing up in the Install page, twice in fact, the early versio…

Front-end upload attribute

Hi guys, I've a certain user group with user profiles that doesn't have access to dashboard. I want them to upload files, such as a logo. What would be the best approach? I've thought of this: - Create a file set for each user - Set custom per…

Removing a Block Upon Package Upgrade

One of my theme packages will have a new version that will require getting rid of a block from a previous version. Below is the code that I have in my package controller for the upgrade: [code] public function upgrade() { parent::upgrade(); …

Filter Posts