Support

Account

Forum Replies Created

  • Yes you are correct. The main blog is what is setting the title of the promo and is what is showing on each sites options page. This is what tells the location the name of the promo, for example, Mothers Day Promo. There may be two additional that are called Buy One Get One, One Free Week. When a location selects that option, two new fields will show that allow them to enter a unique title to be shown on the front end of their page and the other field might be for a link to add their unique booking link. Does that help?

    The code I gave has worked in the past because we just needed to output a template that was hardcoded based on a selection of the checkbox. Now we need to allow a couple of fields to go with those selections.

  • John

    Yes I have the front end display taken care of. We use the code I have for other items. What is unique with this option, is added in two additional text fields with it. Those arent pulling from blog_id one.

    So your saying to use the code I have and then add a condition after the restore blog that outputs the two new fields if it is checked? I need those two new fields to have updated field_id’s for each option. So if we have 3 promos, I will have a total of 6 text fields, two for each available post from blog id 1.

  • The code I have is above. It is what we are using to pull the post from blog_id and have it output on the options page. I attached a screen shot. In the screen shot, you can see the option to toggle it on. Which is fine but we also need two text fields to show next to it that a location can add their own text that is tied to that selected option from blog_id 1.

Viewing 3 posts - 1 through 3 (of 3 total)