Delete all data of a specific section - symphony-cms

I need to delete all the data in a specific section. Because I have several hundreds, I cannot manually delete them.
Also, I cannot delete the section and rebuilt because the section is tied to a third party sync tool.

In Symphony 2.3.3 :
Go to Blueprint -> Sections
Select the section that has your entries (highlight the row)
From the 'with selected...' drop down, selct 'delete entries'
Click on apply
This should delete all your entries for that section.

Related

Formatting readme.txt file for WordPress Plugin

I published a free plugin to WordPress repository and I could not format readme.txt file to display ordered list in the correct way, all the list items appears on the same line.
please check the description on this link:
https://wordpress.org/plugins/wp-cloaker/
I tried to separate the list items by comma as this article says
http://www.smashingmagazine.com/2011/11/improve-wordpress-plugins-readme-txt/
but it does not work
any help?
It's markdown...You need a blank line between your initial content and the ordered list:
Here are some Features of **WP Cloaker** plugin:
1. Hide, shorten your links.
2. Custom redirection type: 301,302,303,307 and Javascript redirection.
3. Categorize your links.
4. Custom permalinks e.g : www.yoursite.com/visit/link-category-slug/link-slug.
5. Track links clicks, each time a visitor click on any link, the plugin will store the visitor information like (IP address, click date/time, Country, etc..).
6. You can add third party tracking code.
As the file has currently been written, that blank line does not exist.

Permalinks have number suffixes

I am using WordPress, and I have created a contact page titled 'Contact'.
Now everytime I delete the page and add it again, it adds a number suffix to it:
http://myurl/ik/contact-2/, http://myurl/ik/contact-3/ etc
So I believe there must be already existing names in the DB that occupies the titles, so I cannot overwrite them...
How can I remove page names for pages that has been deleted?
I only want the permalink to show:
http://myurl/ik/contact/
but it does not allow it in the admin panel.
Go into Pages -> Trash. Remove the duplicate pages from the Trash section.

How to remove a web site from google analytics

