Google-DFP - can I use 2 copies in one page? - google-dfp

I'm managing some ad placements for some websites. Some of them already have DFP installed. I would like to use additional copy of DFP, for my own needs. Is there a way for 2 copies of DFP to run on the same page?

I just did a test... looks like it works.
You can have two different accounts Ad units on the same page.
http://coop182.github.io/jquery.dfp.js/dfptests/8.html

Related

Some doubts related to the backend users in Typo3 6.1.1

I am pretty new in Typo3 (I came from Joomla and WordPress) and reading the documentation I have some doubts related to the user manage the user in this CMS:
I am using Typo3 6.1.1 and reading here it seems to me that the user managment is quite different (maybe the documentation is related to an old version of the CMS?): http://docs.typo3.org/typo3cms/GettingStartedTutorial/EditAndCreatePagesAndContent/CreateUsersGroups/Index.html
In particular I am not understanding if in the 6.1.1 the backend user can ben divided in groups or if they simply are backend user because if I go into: ADMIN TOOLS ---> Backend User I can see the backend user but not the groups, why?
Tnx
Andrea
As you can see in mentioned doc, BE users can be divided by groups and easiest way for creating BE groups and next BE users is using WEB > List module.
Just using workflow showed at screen of this section you need to create records of both types (blue arrows) on the highest page (with id 0 - on screenshot it's called New TYPO3 site)
I'm not quite sure about the reason, but Backend User module doesn't allow to manage BE groups directly, however there's a tip (which is general for whole TYPO3) - you can create a BE group ad hoc - during the process of creating BE user by using additional icons in the form, take a look to screenshot below, the yellow pencil and black plus allows you to edit/create related records without canceling current edition.

How to allow Joomla users to create / update own list and have menu link to that list?

I have a Joomla site I am developing that centers around designer handbags of a particular label
(not my site, it's a client's). It is not an ecommerce site, more of a social site.
What I am looking to do is present the user with a list of handbag styles and patterns so that
they can mark which items they have and which items they need.
Then two sections of content would be generated - one listing what they have and one listing what
they need.
I would also need to be able to include a direct menu link to that page.
Any ideas would be appreciated!
Probably the best way to do that would be to extend either community builder or JomSocial. Both have the ability to have custom user profiles which would go a long way to creating what you are looking for. You may even be able to do everything you want within the basic structure of one of those extensions.

How to track 2 different google analytic profiles (main and test) under the same account and property name?

I am using google analytics event tracking to track 2 Facebook canvas application. (they are similar just that one is for production and another is for development). Since they are 2 separate canvas application, both have a different canvas url.
Below is how I setup google analytics:
Property Name : Sample
Main profile (production)
Test profile (development)
Both profiles have the same Tracking ID. How can I track them separately? Do I need to create filters? I am not sure but I might be setting this up wrongly. Do I need to create a separate property name instead?
Appreciate any advice.
Yes, you need to create two separate filters. One that includes pages from your production domain or url, and one for your development domain or url.
Go to
Admin > [all accounts if you have more than one account linked to your GA account] > accounts > [click on specified account] > Filters > New Filter
Filter 1: (development)
Name your filter something descriptive like "production".
If the (sub)domains for your dev vs. prod are different, from the radio buttons/dropdowns, pick
predefined > include only > that are equal to > "dev.yoursite.com" or whatever your dev (sub)domain is.
If the (sub)domains for dev vs prod are the same (but different directory path, pick
predefined > include only > traffic to the subdirectories > that starts with > "path/to/dev/"
highlight the dev profile and click the add button to bring it over to the selected profiles. Click "Save" and you are done with the "development" filter. Now wash rinse and repeat but for your production profile.
With this setup, only data specific to the (sub)domain or directory path will go to your profiles. NOTE: This is not retroactive, any data GA received before you created the filters (even if the data is still in queue and hasn't actually shown up in reports yet) will still show up in your profiles.
You may be better off creating a new Google Analytics tracking ID to separate live production and your dev.
Simply go into GAnalytics Admin, create a new property underneath your already existing Account. Now you will have a new Tracking ID, it should be similar to your original tracking ID, except the last -X digit has incremented.
Now you can track Dev Vs Production in separate properties. We found this very useful when thousands of production users flood the data. Also good when running load tests with thousands of users on Dev, so it doesn't skew your production metrics.
cheers!
z

joomla multiple site content distribution

I'm just starting to evaluate joomla CMS as a tool to build out my personal site. I'd like to manage multiple sites/domains with one copy of joomla on one host. so I'll own mysite.com and myothersite.com, which will both point to the same host/joomla code. If I do this I need to be able to set which domain/site the content I add shows up on. For some sites the content will be on both for others it will be on only one. What would be ideal it to have some kind of filtering mechanism so I don't have to manually set where the content goes.
What would be ideal is for me to set tags on the content and each site can specify which taged content to show.
My last requirement is that I be able to have different pages on each site.
Is this possible or am I asking too much from a "free" CMS?
Thanks all
I don't know if there's a component that achieves what you're describing here. I use a multi-language component in some of my sites that shows translations, but it doesn't "suppress" articles that doesn't have references to a translation: it just says "No translations to this article". I know you're not asking for translations methods, but I think the Joomfish way of selecting content based in a chosen language would be what you wanted, but not based in languages, just domains.
The only component I know it would be able to suppress articles based in pre defined parameters (in its case the language), is the Joomfish's "Table Localization Plugin", but you need to be a Joomfish silver member paying $60 to Joomfish's developers.
You could write a component(see here for plugin documentation), that analyzing the domain, would suppress articles that shouldn't appear in that specific domain. But I think it's going yo be a lot of work. You would learn a lot of Joomla's architecture, though.
How Joomla displays its content (output) is controlled entirely by parameters. So if you can control what parameters are loading, you can create multiple displays per host
However, that may be overkill in this case. You can just easily hack your template. Just make it load a different menu for siteA and siteB. (The host is set in $_SERVER['HTTP_HOST'])
The menu on siteA could have a tagging component item, set to display articles tagged siteA.com. The siteB will have the same for its domain.
While there are extensions that will do what you describe (http://extensions.joomla.org/extensions/core-enhancements/multiple-sites), Joomla is really designed for one site at a time. I've done setups where I use the same codebase for Joomla and manage it with version control, but I always end up launching multiple sites with individual databases.
However, I don't know of any CMS that inherently allows you to share articles across instances while keeping the data centralized. You may be looking at an extension (or your own customization) regardless of which platform you pick.
We had a similar problem with needing to share content across multiple Joomla! sites so we developed this extension: http://extensions.joomla.org/extension/simple-sharing
It is not very robust in terms of what it can share but it does let you share Articles across multiple sites and choose which sites and categories those articles get published into. I hope it works for you.
Thanks!

how to handle constantly changing ad template code for a site in version control

for a large project ive worked on (~310k uniq/day, large site, lots of templates, lots of content), we have to deal with the client selling several sections of the site (each with different layouts) for ad revenue. sometimes, its the top of the page for a 900x250, sometimes its a 952x200 under the nav, sometimes it requires a new div with custom styles. the ads are served through google's ad manager, and the ad buyers rarely (if ever) agree to customizing their implementation code for our site.
all of the code for this site is in a svn repo than we try to keep very tidy:
edit the templates "online" (on the production server) (such a bad idea)
make changes to local copy, push live (and risk later reverting back to old ad code and missing it/having to deal with it before going live. people miss things, dont pretend like you don't and say 'check harder'.)
neither of those options are particularly attractive. how do you guys do it?
Maybe you could consider taking the ad code out of your templates/source code and putting it into your database. I think of ads as more "content" for the site which can be managed by your code in the same way as other web site content. You can still set up the ads on a staging site, then copy/paste the relevant bits to your live site with this approach.
I think the best bet is to figure out how to divide the code up into smaller pieces to separate the changing code from the static code into different files.