Topic: Repeating Regions

To repeat a region you should manually edit the code on your web pages to enable repeat regions.

Find class="edit" and replace with class="edit-repeat"

When you go to the "Edit content" tab you'll now see this button:
http://www.simplecms.com/forumimages/repeat_regions.gif


The first icon edits the content.
The second icon, the plus, will duplicate the area.
The third icon, the minus, will remove the area.

--
Short URL http://smplc.ms/repeatregions

Re: Repeating Regions

Here's a quick example:

<div class="edit-repeat">
    <h2>News article 1</h2>
    <p>Short introduction to this news article... <a href="/news-article-1.html">Read more</a></p>
</div>

In SimpleCMS this area will be repeatable so you could create your next news story.

Re: Repeating Regions

I am experiencing a bit of a bug with a repeatable region. When I choose to repeat, the system tells me that I have duplicated id's. Is this an error on my part, should I not use id's with simple?

Re: Repeating Regions

We're working on this at the moment. It is best if you don't have IDs within repeatable areas as those IDs are then repeated which causes the error.

If the duplicate ID is a SimpleCMS ID (e.g. like n1, n2, etc) then the duplicate ID will be cleaned up when the page is saved. So you may find the repeat regions work for you if you repeat one area, publish your changes and then edit the new area. Once we've finished working on this bug you will be able to edit seemlessly.

Re: Repeating Regions

Have you managed to fix this issue with repeating regions?

I cant edit due to your added IDs (n1, n2, etc...)

Many thanks

Re: Repeating Regions

This issue has now been resolved. Please let us know if you experience any problems.

Re: Repeating Regions

Hi I am using a free copy at the moment for testing purposes but I am thinking of switching over from cushycms for my clients. I am experiencing a problem with repeatable regions. In the cms editior looks like it all works amazingly better than I expected but when i click publish and open in a browser It doesn't show. Yes I am clearing history. Please advise may be something I am doing wrong

Thanks in advance

I have just figured out the problem, it may be a limitation I am not sure. I had a edit-repeat on the container div then an edit on the image inside as I wanted it to be editable with your image upload function. Is this a limitation or a bug thanks again.

Last edited by riesy (18 Jan 2012 22:18:51)

Re: Repeating Regions

Hi Riesy, sorry for the delay in getting back to you. Which page are you having problems with? I've made some changes (and undone them) on the home and charity pages, all seemed ok to me. Feel free to email the information to us.

Re: Repeating Regions

I could not get this to work on my site. I change the class to edit-repeat as per Simon's example and it removed the editing functionality completely. So I went to define areas again and retagged the area and it results in this:

(Removed non-relevant content from tags)

            <div class="edit-repeat cushycms" id="n0">
            
                <div class="content_left">
                    <div class="pic">
                        <a><img /></a>
                    </div>     
                </div>
            
                <div class="content_right">

                    <h1></h1>
                    
                    <p></p>
                    
                </div>
                
            </div>

I can edit it again, but still cannot repeat the region (do not see the +/- icons.

Re: Repeating Regions

Hi Scott, I believe you are using the "cushycms" class name so you will need to use cushycms-repeat instead of edit-repeat.

Re: Repeating Regions

Worked splendidly, thanks!
Might want to edit some posts to document this (or release the new version ;) haha)

Re: Repeating Regions

.       ,  -    -         
http://liftekbr.wordpress.com
   . .
   . 

https://liftek32br.wordpress.com/2018/0 … %b3%d0%b5/

Re: Repeating Regions