I am Administrator of several web sites on google analytics.
Can i delete some of them?
If yes, how?
Many of you suggested me to remove my profile. So my doubts are:
1. I am administrator of several items. I want remove just some of them.
2. If I remove my profile I will lost all items?
Here's an updated answer, as of Sept. 2013. This took me awhile to figure out.
Go to the Admin tab.
In the middle column, select the web property that you want to delete from the dropdown.
In the right-hand column, click on "View Settings." ("Property Settings" in dec. 2015)
At the bottom of the next page, select "Delete this view."
It will warn you that you're about to delete all of the data associated with this property. If you're sure, confirm.
Done!
UPDATED ANSWER
Google Analytics Admin panel has 3 panels, wherein deleting can be done on any of the following :
Account (Contains multiple properties, and views)
Properties (Contains Views, a subset of Account)
Views (subset of properties)
Deleting an Account
Deleting the account, will remove all data pertaining to that account, along with all properties/profiles it contains. This is (usually) as good as removing the entire website data.
To delete the account, follow the following steps : (refer to image below)
Choose the account you want to delete.
Click on Account Settings
Bottom right, a small link that says delete this account.
You will get a confirmation, if you are sure to, click Delete Account
It will give you details, and will confirm deletion (and provide additional info like to remove GA snippet on your website, etc)
Note : If you have multiple accounts linked with your login, the other accounts are NOT touched, only this account will be deleted.
Deleting a property
Deleting a property will remove the selected property, and all the views it holds.
To delete a property, delete all views it contains individually (see below for deleting views)
Choose the property
All profiles related to that property appear on the right
Delete all the views related to the property individually (details in next section).
Deleting a View (profile)
Deleting a profile will remove only data pertaining to that view, if there is a single profile, the property is automatically deleted.
Choose the profile you want to delete
Click View Settings
Click on delete View (Bottom right)
Click Confirm, and that view will be deleted. If there is only a single view in the property, that property gets automatically deleted.
I want to keep the data, but not see them in the list
Sometimes you have a lot of websites, which you want to keep the data, but remove them from the list, since you don't view them often. I thought of a workaround, in case you do not want to delete the data.
Use another account.
Say, your primary account is A, and you make another account B.
Make B an administrator from A
Remove A
Since A was your primary account, you no longer will be able to access it from the list!
And you still have your data saved, just that you'll have to log in via the other (spare) account.
Previous Answer :
These are the steps to delete a profile from Google Support page :
Delete profiles
Remember, too, that when you delete a profile, you also delete all data associated with that profile, and it is not possible to retrieve that deleted data.
To delete a profile:
Click the Admin tab at the top right of any Analytics page.
Click the account that contains the profile you want to delete.
Click the web property from which you want to delete the profile.
Use the Profile menu to select the profile.
Click the Profile Settings tab.
Click Delete this profile at the bottom of the page.
Click Delete in the confirmation message.
Updated Answer (July 22, 2015)
The solution to delete an Account/Property/View is still very similar to #Pranav 웃's answer. Google has just moved a few things around, so I thought I would update.
Step #1
Click Admin Tab at the top of the page
Step #2
Once you are on the Admin Page, You need to decide if you want to delete the Account, Property, or View. Make sure to select the desired Account, Property, or View from the Drop Down Menu.
In the following pictures, I will show you how to delete the Account, which removes all information including Properties and Views under that particular account.
Click Account Settings to remove Account, Property Settings to remove Property, and View Settings to remove View.
Step #3
On Account Settings, you will notice a button 'Move to Trash Can'. You will click this to remove the Account, Property or View. You will have to verify Moving the Account to the Trash Can on the next page/picture.
Step #4
When you have verified this is the account you want to delete, go ahead and select 'Trash Account'.
Note: When you Trash an Account it moves all the information to Admin/Account/Trash Can, where it can be recovered within 1 month. Keep in mind that every Account has its own Trash Can. Once that time has lapsed the Account, Property or View will be deleted FOREVER!
Hope this helps someone in the future, since I just struggled trying to figure it out even though its pretty simple now.
To delete a web property, you simply need to delete every profile within the property. Once the last profile has been deleted, the web property with cease to exist in the GA account. That's all there is to it! -- Source
After Much Fannying about, deleting this that etc, I found the way to delete a "website" from your list (which is, in fact what the original question was - minus all the flaffing) is
Select the Account (Website) that you want to delete
In the first column (left hand one)
Click Account Settings
Down the bottom, it says Delete this account.
That's it… Done.
Remember: for this exercise only Account means Website.
You can also do in this way :
select your profile then go to admin => in admin second column "Property" select the site you want to remove => go to third column "view settings" clic => on the right bottom you ll see delete the view => confirm and it s done , have a nice day all
Feb 2016 version: Admin tab, then select Property in the middle column, click Property Settings, then the Move To Trash Can button at the top right. No need to delete individual views.
Update 26/03/2016:
Instead of a link in the bottom right corner of the Settings form, the delete button is moved to the top right corner, saying:
Move To Trash Can
When you click on it, it will ask you for confirmation and move it to Trash Can.
What the OP wants to do, is delete additional properties in his Google analytics.
Properties that are not his but belong to someone else.
Apparently, the only way to do this, is to contact the owner of that website who is the administrator, and asked them to remove you.
Or you can just create a new Google account, and add your properties to the new account.
None of these are real good solutions. Thank you Google for caring so much about SEO people.
To add insult to injury, if you go over 25 accounts, you must contact Google to get permission to add another.
Lesson learned: Do not add other peoples websites to your Google analytics account. Create a separate account so that if you have to start over, you don't lose any data from your websites. It's also good to have more than one Google analytics account.
AS of 2018
Login to your analytics account
Select the account/property you want to delete
Click the button. (left side bottom menu)
Click on property settings
To the right you will see Move To Trash Can Click on that
You will see the bellow screen. click on Delete Property button
or if you want to delete the account
follow the same steps, but this time click on the Accoutn Settings tab see below
Now Click on Move to Trash Can (button to the right)
when you see the next screen confirm to delete the account by clicking on the Trash Account button.
How to delete a website from google analytics

Creating list of similar nodes in Drupal 7/Views 3

Copy from drupal.stackexchange.com hoping to get more answers here:
I face a rather common problem of displaying a list of nodes similar to current one. Similar node is defined as one having at least one taxonomy term that current node has. There are few solutions available as modules, however the modules I've found (specifically Similar By Terms) are in beta stage (as in "not working properly") for Drupal 7.
I've also found a couple of solutions based on Views and contextual filters (such as http://scito.ch/content/show-related-nodes-block-based-taxonomy-terms-views-3-and-drupal-7) or relations. I quite like this way as it saves me installing extra modules and with Views being actively developed and supported I'd prefer to use them rather than any custom solution. The problem I can't get around is how to sort "similar nodes" by the number of terms they share. For example, if I have "IPhone 4S" Node with Terms "Gadget", "Apple", and "Phone", I want similar nodes in the following order:
IPhone 3 (Apple, Gadget, Phone)
IPad (Apple, Gadget, Tablet)
Mac (Apple, Computer)
Bramley (Apple, Fruit, Tree)
How can I sort nodes in this view by the number of terms they share?
This question is about building a view, please do not suggest module or custom php-based solutions. Thank you.
Create a block view
Add Contextual filter -> Content: Nid -> Provide default value -> Content ID from URL
Add Relationship -> Content: Taxonomy terms on node -> specify the appropriate vocabulary
Add Relationship -> Taxonomy term: Content using vocabulary as specified above -> Check off Require this relationship
Turn on Views aggregation (NOTE: the arrow in the screenshot below is pointing to the wrong spot and should be pointing to 2 rows below where it is)
Assuming you are listing title only, edit the title field to use the Relationship you set up in #4 above.
Add new sort criteria of Content: Nid. In aggregation settings, select Count. Use relationship from #4 and sort descending
Add Contextual filter -> Content: Nid -> Use relationship from #4 -> Provide default value - Content ID from URL -> Scroll down and expand "More" then check "Exclude" to remove current node from the view
** See comment by #garret-albright below for testing this in the Views UI preview. **
guess what - there are modules for that too :D
i can recommend similar by terms giving you that view without configuration hassle.
When you are configuring complex views like this one, there are some configuration tips that may help you to understand what is really going on each step:
In Structure >> Views >> Settings >> Basic:
Check 'Show advanced help warning' (important: requires Advanced Help module installed)
Check 'Automatically update preview on changes'
Check 'Show information and statistics about the view during live preview'
Check 'Show the SQL query'
and finally, Save configuration
Now you can preview the results from each configuration step, the SQL query associated and the fields and tables involved, so you will find easier to understand how filters and aggregations work.
Hope it helps.
This is an alternative solution, related to this question. However it might not apply to every case, but if you can use it it's simpler (and safer than aggregation in my opinion).
I am going to use panels. Once you create a panel to show your entity (node or anything else) you can add multiple views and show them beside the content. one of these views is going to be our related content.
Thus panels is the only limitation. Maybe it's possible to use mini-panels and represent it as a block, I haven't tried myself.
Prerequisites
Views (d'oh!)
Panels
Views Content Pane: no need to download, It is in ctools module downloaded with views.
Page manager: Same as Views Content Pane (Optional / Highly Recommended).
The view
Create your view as you normally would, but do not create it as a block or page. Uncheck both.
In views configuration page create a relation to taxonomy term on the entity.
Create a contextual filter to filter: Taxonomy term: Term ID.
Create another contextual filter: Entity ID or Content: Nid if it's a node.
While creating this one, at the bottom there is a collapsed fieldset which has the option: Exclude. Check it as marked.
Now by clicking Add create a new display of type Content pane.
In the display configuration area (named: Pane settings) open Argument input. You should have 2 options:
Content: Nid source : Set it's source as From context. Set it's Required context as Content ID (if you are not using node it can be ID.
Taxonomy term: Term ID source : Set it's source as From context. Set it's Required context as Term ID.
Congrats! You are done creating your view. It's time for a panel (I wont explain much about creating a panel as it is beyond the scope of this Q/A).
The Panel
Create a panel (or enable the node/%node default panel and add a variant).
In context tab, Create a relation to taxonomy term on the entity.
Click add content in one of panes.
If you didn't change the view's category, it's in views pane add it. It will ask for an Entity ID and Term ID both are available now in your panels context, set them.
Now when the panel is displayed, All the content with with the same term excluding the content on this page are displayed.
Views Configuration
Contextual filter
Argument input
Important P.S:
This method is tried and it works flawlessly, but at the time of writing this article ctools had a bug. There is a patch for it: https://www.drupal.org/node/2195211
I am not sure if I fully got the gist to your question but I think node queue is the answer. Check out http://drupal.org/project/nodequeue
The module is well developed. I have used it for a client and you can use their smartqueue api too make make your list.
Hope I was helpful.

Add Custom Field to Criteria in ATTopic

How do I add a field, say 'Contributors' in Archetype types, to be listed in Field name drop down menu? For example, in a fresh new Plone site, I can manage criteria at events/aggregator/criterion_edit_form. I want 'Contributors' and custom fields to be added as criteria.
BTW, I ever look into Products/ATContentTypes/tool/topic.py, it seems that I have to addIndex and make it 'enabled=True'. But how? Or do I go into wrong direction?
/marr/
You can go into Site Setup and go to the collections configuration(or just append /portal_atct/atct_manageTopicIndex onto the site url) and manage which which are allowed to be used in collections.
You'll have to click the "All fields" button to see everything available. The caveat is that the only fields available are those that are indexes in the portal_catalog. So for your case, you'll need to add a contributors index in the portal_catalog in order to have it available in the form here.

Resources