Asked if he would have liked to have gotten the ball back at the end of the half, receiver Keenan Allen said: "I don't know. It's the coach's decision."
Coach Todd Bowles said the early decision Cheap Football Jerseys on Cumberland, who was hurt against the Eagles, was based on the fact the Jets are leaving Thursday night for a long flight to London so it wouldn't make sense to have him travel while recovering from the concussion.
MANKATO, Minn. (AP) 锟?The strategy and style of Minnesota's coaching staff under Mike Zimmer is no Wholesale Authentic Jerseys longer new.
9. COLTS 41, TITANS 17, Sept. 28, 2014: Wayne Authentic NFL Jerseys Wholesale re-emerged with a spectacular, spinning 28-yard TD catch, Luck threw for 393 yards and the Colts evened their record at 2-2 with another rout. Wayne had seven catches for 119 yards, the 43rd and final 100-yard game of his Indy career. The Colts kept the ball for more than 42 minutes after Charlie Whitehurst replaced the injured Jake Locker as Tennessee's starting quarterback.
Last fall, Lesniak, a Democrat, publicly called for Michael Shipp to recuse himself from the case due to his brother's connection to the NFL, which included a minority coaching fellowship with the Arizona Cardinals. The NFL, the NHL, the NBA, Major League Baseball and the NCAA sued New Jersey in 2012 to stop the state from cheap nfl jerseys online allowing sports betting.
The advisory group was under the impression that Fabiani plans to Cheap NFL Jerseys tell NFL owners meeting in Phoenix this week that the Chargers have figured out what the nine-member panel will include in the financing plan.

Re: Repeating Regions

NOTES: QB Andrew Luck (right Cheap NFL Jerseys Authentic shoulder), TE Dwayne Allen (left ankle) and OLB Trent Cole (knee) were all limited at Thursday's practice. ... RB Tyler Varga (concussion) missed practice for the second straight day. ... The Colts promoted RB Zurlon Tipton from the practice squad to the active roster, waived DE Earl Okine, and reached an injury settlement with CB Sheldon Price, which takes Price Wholesale Jerseys USA off the injured reserve list.
FLOWERY BRANCH, Ga. (AP) 锟?Atlanta Falcons receiver Julio Jones says he'll be ready to go Sunday against the New York Giants after sitting out two practices with a sore hamstring.
New England lost LeGarrette Blount, Dane Fletcher, Brandon Spikes and Aqib Talib in 2014 Wholesale Jerseys free agency, while adding Brandon Browner and Brandon LaFell. Blount returned to the Patriots after being cut by Pittsburgh.
Winston led the Bucs past New Orleans for his first NFL victory two weeks ago. He played relatively well last Sunday in Cheap Football Jerseys a 19-9 loss to Houston that prevented Tampa Bay from NFL Jerseys Supply climbing over .500 at any point in a season for the first time in nearly three years.
On Saturday, the Panthers (7-8-1) are seeking to get even when they host the Cardinals (11-5) in a NFL Jerseys Supply wild-card game.
He revamped a mistake-filled roster from top to bottom. He jettisoned some players he probably should have kept. He brought in some Cheap NFL Jerseys guys he probably should have avoided.

Re: Repeating Regions

Tomsula said he and the Cheap NFL Jerseys Stitched coaching staff see no evidence of Kaepernick's confidence waning.
"I want to continue to improve and go out and not care, not worry about what anybody else Wholesale Jerseys Free Shipping is saying. There was a time I was talked about every single day on every station around Wholesale NFL Jerseys the Cheap NFL Jerseys Stitched entire country.
Having Burnett back for Sunday night's game against the Seattle Seahawks and running back Marshawn Lynch would be a boost for Cheap Jerseys Free Shipping a defense that allowed the Bears' Matt Forte to rush for 141 Cheap NFL Jerseys China yards and a touchdown on 24 carries.
鈥擨ndicated there will be more Wholesale Jerseys Jerseys NFL Wholesale regular-season games played at international venues.
As the man just about everyone refers to as RG3 prepares NFL Jerseys China Online for his fourth year Cheap Jerseys China in the league, there are plenty of questions to ask.
Representatives of each organization were asked to demonstrate how a grant would strengthen their commitment to fostering a smarter game. From youth Wholesale NFL Jerseys clubs just mastering the basics of the sport to semi-pro teams, the presentations were impressive, said Allison MacGregor, director of brand strategy and marketing for Riddell.